开发者

Simple onmouseover not working on eBay auction page?

I have created a background which changes onmouseover of "test image". This works on a normal hosted account at http://zabb.co.uk/full开发者_StackOverflow社区_page_ebay_table_working.html but not when placed within an eBay auction http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=160653524585#ht_802wt_1398 (scroll down required).

Is there a way to fix this so that it works in eBay please? Thanks very much! Regards,

Paul


I'm not sure to what extent eBay allows javascript, but I would have thought that you could achieve something with a CSS hover pseudo.

You could do the following, which would cause a background-image change on hover.

<style type="text/css">
table#bigPic { background: url(http://images.worldgallery.co.uk/i/prints/rw/lg/6/0/Derek-Hare-Sunset-Over-the-Sea-60196.jpg);
table#bigPic:hover { background: url(http://josefsipek.net/docs/s390-linux/hercules-s390/ssh-dasd1.png); }
</style> 


For security reasons, it is utterly impossible to use Javascript in an eBay page.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜