www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Client-Side Development > Accessibility

    Accessibility Discussion and technical support for accessibility design issues.

    Reply
     
    Thread Tools Search this Thread Rate Thread Display Modes
      #1  
    Old 02-04-2005, 06:30 AM
    Webskater Webskater is offline
    Trapped in the web
     
    Join Date: Jan 2003
    Posts: 617
    Firefox question

    I know everyone hates IE but can anyone tell me please if Firefox allows you to open modal windows and whether it has a similar window.createPopup() function?
    Reply With Quote
      #2  
    Old 02-04-2005, 06:52 AM
    Fang's Avatar
    Fang Fang is offline
    Resistance is futile
     
    Join Date: Apr 2003
    Location: Netherlands
    Posts: 17,251
    Mozilla supports a 'modal window', one that stays on top.
    Use window.open with the added feature of modal=yes
    Reply With Quote
      #3  
    Old 02-04-2005, 07:36 AM
    Webskater Webskater is offline
    Trapped in the web
     
    Join Date: Jan 2003
    Posts: 617
    Thanks for your answer. But no window.createPopup() type feature?
    Reply With Quote
      #4  
    Old 02-04-2005, 07:49 AM
    Fang's Avatar
    Fang Fang is offline
    Resistance is futile
     
    Join Date: Apr 2003
    Location: Netherlands
    Posts: 17,251
    No, but window.open can give similar results and is supported by more browsers.
    Which particular feature of createPopup is important?
    Reply With Quote
      #5  
    Old 07-20-2005, 12:46 PM
    kfsone kfsone is offline
    Registered User
     
    Join Date: Jul 2005
    Posts: 4
    "window.open" is displayed as a whole other window and can leave the bounds of the parent's frame. window.createPopup is a cross between window.open and a floating/hidden <div>. It just takes some of the hassle out of having to add HTML elements to the page whose sole purpose is to be used by javascript.

    You can probably create something akin to window.createPopup but it means creating (or borrowing) a ton of code for creating and manipulating a floating/hideable div, and it means all your window.document.blah and window.document.body.blah references will have to be converted to window.blah references.

    Personally, I think its more important to support more users than more than more browsers. Hopefully the Firefox team will learn from the Thunderbird team.

    window.open example

    window.createPopup example (styled instance, the color/border are styled not default)

    Last edited by kfsone; 07-20-2005 at 12:49 PM.
    Reply With Quote
      #6  
    Old 07-20-2005, 04:48 PM
    kfsone kfsone is offline
    Registered User
     
    Join Date: Jul 2005
    Posts: 4
    http://msdn.microsoft.com/workshop/s...usingpopup.htm

    has a some demonstrations of what people use createPopup for. The name is misleading because it implies it'll be a popup window, it isn't, it's a set of wrappers around a floating div with all the features of a window.

    And to spare you too long on the Dark Lords site:


    8x--- snip ---x8
    Below is a list of important features of the popup object. Many of these features make the popup object useful for creating custom menus and displaying quick reference information.

    Unlike most window types, popup object does not have border chrome around it. The following graphic is a window with border chrome.



    A popup object always closes when the user clicks away from it or when another popup object is opened.
    The popup object never has focus when it is displayed so processes continue to run in the parent window.
    DHTML that populates the popup object can be stored inside the parent document or in another document.
    The popup object does not support text boxes of any kind.
    No elements inside of the popup object can be selected.
    No navigation can occur inside the popup object itself (clicking a link will launch navigation in the parent window or a new instance of the browser).
    Once displayed, the popup object cannot be moved by the user.
    The popup object cannot be resized by the user.
    Reply With Quote
      #7  
    Old 08-02-2005, 08:11 AM
    tyagi_pankaj_in tyagi_pankaj_in is offline
    Registered User
     
    Join Date: Aug 2005
    Posts: 1
    Smile about window.popup and DIVs

    hi,
    i am new to this group...

    i am also working with same types of issue...

    i think there is also one major difference b/w window.popup and other Divs or windo.open

    window.popup , gives a popup which can be on top of any windowed elements like (<select> i.e). which is not possible by any other alternatives. this is very much required when creating DHTML navigation bar.

    also , i have tried http://msdn.microsoft.com/workshop/s...usingpopup.htm
    in firefox, no feature is working,, that's why ,i am also searching some thing excatly like window.oppuo for firefox and netscape browsers..

    if some body have any suggestions, please let me know..

    With Regards,
    Pankaj Tyagi
    Reply With Quote
      #8  
    Old 08-02-2005, 02:33 PM
    Kravvitz Kravvitz is offline
    CSS & JS/DOM Adept
     
    Join Date: Jul 2005
    Location: USA
    Posts: 3,913
    First of all please start your own threads instead of going off-topic in others peoples'.

    Take a look at this article.
    Reply With Quote
    Reply

    Bookmarks


    Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
     
    Thread Tools Search this Thread
    Search this Thread:

    Advanced Search
    Display Modes Rate This Thread
    Rate This Thread:

    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is Off
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 08:42 PM.



    Acceptable Use Policy

    internet.comMediabistrojusttechjobs.comGraphics.com

    WebMediaBrands Corporate Info


    Advertise | Newsletters | Feedback | Submit News

    Legal Notices | Licensing | Permissions | Privacy Policy

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.