+ Reply to Thread
Results 1 to 3 of 3

Thread: Javascript window.open specs not working

  1. #1
    krahny's Avatar
    krahny is offline x10Hosting Member krahny is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    25

    Exclamation Javascript window.open specs not working

    I have a javascript function that opens a new window with a bunch of specs. As far as I can tell, only the width and height specs work.
    Here is the function:

    function open_win(URL,Title)
    {
    myWindow=window.open(URL,Title,"location=0,menubar =0,resizable=0,scrollbars=0,status=0,toolbar=0,hei ght=400,width=550");
    }

    I can still resize the windo and see the address even though they're set to 0.

    Could some please help me?

  2. #2
    misson is offline x10 Spammer misson is a jewel in the rough
    Join Date
    Mar 2008
    Location
    Libertatia
    Posts
    2,506

    Re: Javascript window.open specs not working

    What browser are you using? Some browsers (e.g. Firefox) can be configured to force rendering of some chrome elements, no matter what features are requested in the call to window.open. By default, Firefox forces resizing and the location and status bars.

    Use the [code], [php] or [html] tags as appropriate to delineate code when posting. It will preserve the formatting of the code, including spacing. Note that whitespace was added to your features string, where whitespace isn't allowed.
    Last edited by misson; 12-29-2009 at 05:23 PM.
    Be sure to read all pages linked in this post; they have further information that should prove useful. When asking for help, make sure you follow Eric Raymond's and Jon Skeet's guidelines for prompt, accurate responses. Please answer any questions I ask; they're not rhetorical (probably). Any posted code is intended as illustrative example, rather than a solution to your problem to be copied without alteration. Study it to learn how to write your own solution.
    Misson, not Mission.

  3. #3
    krahny's Avatar
    krahny is offline x10Hosting Member krahny is an unknown quantity at this point
    Join Date
    Nov 2009
    Posts
    25

    Smile Re: Javascript window.open specs not working

    Thanks!

    I was using firefox, but when I tried it in IE, it worked.

+ Reply to Thread

Similar Threads

  1. right click JavaScript
    By rolandr in forum Programming Help
    Replies: 2
    Last Post: 10-31-2009, 07:27 PM
  2. Javascript code not working as required..
    By anuj_web in forum Programming Help
    Replies: 3
    Last Post: 04-29-2008, 09:39 PM
  3. Subdomain not working
    By trogenhorse in forum Free Hosting
    Replies: 5
    Last Post: 04-28-2008, 10:57 AM
  4. Site not working
    By Immortal in forum Free Hosting
    Replies: 1
    Last Post: 09-10-2005, 02:49 PM
  5. Subdomain Not Working
    By ak007 in forum Free Hosting
    Replies: 5
    Last Post: 06-12-2005, 11:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers