
July 13th, 2001, 11:39 AM
|
|
Contributing User
|
|
Join Date: Jul 2001
Location: Oslo
Posts: 1,516

Time spent in forums: < 1 sec
Reputation Power: 13
|
|
|
F*CK. Sorry, but the software running this forum once again crashed when parsing my post, and naturally, going back doesn't work on this bloody site, so my post was lost. Goddamn.
Anyway. What you need to do is this (pseudo code):
1. Print out a script type="javascript" tag in which you set your javascript variable.
2. Print out another script tag like the one you're using now, with the source.
Do it in that order, you need to make sure that the javascript variable becomes available in the referenced js file.
|