![]() |
|
|||||||
|
|
Thread Tools | Search this Thread | Rate Thread |
|
#1
|
|||
|
|||
How do you detect resolution & launch an app with Javascript?Good Evening,
I created a CD presentation in Swish its just like Flash. It has an autorun file, & Im going to add 2 files to cater to different resolutions, 800x600 & 1024x760. What I would like to do is add a javascript that when the viewer puts the CD in, it would autroun and scan the systems resolution settings & launch the appropriate file: IE: The viewers system is set @ 800x600, he/she puts CD in drive, the 800x600 version of the presentation is launched. Ive searched around & read up but Im a BIG javascript rookie, how could I do this & could someone suggest a good script to use. Thank you kindly |
|||
|
#2
|
||||
|
||||
|
Ok I got you a cool little script that may help you out. Are the file that you want to open EXE's I need to know so that I can fine tune the script. I will also cost you $100 dollars.
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. |
|
#3
|
|||
|
|||
|
$100 (DOHHHHHHH!).....
|
|
#4
|
||||
|
||||
|
Ok let me make some changes to the file and I'll post it here as soon as it's done.
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. |
|
#5
|
||||
|
||||
|
I was finishing up the code but the problem will be that some browser will have there security will be set to high and they may not be able to use this. I'm going to research this a little more to see if there is anything that can be done about this.
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. |
|
#6
|
|||
|
|||
|
Sounds good, I cant wait to see it.
|
|
#7
|
||||
|
||||
|
If this program is a Swish program are you sure there exe files? The version I ask is that I'm to use to running IE in IE I can run executables but only in IE it won't work. But it the files you need to open are in a Swish or flash then that would solve the problem. I’m sorry I didn’t think of this sooner.
__________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. |
|
#8
|
|||
|
|||
|
Hi, Im a bit confused. Im not exactly sure what you mean?
|
|
#9
|
||||
|
||||
|
The file that will be executed from the CD. (Ex. MyFile.something)
is it an .exe or something else? I'm thinking that if you did it with Swish then its .whatever there file extension is. __________________
If builders built buildings the way programmers wrote programs, then the first woodpecker that came along would destroy civilization. |
|
#10
|
|||
|
|||
|
I can convert it to .exe
If you need to see my file I posted it at: http://uniteddistributorscanada.hypermart.net/ . the file is called "Java intro" & youll also see the files I want to launch there. |
Recent GIDBlog
Problems with the Navy (Chiefs) by crystalattice
| Thread Tools | Search this Thread |
| Rate This Thread | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| We're looking for JavaScript codes / mini tutorials. | JdS | Web Design Forum | 8 | 23-Nov-2008 04:27 |
| JavaScript Resolution Redirection Tutorial | pcxgamer | Web Design Forum | 0 | 01-Dec-2003 12:37 |
| JavaScript Tutorial Part 1 | pcxgamer | Web Design Forum | 2 | 01-Dec-2003 10:16 |
| screen resolution | zuzupus | Web Design Forum | 0 | 29-Jul-2003 03:50 |
| This JavaScript doesn't work on Mozilla. | JdS | Web Design Forum | 8 | 02-Jul-2003 15:08 |
Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The