Results 1 to 3 of 3

Thread: Any Ideas?

  1. #1
    Join Date
    Jul 2005
    Location
    Kuwait-I'm American
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Any Ideas?

    Page_with_iframe has this script:
    Code:
    <html>
    <body>
    <iframe src="page2.html">
    </iframe>
    </body>
    </html>
    That has worked up till now. I would like to have it so the page it shows can be either: page2.html, page3.html, or page4.html. this has been bugging me for a while, and I'm not sure what to do.
    //\\ //\\// || //\\//\\ //\\ ||_
    SOFTWARE

  2. #2
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    No te entiendo.
    Give it an id (say, theFrame) and you can change it with document.getElementById("theFrame").location.href = "http://www.newpage.com";.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  3. #3
    Join Date
    Jul 2005
    Location
    Kuwait-I'm American
    Posts
    127
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    hmmm....maybe I could name one target page whose enture content is based on a random number...
    //\\ //\\// || //\\//\\ //\\ ||_
    SOFTWARE

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
  •