View Full Version : Ajax tb content with 2 rollover images

08-21-2007, 05:14 AM

I have this script:


function roll(img_name1, img_src1, img_name2, img_src2)
document[img_name1].src = img_src1;
document[img_name2].src = img_src2;


<A HREF="somewhere.html"
onmouseover="roll('sub1', 'movedown.gif', 'sub2', 'an1.gif')"
onmouseout="roll('sub1', 'moveup.gif', 'sub2', 'an2.gif')">

<IMG SRC="moveup.gif" NAME="sub1" WIDTH="143"

<IMG SRC="an2.gif" NAME="sub2" WIDTH="143" HEIGHT="39">

I am trying to integrate this script http://www.dynamicdrive.com/dynamicindex17/ajaxtabscontent/index.htm.

Basically i want the link to change two image on mouse over and change the content in the div tag when clicked.

But i cant figure out how to the rel="ajaxcontentarea" tag into the link tag and get it to work.

any ideas??
thank you

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum