|
| |
|
|
woodymsu
Posts: 22 From: Grand haven MI grand haven, MI, USA Status: offline
|
mouseovers and shared borders??? Help - 3/6/2002 10:26:24
I am getting an "error on page" showing up on the bottom of my browser, when I use the mouseovers on my website: (all but home page) http://www.colorchoiceplants.com/ It does not appear to cause any serious problems, althought the mouseovers only work on my index page and not on the rest of the shared borders. Still I would like to clean up the problem and for the mouseovers to work on all the pages. I used a program called Bannermaker4 to create the gifs and to build the mouseover code. The code it generated is listed below. As per the instructions (also listed below) I put part of the code in the HEAD section and part in the BODY section. ( I did this on the index page in the shared border area) The gifs/links were inserted on the index page and are located in the shared border at the top of the paage. <!-- Add this code to the <HEAD> </HEAD> section. --> <script LANGUAGE="JavaScript"> Image1 = new Image(); Image1.src = 'http://www.colorchoiceplants.com//images/ABOUTnoarrow.gif'; Image2 = new Image(); Image2.src = 'http://www.colorchoiceplants.com//images/ABOUTwtarrow.gif'; Image3 = new Image(); Image3.src = 'http://www.colorchoiceplants.com//images/ABOUTnoarrow.gif'; function changeimage(imagenum,newfilename) { document.images[imagenum].src=newfilename; } </script> <!-- End of header section --> <!-- Add this code to the <BODY> </BODY> section. --> <A HREF="http://www.colorchoiceplants.com/" onMouseOver="changeimage('aa763','http://www.colorchoiceplants.com//images/ABOUTwtarrow.gif');" onMouseOut="changeimage('aa763','http://www.colorchoiceplants.com//images/ABOUTnoarrow.gif');" onClick="changeimage('aa763','http://www.colorchoiceplants.com//images/ABOUTnoarrow.gif');" ><IMG src="http://www.colorchoiceplants.com//images/ABOUTnoarrow.gif" name=aa763 border="0"></A> <!-- End of body section --> Program Help says: After everything has been entered, click on Create Mouse-Over Code. The Java Script will be copied to the field under the button. Once the code is there you can then copy it to the web page editor that you use to create the mouse over effects. One section goes in the <HEAD>...</HEAD> section and the other section goes into the <BODY>...</BODY> section. Make sure that the code is copied to the right area or the effect wont work. Any advice? Thanks - Tim
|
|
|
|
woodymsu
Posts: 22 From: Grand haven MI grand haven, MI, USA Status: offline
|
RE: mouseovers and shared borders??? Help - 3/6/2002 11:35:27
Sorry to waste your time if you read this but I discovered the problem. I read the outfront article on shared boarders and learned that I must put the header java script on all my pages. Man I love this site. Thank you to all who contribute! Tim
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|