Go Back   CodingForums.com > :: Client side development > JavaScript programming > JavaScript frameworks

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 03-11-2011, 01:30 AM   PM User | #1
papiskMUSE
New Coder

 
Join Date: Mar 2011
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
papiskMUSE is an unknown quantity at this point
Smile How to install HoverAccordion jQuery Plugin

Hello Everyone!

I found an excellent menu for my new project and I'm shocked as I have no idea on how to install it. I downloaded both java scripts from the website and I'm still not sure where to put the rest of the code and how?

http://berndmatzner.de/jquery/hoveraccordion/

This is the website, I want to install the 2nd menu which is at the bottom. What code should I put in and where ? in the body or head column?

Thank You

Arnoldas Valys
papiskMUSE is offline   Reply With Quote
Old 03-11-2011, 01:43 AM   PM User | #2
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,437
Thanks: 52
Thanked 454 Times in 452 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
hmmm... seems a little unfinished to me - I couldn't get the first example working at all in IE, FF or Chrome. But I guess the line "This plugin should be considered beta, to say the least" gives fair warning.

Anyway - the one you're interested in seems to do what it's supposed to. There are various parts of code that you have to use - have you tried looking at the source code of the demo page to see what's going on there?
xelawho is offline   Reply With Quote
Old 03-11-2011, 01:46 AM   PM User | #3
papiskMUSE
New Coder

 
Join Date: Mar 2011
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
papiskMUSE is an unknown quantity at this point
Thank You for the quick reply

Ive tried by coping the whole source, but it didn't do anything. =/
papiskMUSE is offline   Reply With Quote
Old 03-11-2011, 02:21 AM   PM User | #4
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,437
Thanks: 52
Thanked 454 Times in 452 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
Quote:
Originally Posted by papiskMUSE View Post
it didn't do anything. =/
bummer. What does the debugger say? can you post a link to your page here?
xelawho is offline   Reply With Quote
Old 03-11-2011, 07:59 AM   PM User | #5
papiskMUSE
New Coder

 
Join Date: Mar 2011
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
papiskMUSE is an unknown quantity at this point
It doesn't seem like the plugin applies to the page =/

http://www.papiskmuse.comlu.com/index2.php
papiskMUSE is offline   Reply With Quote
Old 03-11-2011, 01:03 PM   PM User | #6
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,437
Thanks: 52
Thanked 454 Times in 452 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
I get an error that Jquery is not defined (which can't be good). Do you have the Jquery file jquery.min.js installed into the same directory that you are trying to install the plugin?
xelawho is offline   Reply With Quote
Old 03-11-2011, 01:24 PM   PM User | #7
papiskMUSE
New Coder

 
Join Date: Mar 2011
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
papiskMUSE is an unknown quantity at this point
Yes I have, all 3 files, 2 from plugin and index file is sitting in the same folder.

I don't need the exact menu but something like this is needed, if you know script which looks like this, can you post it here, it would be appreciated.

thanx
papiskMUSE is offline   Reply With Quote
Old 03-11-2011, 02:31 PM   PM User | #8
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,437
Thanks: 52
Thanked 454 Times in 452 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
I don't know what that jquery file is that you have installed (it looks to be source code for a free web hosting page), but it is not what you need. I suggest you replace it with the file here and you will probably be fine.
xelawho is offline   Reply With Quote
Old 03-11-2011, 02:55 PM   PM User | #9
xelawho
Senior Coder

 
xelawho's Avatar
 
Join Date: Nov 2010
Posts: 2,437
Thanks: 52
Thanked 454 Times in 452 Posts
xelawho will become famous soon enoughxelawho will become famous soon enough
no, I take that back - it looks like you don't have that file installed in the directory at all. Or it is named incorrectly.

but regardless. just download the jquery 1.4.4 minified file from the link I sent you into the same directory with index2. I think you will either have to rename it or the reference to it in your source code so they point to each other, but apart from that you shouldn't have a problem.
xelawho is offline   Reply With Quote
Old 03-11-2011, 04:39 PM   PM User | #10
papiskMUSE
New Coder

 
Join Date: Mar 2011
Posts: 17
Thanks: 0
Thanked 0 Times in 0 Posts
papiskMUSE is an unknown quantity at this point
sorry for me lack of knowledge? what exactly should i rename them both so that they actually work?
papiskMUSE is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 08:59 AM.


Advertisement
Log in to turn off these ads.