The Artima Developer Community
Sponsored Link

Java Answers Forum
Please,help me

3 replies on 1 page. Most recent reply: Jul 11, 2003 3:38 PM by Sarah

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 3 replies on 1 page
Sarah

Posts: 4
Nickname: sarah
Registered: Jul, 2003

Please,help me Posted: Jul 10, 2003 1:51 PM
Reply to this message Reply
Advertisement
Hi
please, i want to ask you question.... please help me
i did menu (on the left of webpage) when you click on the item ,the submenu of this item appeares on the right, using javascript
but i had problem,if the page is opening and the user try to resize the window or change the resolution
he must refresh the webpage to keep submenu position ,the question is:
how can i keep the position of hte submenu without refresh the webpage?Is there function that refresh the page automatically when the window size chaneges?thanks alot


coffeeFish

Posts: 1
Nickname: pyyukiki
Registered: Jul, 2003

Re: Please,help me Posted: Jul 10, 2003 7:34 PM
Reply to this message Reply
may be you can use the frame.

Erik Price

Posts: 39
Nickname: erikprice
Registered: Mar, 2003

Re: Please,help me Posted: Jul 11, 2003 10:28 AM
Reply to this message Reply
This page should help you -- you can write a function that you want executed whenever the page is resized (it can manually refresh the page, or better yet, simply re-execute your JavaScript code), then use the window.onResize event handler to execute your function.

http://developer.netscape.com/docs/technote/javascript/eventhandler/eventhandler.htm#onResize

Sarah

Posts: 4
Nickname: sarah
Registered: Jul, 2003

Re: Please,help me Posted: Jul 11, 2003 3:38 PM
Reply to this message Reply
Dear Erik Price and CoffeeFish
Thank you very much for your help
I used OnResize function to solve the problem
Thank you

Flat View: This topic has 3 replies on 1 page
Topic: Always on Top Previous Topic   Next Topic Topic: Simple method - requires urgent help!

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use