1. You are viewing our forum as a guest. For full access please Register. WindowsBBS.com is completely free, paid for by advertisers and donations.

Javascript Not Working

Discussion in 'General Internet' started by dishon, 2002/02/14.

Thread Status:
Not open for further replies.
  1. 2002/02/14
    dishon

    dishon Inactive Thread Starter

    Joined:
    2002/02/05
    Messages:
    138
    Likes Received:
    0
    I programmed a button to open a new window using open.window. It works in IE5.5 running on a Win98SE system but not in IE6 Win98SE system. Is there a MS hidden setting that they are so fond off which I need to set or something?:mad:
     
  2. 2002/02/14
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    let's see the code
     

  3. to hide this advert.

  4. 2002/02/15
    dishon

    dishon Inactive Thread Starter

    Joined:
    2002/02/05
    Messages:
    138
    Likes Received:
    0
    <HTML>
    <HEAD>
    <META NAME= "author" CONTENT= "Stephen Dishon ">
    <TITLE>My Web Site</TITLE>
    <link rel= "stylesheet" href= "sh_main.css ">

    <SCRIPT LANGUAGE= "JavaScript ">

    function fullScreen(theURL) {
    window.open(theURL, '', 'fullscreen=yes, scrollbars=auto');
    }

    </SCRIPT>


    </HEAD>

    <BODY>

    <BR>

    <a href= "javascript:void(0);" onClick= "fullScreen('about.htm'); ">Open Full Screen Window</a>

    </BODY>
    </HTML>
     
  5. 2002/02/15
    TonyT

    TonyT SuperGeek Staff

    Joined:
    2002/01/18
    Messages:
    9,072
    Likes Received:
    400
    Your script works in 5.01SP2


    Try this one: (all in BODY)

    <script>
    function fullwin(){
    window.open( "URL_HERE "," ", "fullscreen,scrollbars ")
    }
    //-->
    </script>
    <form>
    <input type= "button" onClick= "fullwin()" value= "Open window ">
    </form>

    You can use txt instead of a button.
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.