How to generate a background on page loads?
-
I’d like to generate a background using jquery and css. Would this be possible and where would I place the code if so? Here is the code that would need to be inserted. Here is this code I want to use.
Thanks in advance,
Walt
<html><head>
<link rel=”stylesheet” type=”text/css” href=”index_files/style.css”>
<script type=”text/javascript” src=”index_files/jquery.js”></script>
<script type=”text/javascript” src=”index_files/script.js”></script>
</head><body><input id=”nrOf” value=”30″ type=”hidden”>
<input id=”Min” size=”3″ value=”150″ type=”hidden”>
<input id=”Max” size=”3″ value=”300″ type=”hidden”>
<input id=”Colour” size=”8″ value=”10, 30, 70″ type=”hidden”>
<input id=”Random” type=”hidden”>
<input id=”Gradient” type=”hidden”><div id=”backing”><div style=”left: 1342px; top: 456px; width: 210px; height: 210px; -moz-border-radius: 105px 105px 105px 105px; border: 1px solid rgba(10, 30, 70, 0.7); background: none repeat scroll 0% 0% rgba(10, 30, 70, 0.3);” class=”backing”></div>
</body></html>
- The topic ‘How to generate a background on page loads?’ is closed to new replies.