Home  |  Linux  | Mysql  | PHP  | XML
From:Adam Jimerson Date:Sat May 23 18: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: [PHP] php selecting multiple stylesheets
Re: Showing errors with user input
TFS and PB 11.2 performance issues
RE: [PHP-WIN] What about php 5.3 and printers or PHP_PRINTER.DLL ?
Re: Ghostscript Pinter installation and the "not passed windows logo testing" message


  
© No Copyright
You are free to use Anything
Site Maintained by Zareef Ahmed
Powered By PHP Consultants