Hello and welcome to our community! Is this your first visit?
Register
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
    Posts
    3
    Thanks
    0
    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
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Posts
    27,191
    Thanks
    80
    Thanked 4,562 Times in 4,526 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.
    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.


  •  

    Posting Permissions

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