SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Member
    Join Date
    Mar 2006
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    pop-up properties

    hi i have this code
    Code:
    <script language="javascript" type="text/javascript">
    
     window.resizeTo(400,400);
    
    </script>
    and i want to make some options to it like scroolbars=no,resizable=no,menubar=no
    can someone please write it here
    it will be great
    cheers

  2. #2
    d^_^b Iain G's Avatar
    Join Date
    Nov 2005
    Location
    Gloucester, UK
    Posts
    262
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    http://www.quirksmode.org/js/popup.html

    This is a good introduction to setting a popup's properties.
    Coding and design philosophy:
    Keep It Simple, Stoopid

  3. #3
    SitePoint Member
    Join Date
    Mar 2006
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    if i add this
    Code:
    newwindow=window.open('Voting Results','height=400,width=400,menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=no');
    it doesnt work.. any help?


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
  •