1) chizGroup: Members Posts: 3Joined: 21 Aug 2006Location: IP: 86.131.--.--
Posted:
Hi,
I was wondering if you could help me on an issue I have when using the scroller inside and iframe.
I have a page with an iframe in it, pointing to the html file with the scroller in it. This works perfectly fine in IE and Opera, however, in firefox it appears that it's caught in a loop as the mouse pointer status is always on busy as if it's trying to load something.
Any help would be greatly appreciated.
Many thanks, John
2) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 144.131.--.--
Posted:
Have you got a link to the website in question?
Bear in mind that IFRAMEs have scrollbars, so if you're already using an IFRAME there's not much point in using this script as well...
- Angus.
3) chizGroup: Members Posts: 3Joined: 21 Aug 2006Location: IP: 86.131.--.--
Posted:
Hi Angus,
The scrollbar is it http://pesladder.co.uk/new/ (ignore the crudness of the design).
I tried it with just a light page with a simple iframe and get the same problem. It really is only firefox that has this annoyance.
Many thanks, John
4) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 144.131.--.--
Posted:
Hmm, seems true I guess. Probably some sort of Firefox bug. Try the HTMLHttpRequest script instead perhaps as it uses XMLHttpRequest to load files in Firefox which won't have this issue. Or just stick with IFRAME scrollbars -- seriously, trust me on this, they're a lot friendlier to most users :).
- Angus.
5) chizGroup: Members Posts: 3Joined: 21 Aug 2006Location: IP: 86.131.--.--
Posted:
Hi Angus,
Thanks for your reply.
Yerp, I think i'm stuck with basic scrollbars for this. Shame too, your scroller is excellent!
Thanks again, John
6) CharlotGroup: Guests IP: 70.81.--.--
Posted:
I had the same problem and I did this to avoid it:
I've put this to the last loaded element in the page (scroller or not) <script language="javascript" type="text/javascript"><!--
<img onload="javascript:stop_loading();"
and this in the heading of the html file (the one that contains the scroller)
function stop_loading() { window.top.stop() }
//--></script>
7) CharlotGroup: Guests IP: 70.81.--.--
Posted:
Or even better than my previous solution, put this line:
onsetup = function() { window.top.stop(); }
right after this line that is already in the script:
onload = function() { var lm = getSty('loadMessage'); if (lm) lm.visibility = 'hidden'; }
8) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 125.236.--.--
Posted:
Cool fixes, thanks :).
- Angus.
9) HendrikGroup: Guests IP: 62.180.--.--
Posted:
many thx @ Charlot works fine. :-)
10) fredGroup: Guests IP: 84.190.--.--
Posted:
mh, its not working for me. if i use the window.top.stop() function the content will not loaded. only "loading..." is to see and nothing happends. what could be wrong ? has anybody the same prob ? many thanks, fred
11) Angus TurnbullGroup: Moderators Posts: 4042Joined: 7 Dec 2003Location: New ZealandIP: 203.173.--.--
Posted:
Fred, you're putting it in the scroller setup not the loaded files?
I haven't used this script myself in ages and to be honest I don't recommend you use it either for accessibility reasons.