1. No Profile Picture
    Devshed Newbie (0 - 499 posts)

    Other than specifying whether I want to open a new blank window or child window, etc... Is there a way to specify how big I want the new window to be. Does the target attribute have any way of specifying this?
  2. #2
  3. No Profile Picture
    Devshed Newbie (0 - 499 posts)

    You do that with JavaScript:

  4. #3
  5. No Profile Picture
    Devshed Newbie (0 - 499 posts)
    Insert this JavaScript in the HEAD tags:

    <!-- Hide from old browsers
    function floater() {
    // Stop hiding from old browsers -->

    In the actual link insert this:
    <A onClick="floater()" HREF="xyz.htm" TARGET="floater"><img SRC="enterbutton.jpg" border=0 height=19 width=72></A>

    In the JavaScript, change the Height and width as you want. In the same script, Left=50, Top=25, designates the position where the new windo will open. If you want tool bars and other wondo junk, change the nos to yes.

    Hope that helps.

Similar Threads

  1. Replies: 1
    Last Post: November 20th, 2003, 01:43 AM
  2. Replies: 1
    Last Post: July 9th, 2003, 10:02 AM
  3. Opening a popup window if condition is met
    By camcim in forum PHP Development
    Replies: 3
    Last Post: February 5th, 2003, 08:32 AM
  4. opening new window and passing parameter
    By rajensama in forum HTML Programming
    Replies: 1
    Last Post: August 23rd, 2001, 08:38 AM
  5. custom everything in new window, how?
    By edwinx in forum HTML Programming
    Replies: 6
    Last Post: June 29th, 2001, 01:06 AM

IMN logo majestic logo threadwatch logo seochat tools logo