I have this JavaScript that should set the class attribute of the DIV#main to e.g. "1200pluss" or whatever, depending on window width -- but I can't get it to work! This is the script:
function getBrowserWidth()
{
if (window.innerWidth)
{
return window.innerWidth;
}
else...
I have a problem with a bit of XSLT that is parsing a submenu twice. What I need is this:
<ul id="meny">
<li><a href="">Menu 1</a></li>
<li><a href="">Menu 2</a>
<ul>
<li><a href="">Menu 2-1</a></li>
<li><a href="">Menu 2-2</a></li>
</ul>
</li>
<li><a href="">Menu...
Hi all!
I have something of a basic question. It seems I was even more out of practice than I thought when I took on this job ...
The XSLT below generates a menu in the form of an Unordered List. I've managed to make it appear where I want it, but I also need to assign a different .CLASS to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.