[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

?? Retaining JS Vars Across Reloads ??

When I resize a window (manually at the user interface, that is), Netscape
reloads the main frame and all of its contents.  This has the very undesirable
effect of zapping my JS variables.  

Is there any way to retain the state of the variables so that I can include an
onLoad parameter in the <frameset> tag and/or <body> tag and restore the
variables?  The only way I can think of is using cookies.  Even this is not a
complete solution since there is no guarantee that the code will successfully
store all variables in cookies before any given reload.  (In addition, I don't
think this is exactly the intent of cookies.)  The code would also have to be
able to distinguish between the first time it is invoked and subsequent reloads.




This message came from the mailing list javascript. For help using the
mailing list software, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.