Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Can I use JS to lock a section of a form in position when scrolling (similar to frames)?


Message #1 by "Arturo Salvador" <arturo@d...> on Fri, 16 Aug 2002 15:16:54
Hi there,

Take a look at the following game FAQ (for MOHAA):

http://www.viol.net/mohaa/wt_forest1.htm

It uses a menu on top of the page that scrolls into view any time you 
scroll the page. It also works in Netscape 4 and Opera (version 6, and 
maybe others as well). It might give you some ideas on how to accomplish 
this.


HtH

Imar



> Basically, I would like to have an area of the form stay always on top 
as 
t> he user scrolls down the page. I would use this area to keep all 
b> uttons/actions available for the form at all times so the user does 
not 
h> ave to scroll to perform a submit for example.

> I can do it on Internet Explorer using function 
document.onreadystatechange
(> ), but this is not supported on Netscape.

> Any ideas on how to make this work on Netscape?

> Thanks!

  Return to Index