Two Javascript questions:
(1) Thoughts on how to make an externally referenced JS file as persistent
as possible? I'm working on a site where a long and complex Javascript is
used to create a collapsing menu system, and I want to avoid loading the
script every single time a user accesses one of the many pages on the
site.
I recall reading somewhere that JS files get "special treatment" in the
cache (Netscape, at least) as compared to other kinds of files, but I can't
recall the details -- anyone know about this?
Conversely, I'm also looking at "load once, run many" routes such as
stuffing the script in a hidden frameset inside which the rest of the site
would be nested, but this would cause the usual frames problems as far as
I can tell: bookmarking screwed up, etc.
Suggestions?
Also, where can I find a complete listing of default JS document properties
affecting layout and display -- background color, font, etc? I had such a
reference bookmarked, but can't find it now... I'm doing up a "page
customization" script, and want to give users control over as many
aspects of the display as possible.
-----------
Brent Eades, Almonte, Ontario
E-mail: [EMAIL PROTECTED]
[EMAIL PROTECTED]
Town of Almonte site: http://www.almonte.com/
Business site: http://www.federalweb.com
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------