PDA

View Full Version : Image Thumbnail Viewer, dragging problem



fancythis
05-30-2006, 10:45 AM
Ok, I have a slight issue with this.
I have used the "Lemon Cake" link
http://www.dynamicdrive.com/dynamicindex4/thumbnail.htm

which works ok, on my site. But when I drag, it drags then wont let go.
I am also using the "no image toobar" and no right click scripts as well as
the following script to disable copy and paste

<body topmargin="0" ondragstart="return
false" onselectstart="return false" link="#4C4C4C" vlink="#4C4C4C" alink="#4C4C4C">

what could be the problem? Do you think it has anything to do with the no right click script?

jscheuer1
05-31-2006, 07:58 AM
These scripts are all useless for protecting your content and/or images and very well one or more of them is causing your problem. Get rid of them. Disabling the image toolbar can be esthetically pleasing but, the use of the meta tag to do it causes a memory leak in IE, the only browser that it is needed for. Images that are dynamically inserted into the innerHTML of an element generally do not display the image toolbar anyway and some others that are script inserted may not either. Smaller images never display the bar. The best thing to do is to see which images do display this ugly looking bar and then disabling it individually by setting their galleryimg attribute to no:


<img src="whatever.jpg" galleryimg="no">

Also, newer versions of IE6 are shipping with this distracting 'feature' turned off by default and I hope this trend continues with v7, perhaps even with its being removed altogether.