Dynamic Ajax Content and Javascript
2) http://www.dynamicdrive.com/dynamici...jaxcontent.htm
3) I cant seem to get the javascript to work. I have tried the 'PollC' that I had read about, but that seems to just bring up the scroll on its own. The content page to be loaded works fine on its own, I am pretty sure its nothing to do with LoadObj.
On my index.php file I have the javascript file:
Head Section:
<script type="text/javascript" src="tigra_scroller/sample2/ts_files/scroll.js"></script>
Body Section:
<div id="contentarea">
<script type="text/javascript">ajaxpage('home.html', 'contentarea'); //load "home.html" into "contentarea" DIV
</script></div>
Html Page Loaded into 'Contentarea' has a script within the body:
<table border="0" cellpadding="3" cellspacing="1" align="center" bgcolor="#336699">
<tr><td class="header2" width="150">Vertical, Autoscroll Mode</td></tr>
<tr><td bgcolor="#ffffff" width="150"><SCRIPT LANGUAGE="JavaScript">Tscroll_init (0)</SCRIPT></td></tr>
</table>
I did try using a <div> with a unique id but no go.
Any ideas,
thanks in advance



Reply With Quote

Bookmarks