Caption scripting..

Page: 1

Author Post
netslider
Guest
As you know, I like to have an "open in new window" link in my captions. I've tried to add http://www.bestbuy.com/site/olspage.jsp?type=category&id=abcat0700000 to this function and it just will not work. I get the following error:

error on line 1 at column 76: EntityRef: expecting ';'

How do I go about remedying this?

The full code is:

<div class="tinyText" style="height: 236px; left: 166px; position: absolute; top: 179px; width: 111px; z-index: 1; ">
<img usemap="#map1" id="shapeimage_3" src="blank_3_files/shapeimage_3.png" style="border: none; height: 244px; left: -5px; position: absolute; top: -5px; width: 121px; z-index: 1; " alt="" title="" /><map name="map1" id="map1"><area href="http://www.bestbuy.com/site/olspage.jsp?type=category&id=abcat0700000" rel="iframe.1" rev="width:850 height:750 scrolling:yes doAnimations:true outsideClickCloses:false enableCookies:true caption:`&lt;a href=&quot;http://www.bestbuy.com/site/olspage.jsp?type=category&id=abcat0700000&quot; target=&quot;_blank&quot;&gt;Open in new window&lt;/a&gt;`" coords="5, 5, 116, 241" /></map>
</div>

Any ideas?

Thanks!
Administrator
Registered: Aug 2008
Posts: 3382
It may be because you missed encoding one of your ampersands.
type=category&id=abc...
should be
type=category&amp;id=abc...

Page: 1