Forum Moderators: open
<a style="text-decoration: none" href="search.asp" onclick="document.getElementById('wibble').style.background = url('search_results.jpg');">
That code gives me an expected object error when i click the link.
How comes?
Craig
In addition, CSS doesn't use the quote marks for urls, so you would need
url(search_results.jpg)
as opposed to the current
url('search_results.jpg')
Hope this helps.