deonteach
02-23-2006, 04:20 PM
This is in regards to the Ajax COntent Script.
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
Hello all,
I am excited about this script as it uses div's to populate content. I don't know if you can help me but I am trying to apply it to our open source Moodle(e-learning) system. I get the pages to load up in the div, but the problem I am having is that the links inside of the page default to the root of the page it is loading in.
So, if I load up a page like ../grade/view.php into a div at ../course/index.php and click on a link in the grade page loaded it should go to ../grade/view.php&edit=2 but it links to ../course/view.php&edit=2.
I know it probably is nothing in the script, but was wondering if there is something I can add to the script so it can use the url of the loading page.
It does it for all the pages I try to link to. I posted a question to their forum too.
Thanks for any advice,
Deon
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
Hello all,
I am excited about this script as it uses div's to populate content. I don't know if you can help me but I am trying to apply it to our open source Moodle(e-learning) system. I get the pages to load up in the div, but the problem I am having is that the links inside of the page default to the root of the page it is loading in.
So, if I load up a page like ../grade/view.php into a div at ../course/index.php and click on a link in the grade page loaded it should go to ../grade/view.php&edit=2 but it links to ../course/view.php&edit=2.
I know it probably is nothing in the script, but was wondering if there is something I can add to the script so it can use the url of the loading page.
It does it for all the pages I try to link to. I posted a question to their forum too.
Thanks for any advice,
Deon