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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Netscape scrollbars and Macintoshes....

Status
Not open for further replies.

JimJx

Technical User
Feb 16, 2001
202
US
Hi all,

I have a script that opens a link in a new window and everything works great on my win98 box on IE and netscape 4.77, and also works great on my wife's G4 with IE 5.x, but using Netscape 4.x (Not sure of the exact revision) you cannot use the arrow buttons on the scrollbar to scroll. If you click on the scrollbar, you can drag it or whatever you want to do, but it just will not work clicking on the arrows.

I don't think this is a script, but I wanted to make sure before Netscape gets a 'nastygram' (no, not for this problem, stuff happens, but because their 'support website' has got to be the worst in the industry for finding information on)

Sorry, had to vent there. :)

Anyway, here is the code I am using to open teh window if anyone sees anything there. If not, has anyone seen this problem before and/or heard of a fix?

Thanks in advance,
Jim


Code:
<Script>
function NewWindow(page) {
var winl = (screen.width - 400)/2;
var wint = (screen.height - 400)/2;
winStats='toolbar=no,location=no,directories=no,menubar=no,'
winStats+='scrollbars=no'
if (navigator.appName.indexOf(&quot;Microsoft&quot;)>=0) {
winStats+=',left='+winl+',top='+wint+',width=400,height=400'
}else{
winStats+=',screenX='+winl+',screenY='+wint+' ,width=400,height=400'
}
adWindow=window.open(page,&quot;&quot;,winStats)     
adWindow.focus()
}
</Script>

And it is called using:

Code:
<TD><A HREF=&quot;javascript:NewWindow('addes.html')&quot;><IMG SRC=&quot;../images/printpix/print_03.jpg&quot; WIDTH=137 HEIGHT=29 BORDER=0></A></TD>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top