Resize Image

Discussion in 'JavaScript' started by chxxangie, Sep 6, 2008.

  1. #1
    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....
    i tried to search on the internet, all have the function with move the image around....SET_DHTML library seem is much better....

    
    SET_DHTML(CURSOR_MOVE,"layer1", "name1"+RESIZABLE+MAXOFFTOP+34+MAXOFFLEFT, "name2");  
    
    SET_DHTML(CURSOR_MOVE,"layer1", "name1"+RESIZABLE+MAXWIDTH+200+MAXHEIGHT+200, "name2"); 
    
    Code (markup):
    1st code is move the image in all direction...(i don't want the image to be moved...any idea???)

    2nd code is 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...

    please help me....:(
     
    chxxangie, Sep 6, 2008 IP