vcherubini
Programmer
Hello:
I am wondering if there is a way to get the name of the current document using DOM or any other JavaScript method?
I am wondering this because I want to have a .js file where if the page name is one thing, then it prints out a certain piece of html, but if it is another name, then it prints out different html. Is there anyway to do this?
Any and all help is always appreciated.
Thanks.
-Vic
vic cherubini
malice365@hotmail.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
Wants to Know: Java, Cold Fusion, Tcl/TK
====
I am wondering if there is a way to get the name of the current document using DOM or any other JavaScript method?
I am wondering this because I want to have a .js file where if the page name is one thing, then it prints out a certain piece of html, but if it is another name, then it prints out different html. Is there anyway to do this?
Any and all help is always appreciated.
Thanks.
-Vic
vic cherubini
malice365@hotmail.com
====
Knows: Perl, HTML, JavScript, C/C++, PHP, Flash, Director
Wants to Know: Java, Cold Fusion, Tcl/TK
====