Results 1 to 5 of 5

Thread: how to make link in iframe open in same windows?

  1. #1
    Join Date
    Nov 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile how to make link in iframe open in same windows?

    hello guys..
    anyone can help me?
    how i can make this link in iframe open same windows?

    Code:
    <iframe frameborder="0" src="http://kumpulblogger.com/machor.php?b=109570" width="100%" height="200px" marginwidth=0 marginheight=0 ></iframe>
    Thanks,
    Last edited by jscheuer1; 11-12-2010 at 01:28 PM. Reason: format code

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

    Default

    Not sure what you mean.

    Do you want to click on a link situated in the http://kumpulblogger.com/machor.php?b=109570 page and have it open in the parent window (replacing the content that holds the iframe)?

    If the kumpulblogger.com/machor.php?b=109570 site/page is your domain you just add target="_parent" to the anchor tag for any links inside of it.

    If the kumpulblogger.com/machor.php?b=109570 page isnt yours and not on your domain, you cant.
    Last edited by jscheuer1; 11-13-2010 at 04:48 AM. Reason: remove hotlink
    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
    Mar 2005
    Location
    SE PA USA
    Posts
    28,957
    Thanks
    43
    Thanked 3,195 Times in 3,157 Posts
    Blog Entries
    12

    Default

    Quote Originally Posted by cowok keren View Post
    hello guys..
    anyone can help me?
    how i can make this link in iframe open same windows?

    Code:
    <iframe frameborder="0" src="http://kumpulblogger.com/machor.php?b=109570" width="100%" height="200px" marginwidth=0 marginheight=0 ></iframe>
    Thanks,
    What link? Your post shows no link.

    Where is "this link"?

    Where do you want it to open?

    What does "same windows" mean?
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  4. #4
    Join Date
    Nov 2010
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Quote Originally Posted by jscheuer1 View Post
    What link? Your post shows no link.

    Where is "this link"?
    Link in kumpulblogger.com/machor.php?b=109570 and its page not mine

    Quote Originally Posted by jscheuer1 View Post

    Where do you want it to open?

    What does "same windows" mean?
    i want if link in iframe clicked by someone, its open in parent windows (not open in new windows)
    Last edited by jscheuer1; 11-13-2010 at 04:46 AM. Reason: remove hotlink

  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,957
    Thanks
    43
    Thanked 3,195 Times in 3,157 Posts
    Blog Entries
    12

    Default

    If as you seem to say:

    Quote Originally Posted by cowok keren View Post
    Link in kumpulblogger.com/machor.php?b=109570 and its page not mine
    Then what Beverleyh said is correct:

    Quote Originally Posted by Beverleyh View Post
    If the kumpulblogger.com/machor.php?b=109570 page isnt yours and not on your domain, you cant.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •