Hey folks,
I have a handful of Javascript questions. Normally I don't do
much Javascript, but I have an odd situation where the browser is
being used more as a stand-alone platform than as a browser. For
background on why I'm asking, see below. The questions boil down to:
Is there a way, with JavaScript or <embed> settings, to have
a quicktime automatically start playing when the page has loaded?
Is there a way, again with JavaScript or <embed> settings, to
have something happen when the quicktime finishes playing?
How do I specify where a new popup window will come up?
How do I kill the window when I'm done with it?
The general gist of the site is:
The main page pops up with a set of frames, a title frame across
the top and below a button-bar frame on the left and a content frame
on the right.
1) the title frame and content frame play some animations
2) the content frame loads a page with an image and an input type=passwd box.
3) when the password is typed in the input box and the user hits return,
the content frame loads a page with a quicktime movie
4) the quicktime movie plays
5) the content frame loads the page from 2)
6) the buttons, when clicked on, pop up a new window, stripped of
all of the usual window elements (menus, scroll bars, etc),
containing a quicktime movie.
7) the quicktime plays in the popup
8) the popup goes away and the main netscape window returns to the
foreground.
I can figure out 1) and 2); that's just standard HTML. For 3), the
browser (Netscape 4.5 on a Mac) will apparently take a Return as a
submit button if there's no submit button in the form. I can handle
loading the next content file into the frame.
But for 4) and 7), the quicktime movie doesn't play until the
user clicks on it, and I don't know how to detect the ending of the
quicktime movie for 5) and 8)
For 5) and 8) I could fake it by using a refresh tag that is
timed right, but I'd prefer to detect the end of the quicktime.
For 6), I can handle popping up the window with all the
extraneous elements stripped away (standard JavaScript). But the
positioning isn't right - can I position the new window on the screen?
Steven J. Owens
[EMAIL PROTECTED]
PS:
As to why, well it's for a TV show and the director is apparently
all fussy about exactly how things happen. The site is supposed to
have some sort of AI living on it or something, which is what the
quicktimes are all about.
PPS:
(I wish Javascript were a well-designed, bug-free language with
standard implementations in all browsers. The niche it tackles is an
important one, one I wish had a language to fill it, but I find the
language too frustrating to make it a permanent part of my arsenal).
____________________________________________________________________
--------------------------------------------------------------------
Join The Web Consultants Association : Register on our web site Now
Web Consultants Web Site : http://just4u.com/webconsultants
If you lose the instructions All subscription/unsubscribing can be done
directly from our website for all our lists.
---------------------------------------------------------------------