RetroGamer1991
06-23-2006, 01:46 PM
I need to get these values in Javascript so I can do some neato stuff
pj_anf
06-23-2006, 05:21 PM
They doesn't seem to be many options for background images. I tried doing some things like:
document.body.background.value etc... but it seems like the few properties that exist for this object are very limited, and by that I mean do you want it to scroll, wrap, repeat, etc....
I didn't however try linking in a background image to a div and see if you could access it's properties through CSS.
The best working scenario I was able to create was to set an image inside a div, and make the div set to a very very very low z-index allowing me to pretend it's the background, then edit that image inside the div or edit the div holding it.
If your able to figure out a way to snag the properties on the body background images do please share it here.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.