Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: Tiram
  • Content: Threads
  • Order by date
  1. Tiram

    Trying to set the attribute to an element without much success:\

    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...
  2. Tiram

    Menu items parsed twice

    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...
  3. Tiram

    :choose CSS-class

    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...

Part and Inventory Search

Back
Top