Archive for the 'yui' Category

Fancy Faq

Friday, November 7th, 2008

This is a script I wrote a while back and wanted to share. The idea is to make frequently ask question (faq) pages easier to browse by toggling the visibility of the answers.  The solution is unobtrusive and fails quietly if the user doesn’t have javascript enabled. Example: Test 1 Lorem ipsum dolor sit amet, [...]

Read the rest of this entry »

I ran into a problem where I wanted one single array of all of the pages list items’s where the only thing they had in common was that the parent parent node has a class name of  ”tabs”. Here is a slimed down version of what I had:  <div main="main"> <div class="tabs"> <ul> <li>One</li> </ul> [...]

Read the rest of this entry »