SitePoint Sponsor

User Tag List

Results 1 to 19 of 19
  1. #1
    SitePoint Enthusiast xteriormotive's Avatar
    Join Date
    Jul 2002
    Location
    Pasadena, CA
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    CSS Borderless Pop Up Window

    I had a code last year for bringing a window open (eg, clicking a link on a page to open a sized window, say
    815 X 535) and it contained none of the normal open browser window features...no border, and you could designate what colors appeared...etc.

    Anyone know where I might find this again, its driving me nuts.

    S. Conrad
    Creative Director
    www.placidminds.com


  2. #2
    SitePoint Wizard Rick's Avatar
    Join Date
    Oct 2002
    Location
    Lancashire, UK
    Posts
    3,847
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I remeber seeing something like that on Webmonkey.com - it loaded a frame with no border or anything that users could move around the page as they liked and close it using a link provided by you, if you didn't provide a link there was no-way for the user to close the window.

    Can I just say that I as many users would, find this very annoying if it pops up unrequested, for the sake of your users I hope you are only going to let it pop-up if the users clicks on a link wanting the infomation it offers!

    If I can find the article for you I will have a look, I happen to be on webmonkey at the moment so I'll run a search when I'm done.

    Good Luck, Hope this helps

    Rick
    Rick

  3. #3
    SitePoint Enthusiast xteriormotive's Avatar
    Join Date
    Jul 2002
    Location
    Pasadena, CA
    Posts
    36
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I am looking for it to simply contain a design a customized bordered window, non Windows default styling...they would have to click the link to get into the site obviously.
    S. Conrad
    Creative Director
    www.placidminds.com


  4. #4
    The Legend Indian's Avatar
    Join Date
    Nov 2001
    Location
    Gods' Own Country
    Posts
    890
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Death --the last sleep? No, it is the final awakening.

    TinyPlanet.org
    Discuss and Debate World Events, Politics and Religion

  5. #5
    SitePoint Wizard Ian Glass's Avatar
    Join Date
    Oct 2001
    Location
    Beyond yonder
    Posts
    2,384
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Also, remember it's IE specific, and like zoo said, that's a really easy way to irritate your visitors, so be careful with the power and use it wisely. ;-)

    If you do a search on SitePoint on "chromeless windows," I think you'll find it here berried in a few of these here threads. :-)

    EDIT: Argh, Indian! :-p

    ~~Ian

  6. #6
    The Legend Indian's Avatar
    Join Date
    Nov 2001
    Location
    Gods' Own Country
    Posts
    890
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ugh!
    Death --the last sleep? No, it is the final awakening.

    TinyPlanet.org
    Discuss and Debate World Events, Politics and Religion

  7. #7
    SitePoint Wizard Rick's Avatar
    Join Date
    Oct 2002
    Location
    Lancashire, UK
    Posts
    3,847
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I thought xteriormotive was after a smaller pop-up rather than a whole screen one, and I'm pretty sure I have seen what he means on Webmonkey but can't find it - sorry

    As for those windows that pop-up and fill the whole screen they don't just irritate me, they drive me mad - forcing me to leave a site!

    When I am online I normally have at least 2 IM windows open and around 20 instances of IE or Netscape 6 (depending on what mood I'm in) running. If a site is good enough for me to devote all my attention to it will get it, but in general I need to switch between windows and IM's rapidly and frequently. I simply refuse to have a site 'imposed' upon me like that - it simply forces me to leave, even though it may have exactly what I'm looking for on it, although in general the better sites don't do this - can you imagine SitePoint or Site Point Forums doing this - I doubt it somehow.

    Rick
    Rick

  8. #8
    The Legend Indian's Avatar
    Join Date
    Nov 2001
    Location
    Gods' Own Country
    Posts
    890
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by zoo
    I thought xteriormotive was after a smaller pop-up rather than a whole screen one,
    Put the following link code in the <body> of your page to open your chromeless window:

    <a href="javascript:openIT('http://the_url_of_my_chromeless_window.html', 400, 300, 'name of my chromeless window');">Text for your link here</a>

    Change "Text for your link here" to whatever you want your link text to be. You will, of course, need to create a separate HTML document for your chromeless pop-up window and enter its filename or URL in the above code. You will also need to enter the size of the window, for example: 400 (width), 300 (height), and its title.
    Death --the last sleep? No, it is the final awakening.

    TinyPlanet.org
    Discuss and Debate World Events, Politics and Religion

  9. #9
    SitePoint Wizard Rick's Avatar
    Join Date
    Oct 2002
    Location
    Lancashire, UK
    Posts
    3,847
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Won't the window that this script creates have borders and buttons / title etc at the top - I thought the idea was to avoid this.

    I have seen it done somewhere and its driving me MAD!

    Also this code just produced an error when run in my browser IE 6, doesn't it need code in the header or something to work properly?

    Rick
    Rick

  10. #10
    The Legend Indian's Avatar
    Join Date
    Nov 2001
    Location
    Gods' Own Country
    Posts
    890
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    IE6

    Also this code just produced an error when run in my browser IE 6
    Well, the problem is with 'name of my chromeless window' part.
    Code:
    <a href="javascript:openIT('http://the_url_of_my_chromeless_window.html', 400, 300, 'name of my chromeless window');">
    Text for your link here</a>
    I just put one word without any space and there was no error. But it still opens in fullscreen. :(
    Last edited by Indian; Oct 29, 2002 at 13:13.
    Death --the last sleep? No, it is the final awakening.

    TinyPlanet.org
    Discuss and Debate World Events, Politics and Religion

  11. #11
    SitePoint Wizard Rick's Avatar
    Join Date
    Oct 2002
    Location
    Lancashire, UK
    Posts
    3,847
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I tried that - it still produces an error in IE6

    I don't think he wanted a full screen window anyway, - did u?

    Rick
    Rick

  12. #12
    The Legend Indian's Avatar
    Join Date
    Nov 2001
    Location
    Gods' Own Country
    Posts
    890
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by zoo

    I don't think he wanted a full screen window anyway, - did u?

    Rick
    No..No! This script is supposed to open a small window. But it looks like that it does not work in IE6 that way. It may work in previous versions of IE. Anyway, just as ..er.. "Whatshisname" said, it is IE specific. So, well... it is useless. Sorry!

    Or Someone may be able to debug the script?

    Edit :
    Warning! The Chromeless Window script currently does NOT work in Windows XP from SP1 (Service Pack 1) and thereon after. The problem is due to a changed behavior in XP that prevents Chromeless Windows all together (security update). We're still observing to see if this behavior will be changed soon, though if not, may have to remove this script altogether. If you wish to use Chromeless Windows, please make sure you understand the above -Oct 28th, 2002.
    http://www.dynamicdrive.com/dynamici...chromeless.htm
    Last edited by Indian; Oct 29, 2002 at 14:20.
    Death --the last sleep? No, it is the final awakening.

    TinyPlanet.org
    Discuss and Debate World Events, Politics and Religion

  13. #13
    Phil fillup07's Avatar
    Join Date
    May 2002
    Location
    Jacksonville, FL
    Posts
    1,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I just used that script on IE 6, had errors, but fixed it by replacing the title with one word, adding a real url, and adding quotations around "Javascript" in both places in the header.

  14. #14
    The Legend Indian's Avatar
    Join Date
    Nov 2001
    Location
    Gods' Own Country
    Posts
    890
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by fillup07
    I just used that script on IE 6, had errors, but fixed it by replacing the title with one word, adding a real url, and adding quotations around "Javascript" in both places in the header.
    Did you get a small window or fullscreen window?
    Death --the last sleep? No, it is the final awakening.

    TinyPlanet.org
    Discuss and Debate World Events, Politics and Religion

  15. #15
    Mlle. Ledoyen silver trophy seanf's Avatar
    Join Date
    Jan 2001
    Location
    UK
    Posts
    7,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Moved to a more appropriate forum

    Sean
    Harry Potter

    -- You lived inside my world so softly
    -- Protected only by the kindness of your nature

  16. #16
    SitePoint Member
    Join Date
    Nov 2002
    Location
    Austin, TX
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just currious if anyone has solved this? I am trying to make a pop up very similar to this that will be about 200x200 and be just big enough for someone to select a few options ant then click a submit button. I am doing it in a pop up because there is so little on this page it will look silly in the full window.
    Argash
    argash@argash.com
    www.argash.com

  17. #17
    Sultan of Ping jofa's Avatar
    Join Date
    Mar 2002
    Location
    SvÝ■jˇ­
    Posts
    4,080
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Do you have to open a new window?
    Why can't you show/hide a div that looks like a window?

  18. #18
    SitePoint Member
    Join Date
    Nov 2002
    Location
    Austin, TX
    Posts
    7
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Yeah I want the window to pop up and I actually figured it out from some help of this page and several others heres the code to do it and it works on IE6 and N6 both under XP:

    PHP Code:
    echo("<div align=\"center\"><a href=\"#\" onClick=\"javascript:window.open('/admin.php?module=$ModName&op=main','popup', 'height=250,resizable=no,width=400', 'Admin-Panel');\">Admin Panel Pop-Up</a></div>"); 
    keep in mind I'm doing this in a PHP script but it should give you the right idea of whats needed.
    Argash
    argash@argash.com
    www.argash.com

  19. #19
    Phil fillup07's Avatar
    Join Date
    May 2002
    Location
    Jacksonville, FL
    Posts
    1,168
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Originally posted by Indian

    Did you get a small window or fullscreen window?
    Fullscreen, like it was supposed to be.


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
  •