A
Andrew Murray
Using Frontpage 2002......viewing site in IE 6.0
I have my index page, which is actually a template for output from a cgi script
(delivers news articles to the index.htm page).
Problem is the links on the lefthand side have dhtml rollover effects applied -
blue 'background' for each link on the mouseover action.
This particular file is missing the dhtml effect.
Page is here: http://members.iinet.net.au/~admurray/cgi-bin/csvnews.pl
csvnews.pl generates the news-article content from a flat-text (CSV) file.....try
the hyperlinks on the left they should be not-underlined in the first instance,
then on mouseover, the stylesheet I have makes them underlined with the mouseover
action, but they should also have the blue-bar background for each.
check this page for what I mean http://members.iinet.net.au/~admurray/main.htm
I figured it is because the perl script is running from cgi-bin, but the template
file is in my home (public_html) directory, but it behaves as if cgi-bin (where
the perl script is) is the current directory, and I need to point to the
'animate.js' (which does the rollover effects) which lies in public_html.
How can I make the rollover effects work in the same manner as the rest of the
site - copy the js file to cgi-bin, so it is there for the page to reference to
it?
the code fragment for the js file is
<script language="JavaScript1.2" fptype="dynamicanimation" src="animate.js">
normally if I had a file for instance two-directories in from the public_html,
the src= would be src=../../animate.js" or similar, which tells it to backstep
two directories to where the animate.js is located.
With the index.htm and the perl script, it doesn't seem to want to do this. In
HTML view, I tried to change it to ../animate.js but FP changes it back to just
"animate.js" because technically, index.htm is actually in public_html, but when
the news content is generated in the index.htm, it screws up the rollovers for
some reason? I have the same problem with things like images and so - the
relative paths get mixed up and it thinks they are located in a directory off the
cgi-bin like cgi-bin/images/etc rather than public_html/images......
Basically it can't run the function "dynamicanimation();" because it can't locate
the external javascript file.
The other thing is it doesn't even bring up errors about 'source not found' or
anything like that,it just ignores it as if it weren't there.
Any suggestions? Thanks in advance....
I have my index page, which is actually a template for output from a cgi script
(delivers news articles to the index.htm page).
Problem is the links on the lefthand side have dhtml rollover effects applied -
blue 'background' for each link on the mouseover action.
This particular file is missing the dhtml effect.
Page is here: http://members.iinet.net.au/~admurray/cgi-bin/csvnews.pl
csvnews.pl generates the news-article content from a flat-text (CSV) file.....try
the hyperlinks on the left they should be not-underlined in the first instance,
then on mouseover, the stylesheet I have makes them underlined with the mouseover
action, but they should also have the blue-bar background for each.
check this page for what I mean http://members.iinet.net.au/~admurray/main.htm
I figured it is because the perl script is running from cgi-bin, but the template
file is in my home (public_html) directory, but it behaves as if cgi-bin (where
the perl script is) is the current directory, and I need to point to the
'animate.js' (which does the rollover effects) which lies in public_html.
How can I make the rollover effects work in the same manner as the rest of the
site - copy the js file to cgi-bin, so it is there for the page to reference to
it?
the code fragment for the js file is
<script language="JavaScript1.2" fptype="dynamicanimation" src="animate.js">
normally if I had a file for instance two-directories in from the public_html,
the src= would be src=../../animate.js" or similar, which tells it to backstep
two directories to where the animate.js is located.
With the index.htm and the perl script, it doesn't seem to want to do this. In
HTML view, I tried to change it to ../animate.js but FP changes it back to just
"animate.js" because technically, index.htm is actually in public_html, but when
the news content is generated in the index.htm, it screws up the rollovers for
some reason? I have the same problem with things like images and so - the
relative paths get mixed up and it thinks they are located in a directory off the
cgi-bin like cgi-bin/images/etc rather than public_html/images......
Basically it can't run the function "dynamicanimation();" because it can't locate
the external javascript file.
The other thing is it doesn't even bring up errors about 'source not found' or
anything like that,it just ignores it as if it weren't there.
Any suggestions? Thanks in advance....