so would it be posible to have a random image snippet set a background image in a css file?
how do you call the css in the template? just instead of
<link rel="stylesheet" type="text/css" href="http://modxcms.com/forums/Themes/modx/style.css" />
you could use:
<link rel="stylesheet" type="text/css" href="[~12~]" />
12 being a css document with the css doctype?
and in that document have a line like this?:
#Background{
background-image:url("[[RandomImage]]");
position:relative;
width:1000px;
height:565px;
}
if this is the case then a whole new world of options lay ahead e.g. using a snippet to see if its ie or ff and use differend stylesheets or change parts of the stylesheets using tv’s etc how cool is that..