开发者

Simple onmouseover not working on eBay auction page?

开发者 https://www.devze.com 2023-04-10 20:36 出处:网络
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 wh

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

精彩评论

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

关注公众号