Iframe Trouble 50 Creds

Discussion in 'Gaming' started by Painore, Sep 20, 2006.

  1. Abet

    Abet Senior Member

    Posts:
    4,338
    Likes Received:
    0
    Joined:
    Oct 9, 2004
    have you tried to add a target="_blank" for new page and whatever you named the main one to have it set on same page.
     
  2. Painore

    Painore Well-Known Member

    Age:
    56
    Posts:
    556
    Likes Received:
    0
    Joined:
    Apr 25, 2004
    Location:
    New Zealand
    So what would it be. I have tried all the different coding I have found.

    What would the link/iframe look like?
     
  3. Zohair

    Zohair Formerly zohBOT

    Posts:
    6,128
    Likes Received:
    0
    Joined:
    Dec 18, 2005
    Location:
    Cave
    free bump for you sry but I really don't know anything about it
     
  4. ale_jrb

    ale_jrb Senior Member

    Age:
    34
    Posts:
    306
    Likes Received:
    0
    Joined:
    Jul 23, 2005
    Location:
    London, UK
    From what I understand, this is what you want to acheive. I have to be sure what you want, before I come up with a fix for it, otherwise it would be waste of time.

    - You have a page.
    - On that page you want an iframe.
    - You also want links.
    - These link should effect what is displayed in the iframe.
    - You need the iframe to show a game.html page is one link is clicked, and a music.html is a different link is clicked.
    - You should not be able to see both of these pages in iframes at once.

    Is that what you want? If not, please correct me.

    In general, when asking for coding help, you need to be MUCH clearer than you were...
     
  5. Painore

    Painore Well-Known Member

    Age:
    56
    Posts:
    556
    Likes Received:
    0
    Joined:
    Apr 25, 2004
    Location:
    New Zealand
    Thats EXACTLY what I want..
     
  6. ale_jrb

    ale_jrb Senior Member

    Age:
    34
    Posts:
    306
    Likes Received:
    0
    Joined:
    Jul 23, 2005
    Location:
    London, UK
    On your main page, have one iframe. The code for your one iframe should look a bit like this:

    Code:
    <iframe name="maindisplay" src="game.html" height="100%" width="100%"></iframe>
    
    Your links should look like this:
    Code:
    [url="music.html"]Music![/url]
    [url="game.html"]Game![/url]
    
    And so on :)
    Hope this helps.
     
  7. Painore

    Painore Well-Known Member

    Age:
    56
    Posts:
    556
    Likes Received:
    0
    Joined:
    Apr 25, 2004
    Location:
    New Zealand
    Wow, I can't believe it is that simple but yet I just never got it. Once I get home ill punch in the code..
     
  8. ale_jrb

    ale_jrb Senior Member

    Age:
    34
    Posts:
    306
    Likes Received:
    0
    Joined:
    Jul 23, 2005
    Location:
    London, UK
    Ok then :) - good luck to you.
     

Share This Page