Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

I have created the following web si

Status
Not open for further replies.

terrydoughty

Technical User
Aug 31, 2000
145
GB
I have created the following web site which loads fine on Internet Explorer BUT causes an error when using Netscape Navigator -

I think it may be the Index that is causing the problem - - probably something to do with the rollover buttons.

Has anyone any ideas?

Thanks

Terry [sig][/sig]
 
The message says....

The programme has performed an illegal action and will be closed down

and then closes Netscape Navigator.

Have you tried it using Navigator? [sig][/sig]
 
No, I do not have netscape on this computer but an error like that usually means the javascript that you use is not able to be viewed by netscape such as not compatible with NN. what on your page is javascript? Then we will see if we can update the scripting or find another script that performs the same things. [sig][/sig]
 
I think fishin4snook is correct. I viewed the page in NN and noticed the problem.

Are these graphics just simple rollovers? If so Front Page, like many other WYSIWYG editors, has added a great deal of unnecssary code to your page. Here's a more efficient way to do it:

**PLEASE NOTE: I wasn't sure the titles of the rollover versions of images so I simply added a "_over" to the end of the titles. You will have to change those names to the appropriate title.

Also, make sure the ALL the code within the <A HREF> tags in on one line. Otherwise the script will not work. Also, I eliminated the &quot;lowsrc&quot; versions within your <IMG> tags. These buttons are very small as is and a lowsrc isn't really necessary.

Hope this helps. Good Luck.

Cullen Cox
cullenc3@aol.com
Graphic Artist/Web Designer.

<html><head><title>New Page 3</title>

<base target=&quot;main&quot;>

<script language=&quot;JavaScript&quot;>
//This preloads the rollover images

alt01 = new Image();
alt01 src = &quot;prodbut_over.gif&quot;;

alt02 = new Image();
alt02 src = &quot;about_over.gif&quot;;

alt03 = new Image();
alt03 src = &quot;infobut_over.gif&quot;;

alt04 = new Image();
alt04 src = &quot;newsbut_over.gif&quot;;

alt05 = new Image();
alt05 src = &quot;contbut_over.gif&quot;;

</script>

</head>

<body bgcolor=&quot;#000066&quot;>

<table border=&quot;0&quot; cellspacing=&quot;1&quot; width=&quot;100%&quot; align=&quot;center&quot;>
<tr>
<td width=&quot;100%&quot;>
<a href=&quot;mscont2.htm&quot; target=&quot;_self&quot; onMouseOver=&quot;document.pic1.src='prodbutplain_over.gif'&quot; onMouseOut=&quot;document.pic1.src='prodbutplain.gif'&quot;>
<img name=&quot;pic1&quot; border=&quot;0&quot; src=&quot;prodbutplain.gif&quot; width=&quot;124&quot; height=&quot;16&quot;></a></td>
</tr>
<tr>
<td width=&quot;100%&quot;>
<a href=&quot;about.htm&quot; onMouseOver=&quot;document.pic2.src='about_over.gif'&quot; onMouseOut=&quot;document.pic2.src='aboutplain.gif'&quot;>
<img border=&quot;0&quot; src=&quot;aboutplain.gif&quot; name=&quot;pic2&quot; width=&quot;124&quot; height=&quot;16&quot;></a></td>
</tr>
<tr>
<td width=&quot;100%&quot;>
<a href=&quot;inform.htm&quot; onMouseOver=&quot;document.pic3.src='infobut_over.gif'&quot; onMouseOut=&quot;document.pic3.src='infobutplain.gif'&quot;>
<img border=&quot;0&quot; src=&quot;infobutplain.gif&quot; name=&quot;pic3&quot; width=&quot;124&quot; height=&quot;16&quot;></a></td>
</tr>
<tr>
<td width=&quot;100%&quot;>
<a href=&quot;new.htm&quot; onMouseOver=&quot;document.pic4.src='newsbut_over.gif'&quot; onMouseOut=&quot;document.pic4.src='prodbutplain.gif'&quot;>
<img border=&quot;0&quot; src=&quot;newsbutplain.gif&quot; name=&quot;pic4&quot; width=&quot;124&quot; height=&quot;16&quot;></a></td>
</tr>
<tr>
<td width=&quot;100%&quot;>
<a href=&quot;contacts.htm&quot; onMouseOver=&quot;document.pic5.src='contbut_over.gif'&quot; onMouseOut=&quot;document.pic5.src='contbutplain.gif'&quot;>
<img border=&quot;0&quot; src=&quot;contbutplain.gif&quot; name=&quot;pic5&quot; width=&quot;124&quot; height=&quot;16&quot;></a></td>
</tr>
</table>

</body>
</html>
[sig][/sig]
 
Go with Cullen's idea on the javascript and yes FP does add a great deal of nonsense to your page.

Fishin4snook. [sig][/sig]
 
I have had the same problem as you before, with NN closing down with same error. It is something to do with the code(obvious!! Doh!!) I'll try and remember what it was, and post you here...
[sig]<p>Chris MacPherson<br><a href=mailto:thedamager@hotmail.com>thedamager@hotmail.com</a><br><a href= on the new Browza's!!<br>
Learn/t/ing D\HTML, Javascript, Java, VB5-6, COBOL, Pascal[/sig]
 
The are options in FP that you can tell it to work with IE and Netscape.

I was able to open the page in Netscape, but all the little red dots were jiggling.

Is there anything else on the page beside the menu in the upper left corner? [sig][/sig]
 
The little red dots are the rollover mouseover image - Have a look at the source code on the mscont1.htm which will show you what is on that page which is causing teh problem.

Thanks for all the replies - I will be looking into them over the weekend

Terry [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top