Not signed in (Sign In)

Vanilla 1.0.3 is a product of Lussumo. More Information: Documentation, Community Support.

    • CommentAuthorAskarus
    • CommentTimeDec 20th 2006 edited
     
    I am working on a site,

    (link removed for legality)

    I have made it so when you open the flash demos, it gives you a window with no address, status, scroll bars.

    This works great in IE 6 and FF but IE 7 isnt doing anything.

    Does anybody know why this is? is my javascript wrong or is IE 7 just not listening to me.
    •  
      CommentAuthorkepler
    • CommentTimeDec 20th 2006
     
    I don't think you can control this through JavaScript. IE7 has a setting in tools->Internet Options->General->Change how webpages are displayed in tabs->When a popup is encountered. If you have this set to "Always open a pop-up in a new tab" wondow.open() cannot create a new instance of the browser and the window features are ignored. By changing the setting to "Let Internet Explorer decide how pop-ups should be opened", you will get the behavior you are looking for. The control is in the hands of the end user now.
    • CommentAuthorrobert
    • CommentTimeFeb 26th 2007 edited
     
    By default, the open method creates a window that has a default width and height and the standard menu, toolbar, and other features of Internet Explorer. You can alter this set of features by using the parameter. This parameter is a string consisting of one or more feature settings.

    "resizable" can be set to yes or no to indicate whether or not the new window can be resized. Note that this is a recommendation only as many browsers do not allow you to disable resizing of windows. Setting this to no will disable tabs in IE7.

    try this

    myWindow = window.open('test.htm','myWindow','menubar=no,width=10,height=10,toolbar=no,
    directories=no,resizable=no,scrollbars=no,location=no,status=yes');

    IE7 adds another bar (address type bar) that displays the URL of the page.

    you can add script like:

    width = width + (browserVersion() == 7 ? -6 : 0);
    height = height + (browserVersion() == 7 ? -48 : 0);

    good luck.


    software reviews
    • CommentAuthorJohnny
    • CommentTimeJun 10th 2007 edited
     
    Thanks robert, very informative Post, i had the same problem with one of my Gaming websites.

    John - Abstract web designer and Directory network owner.

  1.  
    Instead of opening a new window you could create a limpet object which gets loaded over the top of your other html using the css z-index attribute the same way a sucker-fish menu works -

    http://www.htmldog.com/articles/suckerfish/dropdowns/

    That way your object is less likely get blocked like a popup.
    ___
    Posted by Demonz Media web design Sydney
    • CommentAuthorTeKn1qu3z
    • CommentTimeOct 11th 2007 edited
     
    Internet Explorer is the worst browser out there. Switch to firefox, much better.


    _____________________________
    Discounted Software Here!!