Hi everyone,
I need your help. I need to include external files (menu) on a template depending on the current sub directory. For ie; I have two sub directories:
http://subdomain.domain.com/xx/index.html
http://subdomain.domain.com/yy/index.html
and each sub directory has own menu file.
How to create this conditional script on JavaScript:
if the sub directory is xx include menu-xx.html
if the sub directory is yy include menu-yy.html
else include menu.html
Thanks for your help