Post number #60904, ID: e6f74e
|
I never actually expected forward references to work but I guess they do
Post number #60988, ID: c8a74e
|
>>60904 so it seems
Post number #61040, ID: 7e0989
|
61050
Post number #61041, ID: 7e0989
|
h*ck
Post number #61049, ID: b36952
|
>>60904 I mean... No reason they shouldn't, right?
##Dev:Lain##
Post number #61084, ID: b02e34
|
>>61049 I wrote it to parse references from top to bottom, creating three objects, "is", "refers_to" and "new_link". So a forward reference might try and refer to an element that hasn't loaded yet. If it hasn't loaded yet, getElementById will return null. When I try and get properties about refers_to and refers_to is null, then it will throw an exception and the rest of the javascript just won't run and the page will appear broken. But as I look at it now, I put the reference [...]
Post number #61085, ID: b02e34
|
... handling code in the onLoad handler, so everything will be loaded by the time I start making the reference links
Total number of posts: 15,
last modified on:
Sun Jan 1 00:00:00 1512773471
| Oh well, I tried