dorkster
Not New Member
Posts: 10
dorkster said 0 great things
|
Post by dorkster on Aug 26, 2009 14:26:38 GMT -8
|
|
|
Post by Wormopolis on Aug 26, 2009 16:54:25 GMT -8
Hi there!
on this site, if you want helpwith one of my posted codes, you are allowed to reply directly to the thread. that way if someone has had the same question before you, you might see the answer.
The weather generator looks for a DIV element with the id "weather" somewhere above it. so if you want it directly in the header like I have it on the code page, or if you want it to appear in a side box, just put this:
<div id="weather"></div>
the code itself can go in headers or footers, but the div element HAS to appear before the code runs or you will get an error. typically its put in the footer.
|
|
|
Post by Wormopolis on Aug 26, 2009 16:59:05 GMT -8
you are also missing a comma at the end of this line:
["scorching","http://i281.photobucket.com/albums/kk202/sectimsempra/scorching.png"]
also, you dont have to use the default weather types I have in there. if you want to add in something new, just add it into the arrays. like if you wanted a weather type called "foggy", you add it into the weatherImage and weatherInfluence array like the others.
|
|
dorkster
Not New Member
Posts: 10
dorkster said 0 great things
|
Post by dorkster on Aug 27, 2009 12:17:24 GMT -8
Sorry about that.
Fixed it! Yay! Thanks for the help.
|
|