You need to wrap the whole image tag in a hyperlink
<a href="javascript:addToFavorites();" title="Add Cute to Favourites">
<img border="0" id="img22" src="images/addto3.gif" height="17" width="166"
alt="Add Cute to Favourites" fp-style="fp-btn: Soft Tab 7; fp-font: Century
Gothic; fp-font-color-normal: #C84C85; fp-font-color-hover: #993366;
fp-font-color-press: #666699; fp-transparent: 1; fp-proportional: 0"
fp-title="Add Cute to Favourites" align="right"
onmouseover="FP_swapImg(1,0,/*id*/'img22',/*url*/'images/addto1.gif')"
onmouseout="FP_swapImg(0,0,/*id*/'img22',/*url*/'images/addto3.gif')"
onmousedown="FP_swapImg(1,0,/*id*/'img22',/*url*/'images/addto2.gif')"
onmouseup="FP_swapImg(0,0,/*id*/'img22',/*url*/'images/addto1.gif')">
</a>
--
| Hi,
| I was using this script..
|
| <script language="JavaScript" type="Text/Javascript"><!--
| // Hide script from older browsers
| // script by
http://www.hypergurl.com
| var urlAddress = "
http://www.cuteclothing.co.uk";
| var pageName = "Cute Clothing for Children";
|
| function addToFavorites()
| {
| if (window.external)
| {
| window.external.AddFavorite(urlAddress,pageName)
| }
| else
| {
| alert("Sorry! Your browser doesn't support this function.");
| }
| }
| // --></script>
|
| WHERE DO I PLACE THIS PART OF THE SCRIPT WITHIN MY IB CODE???
|
| href="javascript:addToFavorites()
|
| IB CODE
|
| <img border="0" id="img22" src="images/addto3.gif" height="17" width="166"
| alt="Add Cute to Favourites" fp-style="fp-btn: Soft Tab 7; fp-font: Century
| Gothic; fp-font-color-normal: #C84C85; fp-font-color-hover: #993366;
| fp-font-color-press: #666699; fp-transparent: 1; fp-proportional: 0"
| fp-title="Add Cute to Favourites" align="right"
| onmouseover="FP_swapImg(1,0,/*id*/'img22',/*url*/'images/addto1.gif')"
| onmouseout="FP_swapImg(0,0,/*id*/'img22',/*url*/'images/addto3.gif')"
| onmousedown="FP_swapImg(1,0,/*id*/'img22',/*url*/'images/addto2.gif')"
| onmouseup="FP_swapImg(0,0,/*id*/'img22',/*url*/'images/addto1.gif')">
|
|
| Hope this helps
|