/    Sign up×
Community /Pin to ProfileBookmark

i need to re-size (without move image) the image by drag the border of image.
anyway to do that?
i don’t have any clue on this…. ?
please help me….

to post a comment
JavaScript

4 Comments(s)

Copy linkTweet thisAlerts:
@cgishackAug 30.2008 — if you don't know JavaScript its way to advances to start off as your first task.

Look into using some JavaScript that has already been designed to do this.

I think JS toolkits and Libs like EXTJS and Dojo have this functionality.

here is one other one (HOLD DOWN SHIFT KEY TO RESIZE)

http://www.walterzorn.com/dragdrop/dragdrop_e.htm
Copy linkTweet thisAlerts:
@chxxangieauthorAug 31.2008 — if you don't know JavaScript its way to advances to start off as your first task.

Look into using some JavaScript that has already been designed to do this.

I think JS toolkits and Libs like EXTJS and Dojo have this functionality.

here is one other one (HOLD DOWN SHIFT KEY TO RESIZE)

http://www.walterzorn.com/dragdrop/dragdrop_e.htm[/QUOTE]



how to combine this two code?
[CODE]
SET_DHTML(CURSOR_MOVE,"layer1", "name1"+RESIZABLE+MAXOFFTOP+34+MAXOFFLEFT, "name2");

SET_DHTML(CURSOR_MOVE,"layer1", "name1"+RESIZABLE+MAXWIDTH+200+MAXHEIGHT+200, "name2");
[/CODE]



1st one is limit the image been moved to some direction...(i don't want the image to be moved...any idea???)

2nd one resize the image with limit width and height...

i don't know how to combine this 2 code into one code....coz when i combine it, the function all lost...?
Copy linkTweet thisAlerts:
@cgishackAug 31.2008 — Did you review the API?

http://www.walterzorn.com/dragdrop/commands_e.htm

There is one command called 'NO_DRAG' and a section on Combine commands.

I don't know if this is the script you needed, you might find more with a simple google search
Copy linkTweet thisAlerts:
@chxxangieauthorAug 31.2008 — Did you review the API?

http://www.walterzorn.com/dragdrop/commands_e.htm

There is one command called 'NO_DRAG' and a section on Combine commands.

I don't know if this is the script you needed, you might find more with a simple google search[/QUOTE]


that function i tried it ... image cannot drag...but cannot resize too...
×

Success!

Help @chxxangie 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 5.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: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

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

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...