I am creating a web site that uses the same javascript pulldown menu throughout
the site. How can I cache the script to keep it from reloading on each page
(without using frames)?
Printable View
I am creating a web site that uses the same javascript pulldown menu throughout
the site. How can I cache the script to keep it from reloading on each page
(without using frames)?
"csinar" <csinar@umich.edu> wrote in message news:3cfb9b2d$1@10.1.10.29...
>
> I am creating a web site that uses the same javascript pulldown menu
throughout
> the site. How can I cache the script to keep it from reloading on each
page
> (without using frames)?
If you put it into a separate file, then most browsers will cache this just
like an image.
Use this syntax: <script language="JavaScript" src="myscript.js"></script>