Hi, I tried to load the zen cart homepage into a <div> from another page using simple javascript. However the zen-cart page shows up as pure html. I suppose this is due to some path problems. This is my current path set-up
mainpage: http://server/somepage/index.php
zen-cart: http://server/somepage/zen-cart/index.php
There is a javascript called getContent() that populates a given <div> with a particular URL. The call to getContent() looks like this,
</script>getContent('someDiv', 'zen-cart/index.php');</script>
I have already pointed all paths in includes/configure.php and admin/includes/configure.php to "//server/somepage/zen-cart/"
Can anyone suggest a way to make the zen-cart page show correctly?



