Results 1 to 3 of 3
  1. #1
    janvankuijk is offline Member
    Join Date
    Jul 2011
    Posts
    1
    Rep Power
    0

    Default Script to open url in new browser

    I want with this script that Twitter opens in a new browser. Not as a pop-up, but on a new page in the default browser. Now the scripts opens Twitter in the browserpage where it is started.

    I need a twitter.html file with this function!

    Jan


    <script type="text/javascript">
    <!--
    window.location = "http://www.twitter.com"
    //-->
    </script>

  2. #2
    Iron Lion is offline Senior Member
    Join Date
    Nov 2010
    Posts
    210
    Rep Power
    4

    Default

    You'd be better asking in a JavaScript forum. Java is a different language entirely.

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,184
    Rep Power
    19

Similar Threads

  1. Replies: 1
    Last Post: 04-15-2011, 04:36 PM
  2. script open form result
    By rprmatias in forum New To Java
    Replies: 1
    Last Post: 02-17-2011, 09:01 PM
  3. Open and closing tabbed web browser using java
    By rijeshmenon in forum Advanced Java
    Replies: 0
    Last Post: 12-14-2009, 09:44 AM
  4. Open and close web browser
    By ali_sakar in forum New To Java
    Replies: 2
    Last Post: 11-03-2009, 12:28 PM
  5. Re-open browser
    By Tokajac in forum Java Servlet
    Replies: 2
    Last Post: 10-13-2008, 01:31 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •