Content Display
Posted: Mon Sep 05, 2005 6:13 am
Hi All,
I have a problem Ive been trying to solve for a few days now, hopefully someone can help me out.
Here's my situation I have about 100 folders, each folder contains its own index.php page. Due to the fact a large number of folders are being used and folder content will be changed often I used php to display the dir to save constent hardcoding of links.
Now heres what I need to do:
When a disired folder is clicked I need the index page within the folder displayed in a DIV (yes it must be a div) Also the page must not refresh. The only way I saw to do it was using a hidden IFRAME and passing the vars to a DIV with JavaScript. I tryed a couple of the JS scripts floating around, The pages loaded into the DIV but all the php coding on the pages wasnt being recognized.
Any suggestions?
I have a problem Ive been trying to solve for a few days now, hopefully someone can help me out.
Here's my situation I have about 100 folders, each folder contains its own index.php page. Due to the fact a large number of folders are being used and folder content will be changed often I used php to display the dir to save constent hardcoding of links.
Now heres what I need to do:
When a disired folder is clicked I need the index page within the folder displayed in a DIV (yes it must be a div) Also the page must not refresh. The only way I saw to do it was using a hidden IFRAME and passing the vars to a DIV with JavaScript. I tryed a couple of the JS scripts floating around, The pages loaded into the DIV but all the php coding on the pages wasnt being recognized.
Any suggestions?