Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    screen res options

    Im trying to use javascript to open a new window (about 500pxx300px)

    The problem i am having is :

    if the screen res is set @ 1024 i want to open a small window and place it at x,y coordinates.

    if the screen res is set @ 800 i want to open a small window at a different set of coordinates.

    Is there a script to do this?

  • #2
    Regular Coder
    Join Date
    Jun 2002
    Posts
    623
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Look for a resolution redirect script and remove where it document.writes a page for each resolution and in its place put your 2 popup scripts.

  • #3
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sorry i should have been a little more clear...

    I want to be able to click on an image which will open a new window with only a larger image and a close box.

    If the users screen res is set at 1024 i would like the new window to display at x,y coordinates.

    If the users screen is set at 800 i would like the new window to display at x150,y275 coordinates.

    thank you in advance

  • #4
    New to the CF scene
    Join Date
    Jul 2002
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    sorry i should have been a little more clear...

    I want to be able to click on an image which will open a new window with only a larger image and a close box.

    If the users screen res is set at 1024 i would like the new window to display at x,y coordinates.

    If the users screen is set at 800 i would like the new window to display at x150,y275 coordinates.

    thank you in advance


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •