Advanced Search

Results 1 to 5 of 5

Thread: Open link in a section of same page

  1. #1
    Join Date
    Jan 2006
    Location
    Brampton, Ont
    Posts
    41
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default Open link in a section of same page

    Good day team,

    looking for a scrip to open an external page inside one side of a table or frame or <DIV></DIV>

    So the link would be to the right of where i need the page opened.

    Thanks
    Rohan

  2. #2
    Join Date
    Jan 2008
    Posts
    4,158
    Thanks
    28
    Thanked 623 Times in 619 Posts
    Blog Entries
    1

    Default

    Seems like a bad idea in general, but you could use the `target` attribute to target an iframe's ID.

    Code:
    ​<iframe id="uniqueID"></iframe>
    <a href="http://dynamicdrive.com" target="uniqueID">DD</a>​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    http://jsfiddle.net/7TERE/

  3. The Following User Says Thank You to Nile For This Useful Post:

    Jamcan (11-12-2012)

  4. #3
    Join Date
    Jan 2006
    Location
    Brampton, Ont
    Posts
    41
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by Nile View Post
    Seems like a bad idea in general, but you could use the `target` attribute to target an iframe's ID.

    Code:
    ​<iframe id="uniqueID"></iframe>
    <a href="http://dynamicdrive.com" target="uniqueID">DD</a>​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​​
    http://jsfiddle.net/7TERE/

    What would you recommend to display past services in the specified area
    http://bcfchurch.net/past_sermons.html

  5. #4
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,884
    Thanks
    16
    Thanked 288 Times in 287 Posts
    Blog Entries
    4

    Default

    Quote Originally Posted by Jamcan View Post
    Good day team,

    looking for a scrip to open an external page inside one side of a table or frame or <DIV></DIV>

    So the link would be to the right of where i need the page opened.

    Thanks
    Rohan
    You originally said an external page but your sample link uses internal pages - that is, all from the same domain.

    If youre always using pages from your own/the same domain, try this script from DD: http://www.dynamicdrive.com/dynamici...jaxcontent.htm
    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

  6. The Following User Says Thank You to Beverleyh For This Useful Post:

    Jamcan (11-12-2012)

  7. #5
    Join Date
    Jan 2006
    Location
    Brampton, Ont
    Posts
    41
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Default

    Thank you both so very much. appreciated.

    Be blessed

Similar Threads

  1. Open different iframe from another page with a link
    By kovalnizle in forum Dynamic Drive scripts help
    Replies: 28
    Last Post: 01-31-2013, 09:06 AM
  2. link to open new page
    By djohno24 in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 11-10-2008, 09:45 AM
  3. How do i load a page with a particular accordian section open as a default?
    By logicSix in forum Dynamic Drive scripts help
    Replies: 10
    Last Post: 03-26-2008, 01:37 PM
  4. Replies: 4
    Last Post: 10-31-2007, 11:31 PM
  5. HV Menu - Open link in new page
    By jrbk in forum Dynamic Drive scripts help
    Replies: 4
    Last Post: 08-09-2006, 04:53 PM

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
  •