Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here


User Resolution and Popup menus Problem

User Resolution and Popup menus Problem

User Resolution and Popup menus Problem

   Sorry to add yet another post about the popup menus but I have a bit of a problem in that the slice from which the popup menu originates is centered in my document and as a result the popup menus that I originally created are out of place. However this is NOT the problem as I changed the coordinates of the menu to fix this and all was well until I tried my page on a different resolution when the coordinates are all wrong again. Is there anyway in the javascript to detect the screen resolution and to change the coordinates to some thing else? It might just be an if.. loop but the trouble is that It doesn't seem that the OnMouseOver="" allows this, I am unsure.  Any help appreciated



RE: User Resolution and Popup menus Problem

well you could have 2 versions of the page

one for 800x600 and another for 1024x768 and have javascript detect resolution and redirect

other than that it is easier to build your popups using layers with the hide/show javascript

and the project seven auto hide layers extension

much easier...also get the snap layers extension

Nike Failed Slogans -- "Just Don't Do It!"

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close