joepreston
05-16-2006, 08:10 PM
Dynamic Ajax Content
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
I have a couple of questions regarding the Dynamic Ajax Content script.
1) on the main page of the site I am trying to force load content into a div but it doesn't seem to be working. I have tried a couple of different options but can't seem to figure it out. My test pages are here:
http://www.joeprestondesign.com/topaztest/ - main page
http://www.joeprestondesign.com/topaztest/html/sfbgpub.html - page I am trying to load
http://www.joeprestondesign.com/topaztest/styles/main.css - css file in case I am doing something wrong with the divs
2) In the page I am trying to load I would like to be able to have content load into a div on that page as well. When I view just that page (../html/sfbgpub.html) the content loads, but the problem I am having is that I have resorted to using flash buttons for navigation (I couldn't figure out another way to have the links stay in an active state when the content from the link is loaded) and I can't seem to get flash to load the javascript:ajaxpage('test.htm', 'contentarea'); link.
I am starting to think that I should use iframes but I didn't want to jump the gun. Thanks ahead of time for any help.
http://www.dynamicdrive.com/dynamicindex17/ajaxcontent.htm
I have a couple of questions regarding the Dynamic Ajax Content script.
1) on the main page of the site I am trying to force load content into a div but it doesn't seem to be working. I have tried a couple of different options but can't seem to figure it out. My test pages are here:
http://www.joeprestondesign.com/topaztest/ - main page
http://www.joeprestondesign.com/topaztest/html/sfbgpub.html - page I am trying to load
http://www.joeprestondesign.com/topaztest/styles/main.css - css file in case I am doing something wrong with the divs
2) In the page I am trying to load I would like to be able to have content load into a div on that page as well. When I view just that page (../html/sfbgpub.html) the content loads, but the problem I am having is that I have resorted to using flash buttons for navigation (I couldn't figure out another way to have the links stay in an active state when the content from the link is loaded) and I can't seem to get flash to load the javascript:ajaxpage('test.htm', 'contentarea'); link.
I am starting to think that I should use iframes but I didn't want to jump the gun. Thanks ahead of time for any help.