SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Enthusiast
    Join Date
    Jul 2003
    Location
    UK
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question popup with no title option

    Hi

    Can anyone point me to a popup window script that allows you to remove the title bar?

    Thanks,

    Mark

  2. #2
    011521 dbalsdon's Avatar
    Join Date
    Feb 2003
    Location
    North Of Scotland
    Posts
    444
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    i'm not sure if its possible using javascript on its own...however, you can create a popup window using DHTML which you can be made to look exactly like you want it too...
    http://www.enjoybeing.net/asp_eb/article.asp?ID=3
    Daniel Balsdon
    My Site

  3. #3
    SitePoint Zealot Arkkimaagi's Avatar
    Join Date
    Mar 2002
    Location
    Lappeenranta, Finland
    Posts
    176
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If I remember correctly, this could be done in some IE version.

    First make a new page to fullscreen mode, then resize it with scripts.

    Those are annoying thou, so do not exploit it.

    Sorry, no url.

  4. #4
    I'll take mine raw silver trophy MikeFoster's Avatar
    Join Date
    Dec 2002
    Location
    Alabama, USA
    Posts
    2,560
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Perhaps this...

    Code:
    function CWindow(name, w, h, x, y, loc, men, res, scr, sta, too)
    {
      var f = '';
      if (w && h) {
        if (document.layers) f = 'screenX=' + x + ',screenY=' + y;
        else f = 'left=' + x + ',top=' + y;
        f += ',width=' + w + ',height=' + h + ',';
      }
      f += ('location='+loc+',menubar='+men+',resizable='+res
        +',scrollbars='+scr+',status='+sta+',toolbar='+too);
      this.features = f;
      this.name = name;
      this.load = function(sUrl) {
        if (this.wnd && !this.wnd.closed) this.wnd.location.href = sUrl;
        else this.wnd = window.open(sUrl, this.name, this.features);
        this.wnd.focus();
        return false;
      }
    }

  5. #5
    I'll take mine raw silver trophy MikeFoster's Avatar
    Join Date
    Dec 2002
    Location
    Alabama, USA
    Posts
    2,560
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Oops! Obviously I'm not awake yet

    The titlebar can't be removed with the above script, sorry.

  6. #6
    SitePoint Enthusiast
    Join Date
    Jul 2003
    Location
    UK
    Posts
    32
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for the information guys, much appreciated!

    Mark


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
  •