Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning only a javascript message
Message
From
06/07/2001 04:06:41
 
 
To
05/07/2001 12:17:29
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00526816
Message ID:
00527336
Views:
33
Hi!

JScrip=JavaScript, sorry.

Well, 2 ways.

Open a new browser window using JavaScript that will download required link. Open method returns a reference to the object that represents that new window, so you can access anything in context of that window through such reference. In the main JavaScrit code wait until child window loaded (in the child window use special flag to indicate that page is loaded - set this flag to true in onload event of that page, on the main page use timer-driven function that checks for that flag; disable any other scripts by special flag). However, even if you manage to put this window outside the screen or make it 1 pixel width/height without any toolbars and caption, this could cause main window flashing. Tremendous approach, but should work, at least I have tries each of the part of the described above approach, but did not made the apprach itself ;) (we used the hidden frame approach, but timer functoin use, checking if page is loaded was required too). Note also that this will work in most browsers with JavaScript.

There is IFRAME tag in the IE5.0. As I already mentioned, you can create elements of the HTML page in JavaScript on the fly (there are samples in the MSDN help). Create IFRAME frame inside of the page, make it not visible because it is 1 pixel height or width, then load pajes with JavaScript there. Limited to IE5.0 or higher browser (don't know if Netscape have support of this tag, despite it is HTML standard).

>>- create a new window on the fly in JScript, then examine its content and release it.
>
>What do you mean by that? Also, it has to be Javascript.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform