473,231 Members | 1,498 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,231 software developers and data experts.

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 1796
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
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
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
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
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
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
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
by: Ramtin Kazemi | last post by:
Hi How can i perform bitwise rotation in C#?
6
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
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
by: VivesProcSPL | last post by:
Obviously, one of the original purposes of SQL is to make data query processing easy. The language uses many English-like terms and syntax in an effort to make it easy to learn, particularly for...
3
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 3 Jan 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). For other local times, please check World Time Buddy In...
0
by: jianzs | last post by:
Introduction Cloud-native applications are conventionally identified as those designed and nurtured on cloud infrastructure. Such applications, rooted in cloud technologies, skillfully benefit from...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...

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.