greycat
04-28-2011, 01:30 PM
Hi,
I have a hard time to get the jQuery TreeView Menu to work with a site using mod_rewrite for nicer URL:s. The menu is set to use cookie and it's acting really weird. I does create new cookies for almost every click in the menu and does not remember where it is.
Please help me!
The config file:
$(document).ready(function(){
// Menu config
$("#grey").treeview({
animated: "fast",
collapsed: true,
persist: "cookie",
cookieId: "#test"
});
});
The TreeView Menus URL look like below. It's a three step menu where the last one is the link to a page:
domain.com/categories/
domain.com/categories/subcategories/
domain.com/categories/subcategories/items/
I have a hard time to get the jQuery TreeView Menu to work with a site using mod_rewrite for nicer URL:s. The menu is set to use cookie and it's acting really weird. I does create new cookies for almost every click in the menu and does not remember where it is.
Please help me!
The config file:
$(document).ready(function(){
// Menu config
$("#grey").treeview({
animated: "fast",
collapsed: true,
persist: "cookie",
cookieId: "#test"
});
});
The TreeView Menus URL look like below. It's a three step menu where the last one is the link to a page:
domain.com/categories/
domain.com/categories/subcategories/
domain.com/categories/subcategories/items/