aioun
09-14-2001, 02:13 PM
i am a total novice w/javascript and desperately need someone's help!
i need to create 3 different layouts based on what hostname the user is coming from. for example, i have 3 web sites:
my.internet.com
my.intranet.com
my.compnay.com
for each of these web sites i have 3 different look and feels.
i was wondering if there was a way in javascript to say:
if the hostname = my.internet.com then display this html code.
if the hostname = my.intranet.com then display this html code
else display this html code.
can someone help me???
i need to create 3 different layouts based on what hostname the user is coming from. for example, i have 3 web sites:
my.internet.com
my.intranet.com
my.compnay.com
for each of these web sites i have 3 different look and feels.
i was wondering if there was a way in javascript to say:
if the hostname = my.internet.com then display this html code.
if the hostname = my.intranet.com then display this html code
else display this html code.
can someone help me???