PDA

View Full Version : internet explorer - full screen


sitaldip
10-11-2004, 07:48 PM
Hi.. need some help here.. I am opening a local file which is abc.htm from my cd rom with my autoplay menu. It opens fine in the internet explorer. My question is, how do i automatically open abc.htm in full screen mode in my internet explorer...

Intrigued
10-11-2004, 07:53 PM
{Deleted}
.
.
.

Intrigued
10-11-2004, 08:13 PM
Here is a Javascript solution that may help. There are directons too:

http://javascript.internet.com/navigation/full-screen.html

Intrigued
10-11-2004, 08:34 PM
And finally, I tweaked a Javascript code chunk that was being shared on a site so that the the same browser window is reused. {Or, so I thought! Anyway, this may be useful} :rolleyes

Ok, I am done with the Javascript for the night... Ha! Ha!

File Attached.

rhosk
10-11-2004, 09:03 PM
This is a perfect example of where HTA would come in handy.

Intrigued
10-11-2004, 09:39 PM
Here is a MSDN article that may come in hand if one is going to work further with .hta files:

http://msdn.microsoft.com/workshop/author/hta/reference/objects/hta.asp

Note! I saw this warning a few lines down on the page that shows from the links above.

Warning HTAs can potentially expose the client machine to malicious script. HTAs, like .exe files have read/write access to the files and system registry on the client machine. Powerful executables can be produced and delivered quickly with a few short script statements. Use of HTAs is not recommended where security or the source of the file is questionable.

Sincerely,

Intrigued
10-11-2004, 09:49 PM
Try rhosk example with one line modified:

Instead of:

CAPTION = "NO"

do...

CAPTION = "YES"

Now you the user can close the window via the close button (aka. the 'x' in the upper right corner) and you can see the Title bar and it's text.

{Late Addition}

Also, try adding this line in between the <HTA:APPLICATION .. > tags:

SELECTION="YES"

What this does is allow for the user to highlight the text in the document.

Ron, ok, this is fun.. I have to admit. So far with simple URL placements in the documen I have not seen Norton throw up an alert message either!

sitaldip
10-21-2004, 04:39 AM
thanks... sorry for the delay...

Intrigued
10-21-2004, 09:11 AM
After checking each option... I actually like rhosk's HTA Application suggestion the best (for basic links a web page for example). I never did get the Javacript to behave the way I wanted. But the again, I know every little about Javascript (for now ;))