dorkster
Not New Member
Posts: 10
dorkster said 0 great things
|
Post by dorkster on Mar 28, 2011 15:25:41 GMT -8
Yep. Now if only I can get it to work....
|
|
|
Post by Wormopolis on Mar 28, 2011 16:06:17 GMT -8
the most common problem is the element with id="weather" wasnt put somewhere for the code to populate the image with.
|
|
dorkster
Not New Member
Posts: 10
dorkster said 0 great things
|
Post by dorkster on Mar 29, 2011 12:03:06 GMT -8
Nah, I figured it out. I put <div="weather"> when it should have been div id="weather"> I figured it was something like that.
|
|
|
Post by Wormopolis on Mar 29, 2011 17:27:37 GMT -8
doesnt have to be a div either if you dont want it to be. could be a center tag, a td, or even a font if you desired.
|
|
Rei Kon
Junior Member
Posts: 52
Rei Kon said 0 great things
|
Post by Rei Kon on Apr 12, 2011 11:42:31 GMT -8
Idea for an add on if you feel like updating this again, maybe make it so you could have a true/false option to display the 'name' of the weather as well as have it on the image hover.
|
|
|
Post by Wormopolis on Apr 12, 2011 14:23:26 GMT -8
above or below the image.. or floating on top of it?
|
|
Rei Kon
Junior Member
Posts: 52
Rei Kon said 0 great things
|
Post by Rei Kon on Apr 12, 2011 14:26:00 GMT -8
Below the image
|
|
|
Post by Wormopolis on Apr 12, 2011 14:38:40 GMT -8
version upgrade 1.63: weather title displayed below image switch added
|
|
Rei Kon
Junior Member
Posts: 52
Rei Kon said 0 great things
|
Post by Rei Kon on Apr 12, 2011 22:16:14 GMT -8
Works a charm ^^
|
|
|
Post by winchester.rescue. on Jun 20, 2011 18:03:15 GMT -8
|
|
|
Post by Wormopolis on Jun 20, 2011 21:58:41 GMT -8
I need to see the image actually there. could be that you just needed to refresh your browser ( ctrl-F5) a few times to get rid of its memory of the previous size
|
|
midnightrun
Not New Member
Posts: 13
midnightrun said 0 great things
|
Post by midnightrun on Mar 18, 2012 9:54:11 GMT -8
Would it be possible to have multiple of these weather generators? I would want them all to be able to display a different weather pattern
Also, how could I place the weather generator inside a board on my forum?
|
|
|
Post by Wormopolis on Mar 18, 2012 20:52:51 GMT -8
Would it be possible to have multiple of these weather generators? I would want them all to be able to display a different weather pattern Also, how could I place the weather generator inside a board on my forum? a second one could be created with a second copy of the code, but would need to have a small change added to it to make it appear in a different place, otherwise it will override the first one. in the second copy, find these lines: if (putImageTitleOnHover) dispImg.title=dailyWeather; document.getElementById('weather').appendChild(dispImg); document.getElementById('weather').appendChild(document.createElement('br')); if (putWeatherTitleBelowImage) { document.getElementById('weather').appendChild(WTlabel); document.getElementById('weather').appendChild(document.createElement('br')); } if (putDateBelowImage) document.getElementById('weather').appendChild(datelabel); document.getElementById('weather').style.display=""; and replace all the 'weather' with 'weather2' then have the div you want it to go in have the id='weather2' as for putting it in a board, do you want it actually IN a post or just above the top of the posts like on here?
|
|
midnightrun
Not New Member
Posts: 13
midnightrun said 0 great things
|
Post by midnightrun on Mar 20, 2012 8:16:56 GMT -8
No, I would like it in a board. Like the board as in on the main page, underneath a certain category Or, in other words, within the board description
|
|
|
Post by Wormopolis on Mar 20, 2012 21:05:07 GMT -8
OH! well thats a new one...
hmm...
It can be done, I just have to think of a good way to do it. Can it be at the very end of the board description or are you planning on putting text after it as well?
|
|