469,949 Members | 2,696 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,949 developers. It's quick & easy.

Img rotation script question

Hello all. I am new to Java script and trying to get a jpeg rotation on my
website to work. I found the script here:
http://www.laughland.biz/javascript.php?scid=3
I am trying to get this page http://www.yoursourceinjapan.com/testing.htm to
display pics that automatically rotate. Could someone take a look at my
script and let me know where I have goofed?
Many thanks -and Happy New Year
Kevin

Jul 20 '05 #1
2 1723
In article <bt***********@news1.wakwak.com>, "Kevin" <si***@hotmail.com>
writes:
I am trying to get this page http://www.yoursourceinjapan.com/testing.htm to
display pics that automatically rotate. Could someone take a look at my
script and let me know where I have goofed?


View your source and find this tag, up near the top:

<script type="javascript">

And change it to :

<script type="text/javascript">
--
Randy
Jul 20 '05 #2
Voila, it worked:) Thanks Randy.
I got a bit further but wondered if you could assist me a bit further. As
you can see on that page I got the pics to show up. I am having trouble
getting the pics to show up the way I want though. In the first table I have
place the code; ShowImg(0,1) and in the second table; ShowImg(1,2,). However
each table is showing 0,1,and 2. What I would like is for each table to have
different pics rotating.
My third table is where I have tried to get the pics to rotate every 5
seconds. I have tried many combinations but can't get that to work. Can you
look at that snippet and see where I have erred?
Ultimately what I would like is for each table to have Different pics to
rotate every 5 seconds or so - not on page reload.
I appreciate very much your help thus far.
Thanks
Kevin

--
Kevin Sirface
www.YourSourceInJapan.com
Japanese Scroll Paintings
Scroll Re-mounting
Custom Calligraphy Scrolls
"HikksNotAtHome" <hi************@aol.com> wrote in message
news:20***************************@mb-m29.aol.com...
In article <bt***********@news1.wakwak.com>, "Kevin" <si***@hotmail.com>
writes:
I am trying to get this page http://www.yoursourceinjapan.com/testing.htm todisplay pics that automatically rotate. Could someone take a look at my
script and let me know where I have goofed?


View your source and find this tag, up near the top:

<script type="javascript">

And change it to :

<script type="text/javascript">
--
Randy

Jul 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

21 posts views Thread by M. Clift | last post: by
3 posts views Thread by news | last post: by
5 posts views Thread by Russell Warren | last post: by
2 posts views Thread by the other john | last post: by
6 posts views Thread by Ramtin Kazemi | last post: by
6 posts views Thread by elrondrules | last post: by
8 posts views Thread by infoseekar | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.