Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 05-23-2012, 01:52 AM   PM User | #1
sdscuba
New to the CF scene

 
Join Date: Feb 2012
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
sdscuba is an unknown quantity at this point
inline frame refresh / Pause ?

Inside my website homepage, I'd like to rotate, on a set interval, several inline frames. I'm able to get this to work by simply using a meta tag to refresh the inline frame to the next one.

The problem is that the inline frames are using JavaScript to magnify a few images, and a refresh interrupts the user.

Can a refresh be such that it does not interrupt the user?

Any help would be greatly appreciated.
sdscuba is offline   Reply With Quote
Old 05-23-2012, 04:07 AM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,248
Thanks: 59
Thanked 3,998 Times in 3,967 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
Well, you could certainly have your timer code check to see what the current magnification via JS is and if it isn't 1X then you'd just reset the timer and wait again.

That assumes you change to using JS to do the rotating instead of the meta refresh.
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:54 AM.


Advertisement
Log in to turn off these ads.