View Full Version : Hi I need help with pictures
esclapez
03-23-2007, 03:38 AM
I want to make a field and pictures move left to right there
when mouse comes over anyof this picture moving stop when I clıck picture it will be resize and I want to give some information
soryy for my english
Protocol
03-26-2007, 02:25 PM
First, you'll want to breakthe project down into it's components:
1) Moving picture bar
2) Resize (file-size, right?) source picture function
Worm might be able to hook you up with a resize tool and some instructions onhow to use it. I think it was worm who had that nifty tool...anyways...
Work on the moving picture bar using the timer function. On Page show, have the timer start at a predetermined speed (later on you can do some cool variable speed tricks to give a more natural flow as the user gets closer or further from the center or zero-speed point).
I would create a table with a list of the pictures, then on the timer function, have it move the image positions in tandem.
Then with all of the aimages, I would use their "Mouse Hover" function to detect if the user's mouse is over a specific picture. If so, it would stop the timer (and thus all of the images where they are). You could then add any code you wanted including picture properties and/or a resize function (which somone else would need to help you with).
This is probably above where you are right now with coding, but my recommendation would be to break it down into smaller bite-sized projects and see what you can create on your own. Then ask away about the remaining functions...
Have fun!
Protocol
vBulletin® v3.8.4, Copyright ©2000-2009, Jelsoft Enterprises Ltd.