Accordion menu javascript help

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Accordion menu javascript help
Rizzen
CZ Newbie
Rizzen has been a member for over 16 year's 16 Year Member
Status: Offline
Joined: Feb 03, 2008
0.00 posts per day
Posts: 16
Points: 10
   
I have a javascript that creates an accordion style menu. However I need this script converted into PHP if any one can help me out with that. I have tried myself but I have to be missing a " or a \ somwhere cause it messes up my whole page.

Id like to have this menu as a block on my nuke site but so far my attempts have been less than productive.

Anyways attached is the html version of the page, and the two external script pages. If anyone could convert it for me I would be extremely greatful.



Attached Files
jquery-1.2.2.pack.js (28.63 KB, Downloaded: 1138 Time(s))
Attached Files
ddaccordion.js (10.72 KB, Downloaded: 1136 Time(s))
Attached Files
Accordion Menu.txt (6.07 KB, Downloaded: 1138 Time(s))


Back to top Reply with quote
#2   re: Accordion menu javascript help
baxr6
CZ Newbie
 Codezwiz Site Donator
baxr6 has been a member for over 16 year's 16 Year Member
australia.gif
Age: 52
Status: Offline
Joined: Jan 27, 2008
0.00 posts per day
Posts: 1
Points: 600
   
It may not be much help but I was recently playing around with mootools and came up with this block.....Its not really layed out properly i just whacked it through the block creator to test it.You would also have to get the mootools framework and include it in your header

anyway ive attached the block



and here is the css for it, just whack it in your style.css file in your theme folder.


#accordion li{
   border-bottom:solid 1px #DEDEDE;
}
#accordion li a {
   padding: 3px 6px;
   display: block;
   text-decoration: none;
}

#accordion li a:hover {
   background: #EFEFEF;
}


and the mootools framework is here

[ Register or login to view links on this board.]


Attached Files
block-Test.txt (3.49 KB, Downloaded: 1134 Time(s))


Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum