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=>'vend...@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.

--
To unsubscribe, e-mail: beginners-cgi-unsubscr...@perl.org
For additional commands, e-mail: beginners-cgi-h...@perl.org
http://learn.perl.org/


Reply via email to