dcsimg
www.webdeveloper.com
Results 1 to 2 of 2

Thread: Want to display 5 images in a loop

  1. #1
    Join Date
    May 2014
    Posts
    1

    Thumbs up Want to display 5 images in a loop

    Can anyone help me in getting these five images below in a loop?

    I can not modify the code as it is affiliate code.


    <iframe allowtransparency="true" src="https://media.racebets.com/media.php?bid=271&cid=303" width="300" height="300" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
    <iframe allowtransparency="true" src="https://media.racebets.com/media.php?bid=256&cid=303" width="300" height="300" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
    <iframe allowtransparency="true" src="https://media.racebets.com/media.php?bid=251&cid=303" width="300" height="300" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
    <iframe allowtransparency="true" src="https://media.racebets.com/media.php?bid=241&cid=303" width="300" height="300" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>
    <iframe allowtransparency="true" src="https://media.racebets.com/media.php?bid=236&cid=303" width="300" height="300" marginwidth="0" marginheight="0" hspace="0" vspace="0" frameborder="0" scrolling="no"></iframe>

  2. #2
    Are you looking to rotate through them per page load (so that would be server-side like PHP) or client-side (which would be JavaScript's job) -- not really something you could do with just HTML and CSS... Well, CSS3 would help a lot, though a lot of animations for switching between them like opacity doesn't work on iframes...

    .. and if you don't need them animated, JS could do it really simply with one iframe just by swapping it's 'src'.

    Need more on how you want to 'loop' them before a real solution can be given.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles