473,626 Members | 3,093 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 1806
In article <bt***********@ news1.wakwak.co m>, "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="javascrip t">

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.co m>, "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="javascrip t">

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
3822
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
7349
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 crop the image and resize it, but I assume thats straight foward and for the code below Ive set the resize to 0.5 the original size and left the crop out. This is what Ive got so far :-
5
3500
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() self.rotate(pos) return ret
2
2103
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 know know how to create the rotation. This is what the client wants... ....create a circle of images, each of which will trigger an image rotation in the center of this circle until the mouseout. Yea, I'm a little green with js.
8
4311
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 gue named RobD posted a nice script there. You can easily modify it for the needs of your table, but one problem occured on my way, maybe somebody can help. For instance if there is <a> tags inside one table cell, the script willl rotate only the...
0
1791
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 happening. I've built the following code from several examples on the web, if you remove the rotation then alignment works fine: Imports System.ComponentModel
6
7199
by: Ramtin Kazemi | last post by:
Hi How can i perform bitwise rotation in C#?
6
3867
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 log rotation such a way that if the file size of script.log exceeds say 500KB, I want to rename script.log as script<day>1.log and the latest logs to be written to script.log. Essentially script.log should have the recent 500KB of logs.
8
9400
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 rotate the image by 90 deg. They are two differennt files i.e. resize.php and rotate.php. What I want to do is to combine both rotate.php & resize.php files, so when the script resized the image than it will call rotate script to rotate the...
0
8259
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8192
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8696
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8637
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8358
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8502
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7188
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6119
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4195
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

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.