By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,483 Members | 1,727 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,483 IT Pros & Developers. It's quick & easy.

Img rotation script question

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.