SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Thread: show a popup

  1. #1
    SitePoint Member
    Join Date
    Apr 2010
    Posts
    17
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    show a popup

    To show a popup, we can use a dialog (div) or a window, which way will be better, pros and cons ?

    Thanks.

  2. #2
    billycundiff{float:left;} silver trophybronze trophy RyanReese's Avatar
    Join Date
    Oct 2008
    Location
    Whiteford, Maryland, United States
    Posts
    13,564
    Mentioned
    6 Post(s)
    Tagged
    0 Thread(s)
    Most users have popups disabled and most find popup windows annoying just because they could open it in a new window if they please. They don't like the site doing it for them.

    A dialog div would be best because it doesn't open a new page and most users are accustom to it
    Twitter-@Ryan_Reese09
    http://www.ryanreese.us -Always looking for web design/development work

  3. #3
    SitePoint Evangelist Ed Seedhouse's Avatar
    Join Date
    Aug 2006
    Location
    Victoria, B.C. Canada
    Posts
    592
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by czy11421 View Post
    To show a popup, we can use a dialog (div) or a window, which way will be better, pros and cons ?
    Well, you overlooked the right solution, which is: don't do it.
    Ed Seedhouse

  4. #4
    SitePoint Enthusiast ChrisXPPro's Avatar
    Join Date
    Apr 2010
    Location
    PA 15521
    Posts
    41
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    May I suggest - the use of "Highslide" for a sorta pop up (easily found with a search) ......... I have found this to be an excellent approach to the need for pop ups within a window and so, space saving too. It is useful for images and text equally.

    On this page - http://www.thingameez.com/ - there are two cartoons using it and also the "Remind Yourself about the 2a" which opens a text box.


Bookmarks

Posting Permissions

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