solyomattila
06-13-2013, 08:13 PM
1) Script Title: Dynamic Ajax Content
2) Script URL (on DD): (http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm)
3) Describe problem:
Fellow coders,
I am getting a little desperate here, I ask for your help.
Here's the situation:
I use a tree-like submenu for my page, which has multiple levels and I wanted them to stay "as is" if the user navigates. Obvious solution was to use the formentioned DD script. Although it works wonderfully, my problem is that the ajax loaded page uses a jquerry gallery (namely, Galleria). Now it may seem like it's working OK but it's not - although I use an onclick event to start galleria when loading the ajax content, if you click a menu twice, it disappears - I think the most likely solution is because the gallery script does not load again. I am not sure though. I tried with loadobj() function as well, did not work either, as it only loads the script once - a second click on the active menu and it falls apart again.
Please check out for yourselves, I set up a demo page here (http://solyomattila.extra.hu/tg/index.php?page=termekek). Click the second menu, "Asztali áru", only these submenus work for the purpose of testing.
I welcome any suggestions; thank you in advance.
2) Script URL (on DD): (http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm)
3) Describe problem:
Fellow coders,
I am getting a little desperate here, I ask for your help.
Here's the situation:
I use a tree-like submenu for my page, which has multiple levels and I wanted them to stay "as is" if the user navigates. Obvious solution was to use the formentioned DD script. Although it works wonderfully, my problem is that the ajax loaded page uses a jquerry gallery (namely, Galleria). Now it may seem like it's working OK but it's not - although I use an onclick event to start galleria when loading the ajax content, if you click a menu twice, it disappears - I think the most likely solution is because the gallery script does not load again. I am not sure though. I tried with loadobj() function as well, did not work either, as it only loads the script once - a second click on the active menu and it falls apart again.
Please check out for yourselves, I set up a demo page here (http://solyomattila.extra.hu/tg/index.php?page=termekek). Click the second menu, "Asztali áru", only these submenus work for the purpose of testing.
I welcome any suggestions; thank you in advance.