Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Need to access include variable from another include
Message
 
To
09/01/2006 12:31:25
General information
Forum:
Internet
Category:
Javascript
Miscellaneous
Thread ID:
01084610
Message ID:
01084978
Views:
9
>>Have you tried:
>>
>>nType=0;
>>document.write("<script language=JavaScript src=http://www.mywebsite.com/Images/MarketingTool/Banner400x77.js></script>")
>>if ((nType==1) || (nType==2))
>>{
>>   alert("1")
>>}
>>
>
>When I tried that last night, assuming that would have been a failure in the Javascript design, I ended with 0. Basically, the included script cannot be seen until the first one is completed. There is no way to achieve that but to add two includes in the HTML page. I have resolved the issue by doing that. Later on, I adjusted all that to be one call to a Javascript which is writing an IFRAME window with a SRC that point to VFP/WWC which gives me full flexibility of what I want.

Yep, that makes sense, since the executing needs to end before the exec on the embedded one.... I'll keep this in mind.

-R!
Ricardo A. Parodi
eSolar, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform