![]() Topic awaiting preservation: Retrieve background url from a css element. (Page 1 of 1) |
|
---|---|
Paranoid (IV) Inmate From: Mexico |
![]() My first assumption would be that it was located this way: |
Bipolar (III) Inmate From: Berlin (almost) |
![]() If you only want to set a new background image (which is what you're trying to do if I understood correctly |
Paranoid (IV) Inmate From: Northumberland, England |
![]() document.getElementById(id).style.background - this would be a string of the whole background properties |
Paranoid (IV) Inmate From: Mexico |
![]() Thanks so much for the pointers. It works like candy (is that the correct expression?). |
Bipolar (III) Inmate From: schillmania.com |
![]() I would recommend changing the class name, then you can be lazy and do all the work in CSS |