inherit
143665
wildgoosespeeder wildgoosespeeder wildgoosespeeder
0
Jun 14, 2018 5:59:55 GMT -8
wildgoosespeeder
ProBoards V5 be trippin'. I'm disoriented. :P
4,393
August 2009
wildgoosespeeder
|
Post by wildgoosespeeder on Nov 24, 2010 16:49:24 GMT -8
[ Right-Click, Save Target As...] I'm having a bit of trouble getting this code to work right. On another forum I go to using something different than ProBoards, a drop-down appears after this code as indicated by the file just for testing purposes. So I assign something to the "window.onload" event so that way the code can use the object after the code itself. It works except for the part that writes DIV tags to the document. Without assigning the code to the "window.onload" event, the code works just fine; "snowing" on the page. With assigning the code to the "window.onload" event, the page is "cleared" and snowflakes are written. What's wrong with this code?
|
|
proseth
inherit
-4256386
0
Nov 29, 2024 13:49:08 GMT -8
proseth
0
January 1970
GUEST
|
Post by proseth on Nov 24, 2010 17:21:42 GMT -8
If you call document.write after the page is finished loading, a new page is created. Read this article for reference. You can try using a different method like appendChild or something if you know how to modify the script that you are talking about.
|
|
inherit
143665
wildgoosespeeder wildgoosespeeder wildgoosespeeder
0
Jun 14, 2018 5:59:55 GMT -8
wildgoosespeeder
ProBoards V5 be trippin'. I'm disoriented. :P
4,393
August 2009
wildgoosespeeder
|
Post by wildgoosespeeder on Nov 24, 2010 17:59:34 GMT -8
Thanks! Created a DIV element with an id and then assigned the snowflake images to innerHTML.
|
|