S
Stapes
Hi
I am new to javascript. I have a website running in .net, that has a
load of these in the <head section of the default.aspx page, which
bumps the page size up to 371kb. However, many of these are only used
in one 'skin', or page in the system. Is there any way I can put these
scripts elsewhere, so they are only loaded when they are needed. Then
every webpage will not have to be so enormous?
This is the sort of thing I am talking about:
<script type="text/javascript" src="<%= Page.ResolveUrl("js/
swfobject.js") %>"></script>
Stapes
I am new to javascript. I have a website running in .net, that has a
load of these in the <head section of the default.aspx page, which
bumps the page size up to 371kb. However, many of these are only used
in one 'skin', or page in the system. Is there any way I can put these
scripts elsewhere, so they are only loaded when they are needed. Then
every webpage will not have to be so enormous?
This is the sort of thing I am talking about:
<script type="text/javascript" src="<%= Page.ResolveUrl("js/
swfobject.js") %>"></script>
Stapes