Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2012
    Thanked 0 Times in 0 Posts

    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.

  2. #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Thanked 4,947 Times in 4,908 Posts
    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.
    Be yourself. No one else is as qualified.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts