SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    Mar 2001
    Location
    Marland
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I was wondering if anyone couldhelp me with a problem that I can't solve. I want my page to be like this: when someone clicks on the menu; i would like for the IFRAME i have to load the different htm pages. I don't know if this is possible and if it is then how do I do it? Any help would greatly be appreciated. Thanks

  2. #2
    Say WHA?! goober's Avatar
    Join Date
    Sep 2000
    Location
    United States
    Posts
    1,921
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    perhaps specifying the 'target' attribute as the name of the <IFRAME>? That could work.

    Hope this helps.
    Sean Killeen [LinkedIn] [Twitter] [Web]

    Warning: Reality.sys corrupted. Universe halted. Reboot? (Y/N)

  3. #3
    ComDude CryingWolf's Avatar
    Join Date
    Dec 2000
    Location
    I don't know the cat drug it in!!!
    Posts
    247
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    you are correct goober,,,


    The code would look something like this:

    Code:
    <iframe src="page.html" name="mywin" width="xxx" height="xxx" 
    scrolling="auto" frameborder="0"></iframe>
    
    
    <a href="pagename.html" target="mywin">link to appear in target iframe</A>
    Hope this helps

    Late
    body { background:#000000; color:#000000 }
    HEY, WHO TURNED OUT THE LIGHTS?!?
    Easy come easy go!!!
    CryingWolf

  4. #4
    Blissed off
    Join Date
    Feb 2001
    Posts
    422
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hm... keep in mind that the netscrap browser doesn't support iframes. *I think*

  5. #5
    ComDude CryingWolf's Avatar
    Join Date
    Dec 2000
    Location
    I don't know the cat drug it in!!!
    Posts
    247
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I think version 6 supports the iframe tag??? Someone correct me if I am wrong...

    Also if you post the menu on the outside of the iframe it will just open a new window in ns < 6... I think this is what happens on my personal site...

    Late
    body { background:#000000; color:#000000 }
    HEY, WHO TURNED OUT THE LIGHTS?!?
    Easy come easy go!!!
    CryingWolf


Bookmarks

Posting Permissions

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