Re: Finally a better script!



* Nikos schrieb:
>
> <script type='text/javascript'>
> var textToShow = "$data";
>
> {snip]
>
> I was wondering if there is a way to take out the js snippet from my
> index.pl but still pass the value of $data to that .js to produce the
> nice effects.....
>
> Also i have to take out the backslash and " symbols or otherwise the
> javascript part wont work correctly since $data is enclosed to double
> quotes.
>
> Is there soem better way to do this?

Yes, it is. I've mentioned it in another of your threads. Admittedly, it
is hard to find, there are so many (and long) threads you started the
last days. Perhaps you want to stop that -- it would be easier to find
information one has given to you, then. Read my posting with message-id

<news:3cqclbF6n85knU1@xxxxxxxxxxxxxx>

again (the last sentences concern about this). Meanwhile, it's too often
that you don't take the information one gives you. You're asking and
asking but don't take care of the answers. I've answered this question
already but you're going to ask it once again. Why? I don't understand.

OTOH, I suggest you do your page without JavaScript -- it's hard enough
to learn Perl and HTML first. Once you are familiar with them you could
add some JavaScript lessons to your timetable.

And, of course, this group is not for talking about JavaScript nor any
detail you need to set up your website with that language inside.

regards,
fabian
.



Relevant Pages

  • Re: Streaming audio
    ... On Sat, 25 Mar 2006 19:29:18 GMT, H. Milton Lewis ... I need to find a snippet of Javascript that will allow me to stream ... http://mindprod.com Java custom programming, consulting and coaching. ...
    (comp.lang.java.help)
  • Re: set form item value with javascript
    ... Below is a snippet of my form. ... There are other form items on it, ... How do I submit this with javascript? ... /* Needed if A element removed from form1 */ ...
    (comp.lang.javascript)
  • Re: javascript syntax question
    ... The object created by the above snippet is a plain JavaScript native ... Object - it has none of the attributes that make an Array an Array. ... The only thing they have in common is that they are both JavaScript ... objects that implement the Node iterface and therefore may have ...
    (comp.lang.javascript)
  • Re: save to favourites
    ... You need Javascript for that. ... Here's a snippet that ... Thanks Mark ... Prev by Date: ...
    (uk.net.web.authoring)
  • Re: converting JS image swap to php
    ... I noticed that Message-ID: ... >Not without Javascript. ... Geoff Berrow (put thecat out to email) ... It's only Usenet, no one dies. ...
    (comp.lang.php)