|
-
Dec 14th, 2000, 08:49 PM
#1
Thread Starter
New Member
On a page I have, there is a menu section on the left, containing a lot of HTML. My question is, is there anyway I can possibly point to "leftmenu.js" or something? That way I won't have to update every page if I want to change the menu.
-
Dec 14th, 2000, 10:28 PM
#2
Frenzied Member
not sure what your asking but toinclude a .js file:
<SCRIPT language="javascript" src="../file.js">
</SCRIPT>
-
Dec 15th, 2000, 07:01 PM
#3
Thread Starter
New Member
Yeah, I know how to do that.
Just wondering if it will work by somehow using the document.write thing.
I think JavaScript has a limit of how many characters can be between ' and ', so it might be kind of hard.
-
Dec 16th, 2000, 02:11 PM
#4
Frenzied Member
a ok, i tried it once to put a full html page in a javascipt
variable, and it work! with asp too!but don't forget
to put a line (\n->javascript,vbcrlf->asp)so that if you
check your code after it wont be on one line!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|