Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Resize image and get updated dimensions in texbox

Status
Not open for further replies.

richammond

IS-IT--Management
Dec 5, 2007
2
0
0
GB
Hello All,

I have been spending the last 2 days searching for a way to implement the following :
Resize dynamically an image and get its dimensions updated in a textbox. That means if I resize an image by dragging its borders, the new size should update in the box, and vice versa.
Does anyone know a script I could inspire myself from?

Regards
 
It's the dragging (to resize) that is a bit tricky. Prototype and Scriptaculous can do this kind of thing - although they are not so much scripts as entire frameworks based on javascript.

Maybe take a look at the scriptaculous web site and take it from there.

Cheers,
Jeff

[tt]Jeff's Blog [!]@[/!] CodeRambler
[/tt]

Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!

FAQ216-6094
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top