a question about expanding menus...

Tomorrow / 2008-09-28 20:47:58   

i have a question... and i may be way out of it with this one...

is there a way to have some sections expand and some not.

example...
say i only want the "work" section to expand and contract... and just always have "contact" and "about" available.

i guess i am asking... can some sections expand and some not in the same index file.

just wondering.

clint.

Vaska A / 2008-09-28 20:53:03   

then why have a section that doesn't expand at all?

Tomorrow / 2008-09-28 21:06:42   

because i just want the work menu to expand... only. the others stay available at all times.

am i making sense?

Vaska A / 2008-09-28 21:09:21   

I see...yes, it's possible. It's just some code...

Tomorrow / 2008-09-28 21:14:11   

interesting...

cool.

(it will take a while before i can figure that stuff out.)

JOSHUNHAPPY / 2008-10-01 16:40:18   

ambush‚Ñ¢

sorry to ask..but how does i do that? i want to expand just the work menu. i have 2 menus Work & Info... in work i will put 20 sections more and @ Info just about,blog, and contact and the title Info will be hide.. and i'm watching that when i add the code to php. if the title Info is hide what becomes expandable is the first section of Info which in my case is About. what should i do?

Vaska A / 2008-10-01 16:51:41   
  1. ndxz_expanding_loader(0);

Should be...

  1. ndxz_expanding_loader();
JOSHUNHAPPY / 2008-10-01 17:19:44   

thank you... i change it. but it still makes the first section of the menu Info [About] expandable.. why does that happens?

thx for the help and sorry my english.

Vaska A / 2008-10-01 17:22:48   

You aren't using the new code I posted just two days ago...

http://www.indexhibit.org/forum/thread/1826/

JOSHUNHAPPY / 2008-10-01 17:33:14   

thank you.

tbracher / 2009-03-31 22:02:56   

I am having a similar problem with my Ross Cairns expanding menu. I want the page to load with the menu completely collapsed, so only the menu titles are visible. Then as the user navigates I want the menus to stay open (even while clicking through links in other menus) until the user closes them by clicking the menu title.

  1. ¬†¬†¬†¬†/* hide items if not active */
  2. ¬†¬†¬†¬†if (items.is(".active") == false ) {
  3.         items.hide();
  4.     }

This piece of code appears to control the collapse of the menu, I was wondering if there was a way to modify this the arguments of this if statement so it read something like:

  1. if(items.is(".active") == false && items.is(".visited")==false )

Or perhaps there is a better place to call this collapse statement, such as the in document.ready(function()) so that it collapses them at the loading of the site only.

thank you!

kreofina / 2009-03-31 23:17:15   

You aren't using the new code I posted just two days ago...
http://www.indexhibit.org/forum/thread/1826/

This link takes you to main forum view... Can you give us correct address?
I

Vaska A / 2009-03-31 23:26:17   

I believe I've deleted that...it was my update to the code but when I realized that it required new Jquery (and would break older formats) I tossed it out.

Citizen / 2009-04-02 02:58:42   

Can anyone answer tbracher's question (two posts before me)? I would really like to know how this is done - I've been wanting to do that myself!

Thanks!

Maurice_Redmond / 2009-04-03 14:54:39   

Hi, yeah i have been trying to work this one out myself, any ideas anyone?

FortyOne / 2009-04-18 08:40:41   

Edited: read the forum rules.

This thread has been closed, thank you.