Alexandru Lugojan

Navigation

Skip navigation.

Search

Site navigation

Email conversation

FromAlexandru Lugojan
ToMe
Subjectproblem with my javascript slide-show
Date29 April 2004 09:19
hello

my URL is http://xxx.xxxxxxxxxx.xxx/xxxxxxxxxxxxxx

i try to make a slide-show

in the section "Les realisateurs" i have an error
and i don't know why
i want to present a blue text on the first text input and two
black text on the second and the third text input
the first text input is ok, the second is ok, but the third
text input is wrong, and i don't know why
can you help me, please?

the other sections are ok

have i nice day
FromMe
ToAlexandru Lugojan
SubjectRe: problem with my javascript slide-show
Date29 April 2004 10:35
Alexandru,

I advise you to use
var contor1=9;
because this means that the first one it will show is 0, not 1

Also, there is no need to use "new Array(9)" - arrays are dynamic in
JavaScript, so you can simply use "new Array()" or even "[]".

Now for the cause of the problem:

You are using the name 'c' for a variable. Your site is hosted by Geocities.
Their advert system also uses a variable called 'c' and it is overwriting
your variable.

Change the name of the variable to something less common, and your script
should work.


Hope this helps


Mark 'Tarquin' Wilton-Jones - author of http://www.howtocreate.co.uk/
FromAlexandru Lugojan
ToMe
Subjectthank you
Date30 April 2004 09:49
Thanks for your quick reply to my question. It's ok
now.
I do appreciate your effort and patience reading my
email and answering to it.
Thanks for your help.
Your site is one of my favorites; you have great
examples and information.
This site was created by Mark "Tarquin" Wilton-Jones.
Don't click this link unless you want to be banned from our site.