That shouldn't matter (the CDATA delimiters). If the script and the cursor are in the public_html folder, only a page that is also in that folder may use them given your script tag.
Ordinarily, you would use a relative path to the folder, but with a subdomain, you may need the network or even the absolute path. The absolute path is safest. Say your public_html folder is (in the browser):
Code:
http://www.mydomain.com/
Then your script tag should be:
Code:
<script src="http://www.mydomain.com/
jquery.magnifier.js" type="text/javascript">// <![CDATA[
/***********************************************
* jQuery Image Magnify- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more
***********************************************/
// ]]></script>
And here, in the jquery.magnifier.js file:
Code:
/* jQuery Image Magnify script v1.1
* This notice must stay intact for usage
* Author: Dynamic Drive at http://www.dynamicdrive.com/
* Visit http://www.dynamicdrive.com/ for full source code
* Nov 16th, 09 (v1.1): Adds ability to dynamically apply/reapply magnify effect to an image, plus magnify to a specific width in pixels.
*/
jQuery.noConflict()
jQuery.imageMagnify={
dsettings: {
magnifyby: 3, //default increase factor of enlarged image
duration: 500, //default duration of animation, in millisec
imgopacity: 0.2 //opacify of original image when enlarged image overlays it
},
cursorcss: 'url(http://www.mydomain.com/
magnify.cur), -moz-zoom-in', //Value for CSS's 'cursor' attribute, added to original image
zIndexcounter: 100,
refreshoffsets:function($window, . . .
Bookmarks