|
|
 |
December 27th, 2007, 01:08 PM
|
#1
|
|
WebForumz Member
Join Date: Aug 2007
Location: United Kingdom
Age: 22
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
[SOLVED] zoom and drag an image help
Hey
Would just like a bit of advice or tutorial on how to create a feature where a user can zoom in on an image and then drag it around a bit like this ...
http://www.asos.com/Kimberly-Stewart...&clr=Blue&sh=0
Thanks 
|
|
|
December 27th, 2007, 04:05 PM
|
#2
|
|
Elite Veteran
Join Date: Jul 2007
Location: Webforumz 24/7
Age: 17
Posts: 3,799
Thanks: 2
Thanked 3 Times in 3 Posts
|
Re: zoom and drag an image help
Hi mate.
To do this you will have to use javascriot, which is used for controlling the browser.
PHP is server side will not affect how the browser interprets the page.
|
|
|
December 27th, 2007, 04:08 PM
|
#3
|
|
WebForumz Member
Join Date: Aug 2007
Location: United Kingdom
Age: 22
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: zoom and drag an image help
How will i do this in javascript? lol
|
|
|
December 27th, 2007, 07:08 PM
|
#4
|
|
Highly Reputable Member
SuperMember
Join Date: Sep 2007
Location: Australia
Age: 25
Posts: 954
Thanks: 0
Thanked 0 Times in 0 Posts
|
Re: zoom and drag an image help
Do you have any javascript experience? It is quite a fiddly feature to add zooming and dragging if you haven't coded much on the client side.
You could have a look at this very nice script by Walter Zorn...
http://www.walterzorn.com/dragdrop/dragdrop_e.htm
It is a whole API for dragging, dropping and zooming.
|
|
|
December 28th, 2007, 02:33 AM
|
#5
|
|
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 28
Posts: 1,628
Thanks: 0
Thanked 4 Times in 3 Posts
|
Re: zoom and drag an image help
|
|
|
December 28th, 2007, 11:01 PM
|
#6
|
|
Highly Reputable Member
Join Date: Sep 2007
Age: 17
Posts: 716
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: zoom and drag an image help
Monie are you sure? It worked for me!
|
|
|
December 29th, 2007, 06:23 AM
|
#7
|
|
New Member
Join Date: Dec 2007
Location: London, UK
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Free image zoomifier
Hi everyone,
This is an easy question - you don't need to do the coding yourself!
Here is a free javascript image zoomer. You can click + or - to zoom in and out. Then you can drag the image around. It's free for you to use.
Neat, hey?
Enjoy your programming 
Last edited by Rakuli; December 29th, 2007 at 07:23 AM..
Reason: Advertising links removed - appreciate your help with the free script but advertising in not allowed....
|
|
|
December 29th, 2007, 05:26 PM
|
#8
|
|
WebForumz Member
Join Date: Aug 2007
Location: United Kingdom
Age: 22
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: zoom and drag an image help
Yeah I've got a decent knowledge of javascript, I need to do basically that same thing what the luckyview does, but will have to write the script for it i think
|
|
|
January 3rd, 2008, 02:22 AM
|
#9
|
|
Most Reputable Member
Join Date: Feb 2004
Location: Borneo
Age: 28
Posts: 1,628
Thanks: 0
Thanked 4 Times in 3 Posts
|
Re: zoom and drag an image help
Quote:
Originally Posted by lisafelst12
Yeah I've got a decent knowledge of javascript, I need to do basically that same thing what the luckyview does, but will have to write the script for it i think
|
It's free tho.. No harm copy pasting them 
That JS require NOT decent knowledge in JS but GOOD knowledge in JS!
Anyway good luck to you.. 
|
|
|
January 3rd, 2008, 08:59 AM
|
#10
|
|
WebForumz Member
Join Date: Aug 2007
Location: United Kingdom
Age: 22
Posts: 66
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0
|
Re: zoom and drag an image help
Yeah i've looked at the script and think i can work with it so thaaanks  I'll mark this as solved
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|