Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Apr 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Java Script Netscape Popup Focus?

    Hi I am very new to javascript and while I have managed to make something that works in IE it does not work in Netscape, Mozilla or Firefox. Any help would be greatly appreciated. I am so tired to looking at this code and not having it work.
    In IE 5.2(mac) and safri the code opens a new window and loads page. When I go to another page with the same script it brings the popup to the front and then loads the new page. In any Mozilla browser it does call the new page and loads it into the existing window, but it does not bring that window to the front, thus the viewer does not see the popup.
    Here is script:
    <script>
    function codes(){
    window.open ('carhom.html', 'codes', config='height=480, width=620, toolbar=no, menubar=no, scrollbars=no, resizable=no, location=no, directories=no, status=no');
    if (window.focus) {newwindow.focus()} }
    </script>

    Thank you to all who view and any who can help!
    Last edited by Axile Media; 04-13-2005 at 05:18 PM.

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    .....
    newwindow = window.open ('carhom.........
    .......
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #3
    New to the CF scene
    Join Date
    Apr 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Smile

    Thank you so much. You have no idea how happy I am now!!!!!!
    I have been working on this off and on for three weeks and have done everything but cry to try and get it to work.

  • #4
    New to the CF scene
    Join Date
    Apr 2005
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks again!!! It really works, Yeah!!!!


  •  

    Posting Permissions

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