SitePoint Sponsor

User Tag List

Results 1 to 9 of 9

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Oct 2005
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    links within iFrame

    hi. quick question.

    i have a page (index.html) with an iframe as follows:

    <iframe id="iframe1" src="content.html" align="top" height="450" width="100%" hspace="0" vspace="0" frameborder="0" style="overflow-x: hidden;">


    inside the page shown in the iframe (content.html) i have a html tag:
    <a name = "prize">

    inside index.html i have a link to goto that tag in the iframe like so:

    <a href="#prize" target="iframe1">Click Here</a>



    But this doesnt work.. can someone tell me how to go about this.?

  2. #2
    He's No Good To Me Dead silver trophybronze trophy stymiee's Avatar
    Join Date
    Feb 2003
    Location
    Slave I
    Posts
    23,423
    Mentioned
    2 Post(s)
    Tagged
    1 Thread(s)
    <iframe name="iframe1" id="iframe1" src="content.html" align="top" height="450" width="100%" hspace="0" vspace="0" frameborder="0" style="overflow-x: hidden;">

  3. #3
    SitePoint Addict
    Join Date
    Oct 2005
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    ok that doesnt work, it actually opens the whole index page (iframe and all) within the iframe?

    i have attached my idex page, content page, and css file if that helps.
    Attached Files Attached Files

  4. #4
    SitePoint Wizard silver trophybronze trophy Nadia P's Avatar
    Join Date
    Oct 2004
    Location
    NSW Australia
    Posts
    3,564
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  5. #5
    SitePoint Addict
    Join Date
    Oct 2005
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    That doesnt have anything about what im looking for. i checked out that link before posting here originally.
    thanks neway

  6. #6
    SitePoint Wizard silver trophybronze trophy Nadia P's Avatar
    Join Date
    Oct 2004
    Location
    NSW Australia
    Posts
    3,564
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mitcho
    That doesnt have anything about what im looking for. i checked out that link before posting here originally.
    thanks neway
    Ok, thought I'd post that while your attachment was being approved ;-)

    Nadia

  7. #7
    SitePoint Wizard silver trophybronze trophy Nadia P's Avatar
    Join Date
    Oct 2004
    Location
    NSW Australia
    Posts
    3,564
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by mitcho
    That doesnt have anything about what im looking for. i checked out that link before posting here originally.
    thanks neway
    Ok, thought I'd post that - in you case you weren't aware of it - while your attachment was being approved ;-)

    Nadia

  8. #8
    SitePoint Addict
    Join Date
    Oct 2005
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    thanks... it is taking a while for the attachments to be approved. just html and css files?

  9. #9
    SitePoint Addict
    Join Date
    Oct 2005
    Posts
    255
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any help on this issue available?


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
  •