JavaScript Development
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsWeb DesignJavaScript Development

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 27th, 2002, 10:33 AM
Trevarthan Trevarthan is offline
Web Developer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Location: Tennessee
Posts: 4 Trevarthan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
IE is killing my javascript rollovers when I open a popup window

Howdy,

I've never had this happen before. Or at least, I've never noticed. I'm using IE 6.0.26.
Here's the scenario: I preload some small graphics for my top icon driven menu on my web pages(URL). Here's the first problem. Look at URL for reference. When I click on one of the thumbnail images there, Internet Explorer dumps my rollovers. The browser completely reloads all the rollover images. In fact, ANY time I open a new window using javascript IE dumps my rollover graphics.

Has this happened to anyone before? It doesn't do that in Netscape 6. Any help would be appreciated.

Reply With Quote
  #2  
Old February 27th, 2002, 11:21 AM
degsy degsy is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2001
Posts: 1,882 degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 21 h 19 m 30 sec
Reputation Power: 18
I can't see a problem. I'm also using IE6.0.2600.0000

Only thing I can suggest is to replace the # in your links with javascript:

<a href="javascript:" onclick="yourFunction()">
If you still have problems try
<a href="javascript:" onclick="yourFunction(); return false">

Reply With Quote
  #3  
Old February 27th, 2002, 12:38 PM
Trevarthan Trevarthan is offline
Web Developer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Location: Tennessee
Posts: 4 Trevarthan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
You mean it doesn't dump the roll-overs in your browser? Click the link for one of those pictures, then mouse over an icon on the top bar. In my browser it has to reload the roll-over before it can display it.

I don't think changing the "#" link will help. Go to my links page: URL This page is full of normal links, but they all open in popup windows, and it does the same thing here as on the picture page in my browser. I click a link, I close the link window, I go to mouse over an icon and it has to reload the roll-over.

Please let me know if it doesn't do this on your browser. If that's the case, then it's probably a problem with my cache or something. Thanks!

Reply With Quote
  #4  
Old February 27th, 2002, 01:08 PM
degsy degsy is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2001
Posts: 1,882 degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 21 h 19 m 30 sec
Reputation Power: 18
Quote:
I don't think changing the "#" link will help


I'd try it
The # is the HTML for an Anchor, which means the the link is reloading the page, I think that this is why your rollovers are resetting.

Changing the link to <a href="javascript:" will prevent the page from reloading.

Reply With Quote
  #5  
Old February 27th, 2002, 01:23 PM
Trevarthan Trevarthan is offline
Web Developer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Location: Tennessee
Posts: 4 Trevarthan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok, against my better judgement I tried it. You can see for yourself: URL

It still does the same thing. You click the link - the popup comes up - you close the popup or minimize it - and the browser thinks it has to reload the roll-over graphics on the top right menu icons.

Listen, it's not the javascript or the "#" link. It's the act of opening a new window. This page: URL has NO JAVASCRIPT and no "#" tag. Just real links. And it does the same thing.

Does anyone see what I'm talking about? Does it happen on your browser too? Or is it just mine?

Has anyone had this happen to them before? Is there a work around? Thanks.

Reply With Quote
  #6  
Old February 27th, 2002, 01:33 PM
Fataqui Fataqui is offline
Senior Member
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2001
Location: Boston Ma.
Posts: 1,529 Fataqui User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 24 m 42 sec
Reputation Power: 0
Hi


I tried it in NS4.76/IE/4/5/5.5/6/NS6.........


And I don't see any problem.........


F!

Reply With Quote
  #7  
Old February 27th, 2002, 01:34 PM
degsy degsy is offline
Contributing User
Dev Shed Intermediate (1500 - 1999 posts)
 
Join Date: Nov 2001
Posts: 1,882 degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level)degsy User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 5 Days 21 h 19 m 30 sec
Reputation Power: 18
It seems to be a complicated Preload image script.
Can you experiment with a simpler preload image script?

Reply With Quote
  #8  
Old February 27th, 2002, 02:01 PM
Trevarthan Trevarthan is offline
Web Developer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2002
Location: Tennessee
Posts: 4 Trevarthan User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I've tried it in NS6 too. I didn't have any problems with NS. I suppose it must just be my local browser cache configuration or something. I switched hard disk letters recently, and one of the IE config or registry settings must be trashed.

Yes, I'm trying some more simple preload scripts. The problem I have is deciding what I want to preload. It's kinda a large site.

Thanks everyone. I appreciate the feedback!

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignJavaScript Development > IE is killing my javascript rollovers when I open a popup window

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap