![]() |
|
||||||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
|||||
|
|
|
|
#1 |
|
WLC Member
Join Date: May 2010
Location: Warwick, UK
Posts: 7
|
function showT(q){
document.getElementById('image').setAttirbute('src ','0'+q+'.png) amouseover="showT(1)" changes the image of an element, but is there anyway of changing the background position (so that all images can be downloaded as a sprite) Any help much appreciated. |
|
|
|
|
|
#2 |
|
Banned
Join Date: Jun 2006
Location: Blackp ool U.K.
Posts: 3,197
|
You change the style properties in the same function.
|
|
|
|
![]() |
| Thread Tools | |
| Display Modes | |
Hybrid Mode |
|
|