Hi, I wonder if anyone can see whats going wrong here.
I have this line of asp and javascript and it works fine
What I am trying to do is add the image resize asp code to the tooltip popup. like so
Unfortunately however I try and tinkle with it I get a javascript error.
that shows this on the page with the image
Is there some quotes or something else I am missing? I have tried every poss combination but nothing works!
Any help would be most appreciated.
Thanks
Richard
I have this line of asp and javascript and it works fine
Code:
<a onmouseover="doTooltip(event,'<img src="<%=Server.URLPathEncode(rsCard("largeimage"))%>" border="0"><div class="tp2"></div>' )" onmouseout="hideTip()" href="http://<%=rsCard("DefaultHeadline")%>" onclick="this.target='blank'"><img border="1px" src="<%=Server.URLPathEncode(rsCard("imageone"))%>" <%=ImageResize(Server.MapPath(rsCard("imageone")), 100, 150)%>></a></font>
Code:
<a onmouseover="doTooltip(event,'<img src="<%=Server.URLPathEncode(rsCard("largeimage"))%>" [U]<%=ImageResize(Server.MapPath(rsCard("largeimage")), 100, 150)%>[/U]border="0"><div class="tp2"></div>' )" onmouseout="hideTip()" href="http://<%=rsCard("xxxxx")%>" onclick="this.target='blank'"><img border="1px" src="<%=Server.URLPathEncode(rsCard("imageone"))%>" <%=ImageResize(Server.MapPath(rsCard("imageone")), 100, 150)%>></a></font>
that shows this on the page with the image
Code:
' )" onmouseout="hideTip()" href="http://www.xxx.com" onclick="this.target='blank'">
Is there some quotes or something else I am missing? I have tried every poss combination but nothing works!
Any help would be most appreciated.
Thanks
Richard
Comment