just a little note about my original code, this section.
isnt really required.
this code was pulled from something else. it can easily be trimmed to:
and if you dont want it to toggle, that is to say, a simple link that makes the content stay, you'll just do this:
*and*
for those that want the item to automatically populate, add trigger the code just after your container DIV.
HTML Code:
//alert (xmlHttp.responseText); if(divID=="dispcontent") { document.getElementById(divID).innerHTML = xmlHttp.responseText; } else { if(document.getElementById(divID).innerHTML=="") { document.getElementById(divID).innerHTML = xmlHttp.responseText; } else { document.getElementById(divID).innerHTML = ""; }
this code was pulled from something else. it can easily be trimmed to:
HTML Code:
if(document.getElementById(divID).innerHTML=="") { document.getElementById(divID).innerHTML = xmlHttp.responseText; } else { document.getElementById(divID).innerHTML = ""; }
HTML Code:
document.getElementById(divID).innerHTML = xmlHttp.responseText;
*and*
for those that want the item to automatically populate, add trigger the code just after your container DIV.
HTML Code:
<script>ajaxGetPage('<actinic:variable name="CatalogURL" /><actinic:variable name="ExtendedInfoPageName" />','mytarget')</script>
Comment