Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > JavaScript

Reply
 
LinkBack Thread Tools
Old 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 lisafelst12 is on a distinguished road
[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
lisafelst12 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old December 27th, 2007, 04:05 PM   #2
Elite Veteran
 

Join Date: Jul 2007
Location: Webforumz 24/7
Age: 17
Posts: 3,799
Blog Entries: 9
Thanks: 2
Thanked 3 Times in 3 Posts
Rep Altering Power: 0 alexgeek is a name known to all alexgeek is a name known to all alexgeek is a name known to all alexgeek is a name known to all alexgeek is a name known to all alexgeek is a name known to all
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.
__________________
Web Design and Development Blog

Alex Perry
Technical Administrator.
alexgeek is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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 lisafelst12 is on a distinguished road
Re: zoom and drag an image help

How will i do this in javascript? lol
lisafelst12 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old December 27th, 2007, 07:08 PM   #4
Highly Reputable Member
SuperMember
 
Rakuli's Avatar
 

Join Date: Sep 2007
Location: Australia
Age: 25
Posts: 954
Blog Entries: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Rakuli is a splendid one to behold Rakuli is a splendid one to behold Rakuli is a splendid one to behold Rakuli is a splendid one to behold Rakuli is a splendid one to behold Rakuli is a splendid one to behold
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.
__________________
Luke Dingle . com
Rakuli is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old December 28th, 2007, 02:33 AM   #5
Most Reputable Member
 

Join Date: Feb 2004
Location: Borneo
Age: 28
Posts: 1,628
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Rep Altering Power: 0 Monie is a jewel in the rough Monie is a jewel in the rough Monie is a jewel in the rough Monie is a jewel in the rough
Re: zoom and drag an image help

http://www.asos.com/Kimberly-Stewart...&clr=Blue&sh=0

That example you gave will only work in IE, not FF!
Monie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old December 28th, 2007, 11:01 PM   #6
Highly Reputable Member
 

Join Date: Sep 2007
Age: 17
Posts: 716
Blog Entries: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 Stuart has a spectacular aura about Stuart has a spectacular aura about
Re: zoom and drag an image help

Monie are you sure? It worked for me!
Stuart is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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 webdevguy is on a distinguished road
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....
webdevguy is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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 lisafelst12 is on a distinguished road
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
lisafelst12 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old January 3rd, 2008, 02:22 AM   #9
Most Reputable Member
 

Join Date: Feb 2004
Location: Borneo
Age: 28
Posts: 1,628
Blog Entries: 2
Thanks: 0
Thanked 4 Times in 3 Posts
Rep Altering Power: 0 Monie is a jewel in the rough Monie is a jewel in the rough Monie is a jewel in the rough Monie is a jewel in the rough
Re: zoom and drag an image help

Quote:
Originally Posted by lisafelst12 View Post
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..
Monie is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Old 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 lisafelst12 is on a distinguished road
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
lisafelst12 is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
2 ondblclick handlers to zoom-in/zoom-out images benreynolds4 JavaScript 4 May 23rd, 2008 03:39 PM
[SOLVED] drop 'n drag ahwell Flash and ActionScript 6 January 29th, 2008 05:12 PM
[SOLVED] multiple image rollover not restoring image snappy JavaScript 4 November 5th, 2007 10:38 AM
drag (not drop) snooper JavaScript 2 July 5th, 2007 04:40 PM
image zoom and scrollbar neo007 JavaScript 0 February 14th, 2007 10:54 PM


Search Engine Optimization by vBSEO 3.2.0 RC8