SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Thread: page properties

  1. #1
    SitePoint Member codeBreaker's Avatar
    Join Date
    Aug 2003
    Location
    Houston
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question page properties

    i want to set page properties within the page itself. i can easily open a new window, but i don't want to have to do that. width, height, toolbar, scroolbar, navigation, etc... it seems like i've done this before, but for some reason i'm drawing a blank. any suggestions out there?

  2. #2
    ☆★☆★ silver trophy vgarcia's Avatar
    Join Date
    Jan 2002
    Location
    in transition
    Posts
    21,235
    Mentioned
    1 Post(s)
    Tagged
    1 Thread(s)
    Try this:
    Code:
    window.open('page.html', 'bob', 'width=200, height=400, scrollbars=no');
    This will open a page.html in a new window called "bob", and it will measure 200x400 with no scrollbars. Hope this helps!

    Also a very good resource: http://www.webclass.ru/eng/Tutorials...roperties.html

  3. #3
    SitePoint Member codeBreaker's Avatar
    Join Date
    Aug 2003
    Location
    Houston
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks, but I don't want to open a new window. Can I do this within the page itself?


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
  •