Re: Finally a better script!



Fabian Pilkowski wrote:
* 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.

True but i have quit that. If you see my posts from yesterday and on i *do* listen.

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.

No need to learn Javascript. I wont be using this except this char_by_char nice producing effect i want.
I must pass the value though to js if i put in in a diff file, how?



.