Home  |  Linux  | Mysql  | PHP  | XML
From:Adam Jimerson Date:Sat May 23 22:50:01 2009
Subject:Re: Web photo album, is this possible in CGI
It seems that my posts haven't been making it to the list, or have been
moderated for some reason. I would like to thank everyone for their
replies to my question I have have a starting place up and running. One
question that is bugging me now is how to link to an external javascript
file in the html header of the script? The page is here
http://vendion.net/cgi-bin/photoviewer.cgi but as you can see I have the
javascript directly in my page

print start_html(-title=>"Photo Viewer v$version",
-author=>'vendion@vendion.net',
-meta=>{'copyright'=>'copyright 2009 Adam Jimerson'},
-style=>{'src'=>'/default.css'},
-script=>$jscript);

To get the javascript in the $jscript variable I am currently using a
here doc statement. I'm sure due to the length of my javascript code it
is slowing down my page being made. If linking to the code in the
header is possible then I'm sure it would be better than what I have now.
Navigate in group perl.beginners.cgi at sever nntp.perl.org
Previous Next


Your recent visits
Re: Auto detect timezone



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants