Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 4 of 4

Thread: How to open external link from another site of my homepage

  1. #1
    Junior Member
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default How to open external link from another site of my homepage

    Can someone please help me with this. I am not a Java programmer but I know this bit requires Java script. I want to open an external link from another site in my homepage of my site. I have tried the behaviours in Dreamweaver but they don't work. How can I do this? Thanks


  2. #2
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: Website

    Hello hena,

    I'm sorry but this is a Java forum, not Java Script. Java & Java Script are two different languages.

    I may be able to help you though. I am confused with:

    "I want to open an external link from another site in my homepage of my site"

    How do you mean exactly?

    I may be wrong because I need clarification on what you mean, but look into IFRAMES.

    HTML iframe tag
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

  3. #3
    Junior Member
    Join Date
    Mar 2009
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Re: Website

    Thankyou for clarifying the two different languages. I want to link the word 'Brazil' to an external ULR but I want it to open in my website window. So my site is open as well as the external URL within it. I hope you understand what I mean. However I will try iFrames. thankyou

  4. #4
    mmm.. coffee JavaPF's Avatar
    Join Date
    May 2008
    Location
    United Kingdom
    Posts
    3,336
    My Mood
    Mellow
    Thanks
    258
    Thanked 294 Times in 227 Posts
    Blog Entries
    4

    Default Re: Website

    Quote Originally Posted by hena View Post
    Thankyou for clarifying the two different languages. I want to link the word 'Brazil' to an external ULR but I want it to open in my website window. So my site is open as well as the external URL within it. I hope you understand what I mean. However I will try iFrames. thankyou
    I think an Iframe is exactly what you need. Using an Iframe, you can display an external URL from within your own website.
    Please use [highlight=Java] code [/highlight] tags when posting your code.
    Forum Tip: Add to peoples reputation by clicking the button on their useful posts.

Similar Threads

  1. How to Grab the HTML source code of a website URL index page?
    By JavaPF in forum Java Networking Tutorials
    Replies: 6
    Last Post: April 22nd, 2010, 02:46 PM