Link to home
Start Free TrialLog in
Avatar of cfoster
cfoster

asked on

IE vs Netscape "MIssing ; before statement"

I am stumped.  I have a control that works fine Under IE... but blows Netscape out of the water.  The page is located at www.gie.net/dir.htm if you want to see how bad the error actaully is but this is the basic code that is killing it...

</font><a href=”javascript:{}” language=”VBScript”
onclick=”call PreVu1.Popup(GetURLBase + &quot \hints\rfoster.htm&quot;,FALSE;)”>
<font size=”2” face=”ARIAL,HELVETICA”><img src=”/art/gie/RIGHT.GIF”
border=”0” width=”16” height=”17”></font></a><font color=”#0000FF” size=”2”
face=”ARIAL,HELVETICA”><b>Richard J.W. Foster, </b><b><i>President
</i></b></font><ahref=”mailto:rfoster@gie.net”><font size=”2” face=”ARIAL,HELVETICA”><img src=”/art/gie/email.gif” border=”0” width=”28” height=”24”></font></a><font size=”2”
face=”ARIAL,HELVETICA”><br>
</font></p>

It calls a pop-up windows with an html description of the person... in this case rfoster.htm.
Any ideas would be greatly appreciated.
Chris Foster
Chris@cfoster.com


Avatar of skyflash
skyflash

The problem is that Netscape don't like VB script. If you wants your pages to work with both IE and Netscape you should only use Javascript.
This is how you open an window with javascript:
window.open('pagename.html','windowsname','toolbar=no,status=no,scrollbars=no,_resizable=no
,width=300,height=200');

/Kenneth
Avatar of cfoster

ASKER

I have to reject this because I really need you to spell it out.  I would Like to know what I need to take out and what I should put in it's place.  The guy who created this page is no longer with the company and I am just learning java and VB... barely learning.
If you can elaborate I would really appreciate it.  -Chris
ASKER CERTIFIED SOLUTION
Avatar of kollegov
kollegov

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of cfoster

ASKER

Great!  Thanks.  -Chris