Solved

points for xabi, image cropping rectangle

Posted on 2000-05-09
8
296 Views
Last Modified: 2012-08-13
0
Comment
Question by:Kim Ryan
8 Comments
 
LVL 8

Accepted Solution

by:
xabi earned 400 total points
Comment Utility
here I am :)

xabi
0
 
LVL 19

Author Comment

by:Kim Ryan
Comment Utility
Thanks again, I integrated this into my ImageMagick based program today and it works bueatifully.

Just one small query, when I drag my cropping rectangle around in the IE browser, the right hand scroll bar rescales. Only a minor problem, it doesn't occur on Netscape.
0
 
LVL 8

Expert Comment

by:xabi
Comment Utility
You can't avoid this. I will try to explain why it occurs:

I draw a transparent layer over the image to catch the click (the layer has the same size as the image). When you drag the mouse the layer is moved down the pointer (you can't notice it cause it's a transparent layer) so when you are near the borders of the screen this layer is out the screen and IE will show you the scroll bars :). I will try to solve this problem for you, ok?

xabi
0
 
LVL 19

Author Comment

by:Kim Ryan
Comment Utility
Thanks, it's not a big problem, I can live with it. I also noticed that when you first click on the image it goes black for an instant, which is slightly annoying. Can this be changed? I am happy to offer more points if needed.
0
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 8

Expert Comment

by:xabi
Comment Utility
Here goes the answer for the new question:

Change the function dragStart into this one:

function dragStart(x,y) {
  iIniX = x-iX
  iIniY = y-iY
  layertop.clipTo(0,0,0,0)
  layerdown.clipTo(0,0,0,0)
  layerleft.clipTo (0,0,0,0)
  layerright.clipTo(0,0,0,0)
  layertop.show()
  layerdown.show()
  layerleft.show()
  layerright.show()
}

xabi
0
 
LVL 8

Expert Comment

by:xabi
Comment Utility
Are you still alive?

Xabi

Please send me an E-mail to mail@xa.bi
0
 

Expert Comment

by:Tommienbp
Comment Utility
I have the same problem, but I cannot find the complete solution here. Is there anyone who has it?

Thanks Tom
0
 
LVL 75

Expert Comment

by:Michel Plungjan
Comment Utility
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

When you need to keep track of a simple list of numbers or strings, the Array object is your most direct tool.  As we saw in my earlier EE Article (http://www.experts-exchange.com/A_3488.html), typical array handling might look like this: (CODE) B…
This article will give core knowledge of JavaScript and will head in to your first JavaScript program. I am Durvesh Naik and I am here to deal with this series of JavaScript. I will teach you JavaScript in part wise , as its quite boring to read big…
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

744 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now