gargiulo
02-11-2009, 01:41 PM
1) Script Title: accordion menu bullet
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-bullet.htm
3) Describe problem: I would like to open the related link when clicking an header.
The result should be:
- the target page will open
- the accordion menu on the target page (the accordion menu is saved in a PHP include across all my pages) will open the related header and discover all subheaders.
It seems you can do something similar using optional 'onopenclose:function', but how can I do this with simple link? the tutorial on the dd page show how to open an IFRAME but I would like to do something simpler: open a link.
Just in case you're wondering why to do this:
imagine you have a product catalog with all products orgnized by category and then by subcategory. The first ddaccordion menu will show all categories. When you expand a category you will see all subcategories related to that category. In the same time a new page will open showing the accordion menu (with cklicked category expanded); please note the accordion menu is included on all pages by using a php include funtion. The same page will show all subcategories.
You click a subcategory in the accordion menu or a subcategory on the page and you are redirected to another page.
I've read a lot about this problem but I've not found a valid solution yet.
Any idea?
Thanks in advance.
gargiulo
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex17/ddaccordionmenu-bullet.htm
3) Describe problem: I would like to open the related link when clicking an header.
The result should be:
- the target page will open
- the accordion menu on the target page (the accordion menu is saved in a PHP include across all my pages) will open the related header and discover all subheaders.
It seems you can do something similar using optional 'onopenclose:function', but how can I do this with simple link? the tutorial on the dd page show how to open an IFRAME but I would like to do something simpler: open a link.
Just in case you're wondering why to do this:
imagine you have a product catalog with all products orgnized by category and then by subcategory. The first ddaccordion menu will show all categories. When you expand a category you will see all subcategories related to that category. In the same time a new page will open showing the accordion menu (with cklicked category expanded); please note the accordion menu is included on all pages by using a php include funtion. The same page will show all subcategories.
You click a subcategory in the accordion menu or a subcategory on the page and you are redirected to another page.
I've read a lot about this problem but I've not found a valid solution yet.
Any idea?
Thanks in advance.
gargiulo