Pez002 Posted April 14, 2008 Share Posted April 14, 2008 I'm helping to put together a store for some folks, and was trying to integrate the following code into the navigation box. <ul> <li id=click1 class="expand" onclick="toggle( this )">Click to Expand/Collapse <ul onclick="cancel( event )"> <li id=click1a class="expand" onclick="toggle( this )">Click Again <ul onclick="cancel( event )"> <li>Black</li> <li>Green</li> <li>Red</li> </ul> </li> <li id=click1b class="hide" onclick="toggle( this )">Click Again <ul onclick="cancel( event )"> <li>Oats</li> <li>Honey</li> <li>Wheat</li> </ul> </li> <li id=click1c class="hide" onclick="toggle( this )">Click Again <ul onclick="cancel( event )"> <li>Mountain</li> <li>Spring</li> <li>Bottle</li> </ul> </li> </ul> </li> <li id=click2 class="hide" onclick="toggle( this )">Click to Expand/Collapse <ul onclick="cancel( event )"> <li>This is a test A</li> <li>This is a test B</li> <li>This is a test C</li> </ul> </li> <li id=click3 class="hide" onclick="toggle( this )">Click to Expand/Collapse <ul onclick="cancel( event )"> <li>This is a test I</li> <li>This is a test II</li> <li>This is a test III</li> </ul> </li> </ul> I need this to combine with the current (ie: stock) PHP, which calls up the info it needs (names of categories and such) and inserts it into the code automatically. Although I'm fairly proficient with HTML, I can barely tread water when it comes to PHP, so I have absolutely no idea where to begin. Can someone point me in the right direction? Um.... also, I hadn't meant to post this yet. Accidental enter and all. (hence the abruptly ending topic description) Unless someone can tell me how to delete a topic, and not just edit it, I'd be much obliged ;) Link to comment Share on other sites More sharing options...
Pez002 Posted April 17, 2008 Author Share Posted April 17, 2008 bumping, hoping for a response. :( Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.