Re: Make a dynamical (J)script (more) static



"Anita Maier" <0815judoka@xxxxxx> writes:

Hello Ben, Hello Others

many thanks for your reply!
I am trying to make it better, now:

"Ben Bacarisse" <ben.usenet@xxxxxxxxx> schrieb im Newsbeitrag
news:87r6qr6uzj.fsf@xxxxxxxxxxxx
"Anita Maier" <0815judoka@xxxxxx> writes:
I have gone back and looked, I and I can't see what you are asking.
The closest you come to asking a question is to state that you think that
the function should be made static. I don't know what that means and
I have no reason to suspect that you are wrong in wanting that, so I
move on.

That was not a question, that is my target.
I am trying to make this script working with always the same file in the
same folder.
At the moment I must choose a file from this inputbox which is created when
I open the html file.

Good questions look like this:

"I want to make X happen when the user does Y. I have tried:
... A ...
and
... B ...
but these fail in the following way:
... C ..."

I thought I did this already but obviously there is still a big gap between
what I want to express and what am I expressing, therefore I try to make it
clearer:

Target:
Modify this html file in that way, that it always will play i.e.
'myvideo.flv' which is stored in 'C:\myfolder'. - throw the option to choose
other files from the inputbox out... (imho - it must be very easy?!)

I can't understand this at all. I see no HTML file. You talk about the "the
inputbox" but I don't know what that is.

Let me do some guessing. You want some JavaScript that will take the
value of a INPUT element (in some HTML FORM) and use it as the name of
a video file to play?

If so, then I suggest:
(1) An INPUT element is probably the wrong interface. I can't say what the
right one is because I don't know enough about your intentions.
(2) JavaScript is not the best way to do this. Server-side scripting
will work for all visitors and will be easier to get right for a wider
range of browsers.
(3) You get better answers in either a web authoring group or a
scripting group.

In web authoring groups the golden rule is "post a URL" i.e. put what
you have on a server and tell people where. It is much easier to
understand when we can see the whole thing.

--
Ben.
.



Relevant Pages