Is an iframe the best (most compatible) way to do this?

Discussion in 'HTML & Website Design' started by wolfestone, Aug 13, 2008.

  1. #1
    I have one page in a site where I need to have several links/buttons, each of which will display a different quicktime movie in the space below them.

    I'm currently using an iframe which when targetted by each link, loads a page containing only the relevant quicktime movie.

    I'm trying to achieve a result where the whole page doesn't reload, and that will work on as many systems as possible (e.g with javascript turned off).

    There's no other content on the iframe pages.

    While researching this, I've seen a general dislike of iframes, and suggestions to use an object to embed the sub-page's html. I don't know if this will work for my purposes however, since I want to load each movie without the whole (parent) page reloading.

    It works this way, I'm just not sure if there's a better way, maybe a CSS trick or similar.

    Thanks for any advice.
     
    wolfestone, Aug 13, 2008 IP
  2. Stefan

    Stefan Well-Known Member

    Messages:
    787
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    110
    #2
    Stefan, Aug 13, 2008 IP
  3. bullet.eater

    bullet.eater Banned

    Messages:
    291
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    I agree with Stefan. Iframes and Frames are out dated by years and should never be used... unless it is really the best option lol...
     
    bullet.eater, Aug 13, 2008 IP
  4. CasiusJ

    CasiusJ Active Member

    Messages:
    42
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    93
    #4
    I sending you a pm because this forum wont allow me to post links.
     
    CasiusJ, Aug 14, 2008 IP
  5. wolfestone

    wolfestone Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Thanks for the suggestions, that worked nicely.

    Unfortunately it gave me another problem:

    I have a div which starts out hidden, and becomes visible when a button is clicked. This div appears behind the quicktime movie, and I want it to appear above it. I tried changing the z-index of both items but no luck.

    Is there an easy fix for this?
     
    wolfestone, Aug 18, 2008 IP