Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    May 2004
    Posts
    31
    Thanks
    0
    Thanked 0 Times in 0 Posts

    linking toa website and specifying the iframe content.

    is it at all possible to link to a seperate webpage and also choose which page is displayed in an iframe on that site?

    if i had www.mysite.com which contains an iframe which loads defaultly with home.hml

    could i have a link that was like href="www.mysite.com" & iframe=anotherpage.html

    so that when the site laoded the content of the iframe woudl be anotherpage.html

    seems like if you could do it it might be with javascript.

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    If you have control of that other domain and can add JavaScript to that page, you could.

    Eric
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]


  •  

    Posting Permissions

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