Results 1 to 4 of 4

Thread: Static Index page, with changing iframe pages w/o leaving index help

  1. #1
    Join Date
    Apr 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Static Index page, with changing iframe pages w/o leaving index help

    I and building a musician a few web pages, the index page is going to have 2 widgets, Mailing List and Audio Player, which are powered from an industry specific social network. Reverbnation.com....they have to come from that site.

    So in order to keep the music consistent and not reload on each page, I want to have iframes for text content ie; Bio, Press, etc....change but never actually leaving the index page.

    I know Ive done this before, but the process is eluding me right now.

  2. #2
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,940
    Thanks
    16
    Thanked 304 Times in 303 Posts
    Blog Entries
    11

    Default

    Ho about using this Ajax script (much nicer than frames): http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    If you really do want to use frames though you need to do this;

    Your iframe should have a name;

    Code:
    <iframe name="myframe">
    </iframe>
    And your link should target the iframe name;

    Code:
    <a href="http://www.ebay.com" target="myframe">
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  3. #3
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,940
    Thanks
    16
    Thanked 304 Times in 303 Posts
    Blog Entries
    11

    Default

    Ho about using this Ajax script (much nicer than frames): http://www.dynamicdrive.com/dynamici...jaxcontent.htm

    If you really do want to use frames though you need to do this;

    Your iframe should have a name;

    Code:
    <iframe name="myframe">
    </iframe>
    ANd your link should target the iframe name;

    Code:
    <a href="http://www.ebay.com" target="myframe">Load eBay in frame</a>
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  4. #4
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 517 Times in 503 Posts
    Blog Entries
    5

    Default

    agreed - frames are depreciated and should not be used.

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
  •