473,499 Members | 1,926 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1802
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

21
3800
by: M. Clift | last post by:
Hi All, Could someone help me out with this? items = ('a', 'b', 'c', 'd') items + 1 = ( 'b', 'c', 'd', 'a') items + 2 = ( 'c', 'd', 'a', 'b') items + 3 = ( 'd', 'a', 'b', 'c') trans = 1
3
7346
by: news | last post by:
Hi Guys, Sorry if this is an obvious question but Im trying to rotate a bitmap and then save it. So far Ive only found how to rotates a Graphic but I can't find how to save it. I also want to...
5
3493
by: Russell Warren | last post by:
Does anyone have an easier/faster/better way of popping from the middle of a deque than this? class mydeque(deque): def popmiddle(self, pos): self.rotate(-pos) ret = self.popleft()...
2
2097
by: the other john | last post by:
I am looking for ideas on how to create a rollover that triggers an image rotation in another location. I know how to create a function for basic rollovers, image swapping sort of thing, but I...
8
4299
by: RomanRusso | last post by:
Hie everybody, Here at this forum I have found something what I was looking for - rotation of cells in html table, here is the link http://www.thescripts.com/forum/threadnav149304-2-10.html The...
0
1779
by: VorTechS | last post by:
I'm having a problem with an inherited label, applying text rotation to aligned text. If text rotation is applied to the aligned text, the alignment goes 'nuts'. I can find no logic to what is...
6
7188
by: Ramtin Kazemi | last post by:
Hi How can i perform bitwise rotation in C#?
6
3859
by: elrondrules | last post by:
I want to create a simple log rotation for the following scenario: I have a script that when executed will write debug and error messages to a specific file (say script.log). I want to create...
8
9371
by: infoseekar | last post by:
Image Resize & Rotation Hi I have 2 scripts, one for Image rotation and other image resize and they both are working. Image resize scripts load the picture and resize it and Image rotation...
0
7134
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7012
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6901
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
7392
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5479
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4920
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
3101
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1429
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
307
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.