W
William F. Robertson, Jr.
My problem is I routinely use both vbscript and javascript (yes, that is a
problem in itself) on the same webpage. I feel placing the "javscript:" or
"vbscript:" on all my client side events is bloating the size of my page,
especially in my menu.
I am aware the "default" language of the page is the first defined script,
but I can not guarantee javascript will always be defined first. Is there a
way to wrap a block of html to have a default language? I was hoping to
accomplish this through a div wrapper, but that did not work.
I have about 17,000 links like this all in a row. Well, it really isn't
that many, but you can see the code bloat coming.
<a onclick="javascript: GoTo( "/page.aspx" );">page</a>
....
Any ideas or suggestions for this?
Thanks,
bill
problem in itself) on the same webpage. I feel placing the "javscript:" or
"vbscript:" on all my client side events is bloating the size of my page,
especially in my menu.
I am aware the "default" language of the page is the first defined script,
but I can not guarantee javascript will always be defined first. Is there a
way to wrap a block of html to have a default language? I was hoping to
accomplish this through a div wrapper, but that did not work.
I have about 17,000 links like this all in a row. Well, it really isn't
that many, but you can see the code bloat coming.
<a onclick="javascript: GoTo( "/page.aspx" );">page</a>
....
Any ideas or suggestions for this?
Thanks,
bill