complete re-edit:
okay well i've got a javascript random background chooser and i need to set the background using CSS styles.
My CSS code is nothing special:
body {background:ffffff url(JAVASCRIPT HERE) no-repeat fixed right top }
ok i simply made a javascript function (showImage) that prints out the name of the selected picture. I can't figure out how to implement it in CSS - url(showImage()) doesnt work... because <script> and <style> tags dont seem to work nested inside each other... help?
okay well i've got a javascript random background chooser and i need to set the background using CSS styles.
My CSS code is nothing special:
body {background:ffffff url(JAVASCRIPT HERE) no-repeat fixed right top }
ok i simply made a javascript function (showImage) that prints out the name of the selected picture. I can't figure out how to implement it in CSS - url(showImage()) doesnt work... because <script> and <style> tags dont seem to work nested inside each other... help?