Roger Sherwin
21.06.2001, 20:45
Hi
I am using the page scroll text script in my page and have come up with a problem.
I have a page at http://www.beacon77.freeserve.co.uk/spider/usaclubs.htm whick I have been working on
The script works perfectly as it was - loading external pages from the five links
what I need to do is change the links for a select drop down box and can't get it to work calling a function
the link is Alaska (#)
when I use <option value="javascript:frame.loadpage('clubfiles/usaclubs/alaska.htm'); return false">Alaska
I get an error message "return outside of function"
Could you please advise of the correct syntax to use if it is possible to use this script in this way
Thanks in advance
Roger Sherwin
URL=http://corvette-online.net
Mail=roger@beacon77.freeserve.co.uk
I am using the page scroll text script in my page and have come up with a problem.
I have a page at http://www.beacon77.freeserve.co.uk/spider/usaclubs.htm whick I have been working on
The script works perfectly as it was - loading external pages from the five links
what I need to do is change the links for a select drop down box and can't get it to work calling a function
the link is Alaska (#)
when I use <option value="javascript:frame.loadpage('clubfiles/usaclubs/alaska.htm'); return false">Alaska
I get an error message "return outside of function"
Could you please advise of the correct syntax to use if it is possible to use this script in this way
Thanks in advance
Roger Sherwin
URL=http://corvette-online.net
Mail=roger@beacon77.freeserve.co.uk