/    Sign up×
Community /Pin to ProfileBookmark

image viewer allowing rotate image aroung vertical axis

How do I can rotate image (by 90, 180, 270 degree) around vertical axis on click of a button using dhtml/JS for IE 4.x++ (to show image from all sides)

Thanks

to post a comment
JavaScript

8 Comments(s)

Copy linkTweet thisAlerts:
@TaurusauthorSep 23.2005 — Sorry, I was incorrect in my problem description: I have one and the same image(object) photographed from three different positions - in front, sideways(90 degree) and behind(180 degree). What I want is just change images one by one on mouse click(or, even better, on cursor movement on picture, if that’s possible) -to show object from all 3 sides. Images will be the same size, however. Sure, its not rotating, its just changing image view from 3 sides, to offer user preview object more detaily.
Copy linkTweet thisAlerts:
@David_HarrisonSep 23.2005 — Perhaps something like this is what you're after.

[upl-file uuid=2106bb48-886d-405d-bb25-5e2384b309cb size=3kB]Taurus.zip[/upl-file]
Copy linkTweet thisAlerts:
@BigMoosieSep 23.2005 — 1. make 4 vershuns av the pik...du the rotashun with a pik [B]software program such as[/B] fotoshop.

2. then yuze onclik tu gotu next pik.[/QUOTE]


OMG!! 4 real words in a row, thats a record for you moneypenny :p .

David, your script didnt work for me in Firefox 1.5 beta.
Copy linkTweet thisAlerts:
@David_HarrisonSep 23.2005 — I just downloaded the Beta, it runs fine for me. What error are you getting?
Copy linkTweet thisAlerts:
@BigMoosieSep 23.2005 — No error, it just doesn't do anything.
Copy linkTweet thisAlerts:
@David_HarrisonSep 23.2005 — Well I would ask if you have JavaScript enabled, but even if you haven't it should still do something, so in that case I don't know what it could be. Like I say, I downloaded and installed 1.5 Beta but I couldn't replicate the problem.

Type javascript: into the addressbar to see if there's anything at all in the JavaScript console, if not an error then perhaps a warning.
Copy linkTweet thisAlerts:
@BigMoosieSep 23.2005 — Yes JavaScript is enabled, the alternate text is appearing but not the image.
Copy linkTweet thisAlerts:
@David_HarrisonSep 23.2005 — Is there some setting that you could have changed in the preferences that would prevent anything in the script from working? I can't think of anything as it's all fairly simple stuff.

Could you try a re-install? Perhaps it's just messed up, it is still a beta after all.
×

Success!

Help @Taurus spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 6.18,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @nearjob,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,

tipper: @meenaratha,
tipped: article
amount: 1000 SATS,
)...