New window excact size?


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: New window excact size?

  1. #1
    Join Date
    Apr 2003
    Posts
    2

    New window excact size?

    Wich code do I have to put in if I want the new window wich pop ups to be in an excact size (like 200x100)?
    I suppose it's something to do with JavaScript coding, am I right?

    Anyway any answers will be appreciated.

    Thanks whoever answers.

  2. #2
    Join Date
    Sep 2002
    Posts
    124
    Hi, JavaNerd

    The following link contains the sort of JavaScript code that you're after...

    http://www.experts-exchange.com/Web/..._20102060.html

    Hope it helps,
    Joyous Monkey

  3. #3
    Join Date
    Apr 2003
    Posts
    2
    Thank alot
    but
    it wasn't on the page itself wich needed it.

    It was a simple text with an url, when clicked on, would pop up a window like that.

    Sorry for any missunderstanding.

    -----
    btw the code wich is pasted at that url, sure it seems to work, but how do I put it in an url link text?

  4. #4
    Join Date
    Sep 2002
    Posts
    124
    Hello again.

    Sorry if there was any misunderstanding...

    If you wish to set the size of a browser window using JavaScript you're going to have to make use of a small script to do this. Below is another link which shows how this may be done. ..

    http://www.cybertext.com.au/tips_HTML_window_size.htm

    In this example it defines the size as 500 by 300, so if you want it to be 200 by 100, just use these numbers instead. It is going to be a case of experimenting to get the effect that you want, but this should not be too difficult.

    Best regards,
    JM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center