Posted: Wed Mar 29, 2006 11:17 am Post subject: How to add moving graphics on forum E.G snowflakes
Although these may look nice for people on dial up it can be a major pain as they can take ages to load, however if you wish them to be on your forum here is the code.
Remember if you want them to appear on all pages then just add the code to the forum footer See forum footer thread on details on how to do this.
If you want them just to appear on the main page then you will have to add it to index_body.tpl see create edit template thread on how to do this.
Remember that this code is for bee`s if you want to change it to something you like then you will have to change this part of the code
Code:
//Configure below to change URL path to the snow image
var snowsrc="http://bdesign-graphics.co.uk/Images/Gifs/animated_bee.gif" to a different url
---------------------------------------------------------------------------------------
<script type="text/javascript">
//Configure below to change URL path to the snow image
var snowsrc="http://bdesign-graphics.co.uk/Images/Gifs/animated_bee.gif"
// Configure below to change number of snow to render
var no = 10;
// Configure whether snow should disappear after x seconds (0=never):
var hidesnowtime = 0;
// Configure how much snow should drop down before fading ("windowheight" or "pageheight")
var snowdistance = "pageheight";
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum