View Full Version : dynamic content code

07-14-2005, 08:30 AM
does anyone have code for dynamic content that will work in conjunction with my exisiting scripts? i had a script that worked but for some reason it stopped working when i tried to pair it on a link with another one.

<script type="text/javascript">
function doStuff(el) {

var links=document.getElementsByTagName("a");
for(i=0;i<links.length;i++) {
if(links[i].className=="white") {
that was to change the color of the links on each page

<script type="text/javascript">

function show_me(id){



thats my code for dynamic content

<a class="white" href="recommendations.html" target="theframe" onclick="doStuff(this);show_me(quote1)" onfocus="this.blur()">RECOMMENDATIONS&nbsp&nbsp&nbsp&nbsp</a>
theres the function calls, only the first one works

07-14-2005, 05:45 PM
This is more suited to the javascript forum, and my javascript is too weak to help out. I'll ask a moderator to move it for you!! :thumbsup: