I thank you for your question!
I have not made any changes at all to the original!
I was simply added to the original of the following JavaScript "Functions".
Including the fact that you call this function, fully automatic, my processor (My blog) that I have to offer, makes creating the perfect grammar correct "HTML Syntax".
For visitors, prepare, and what they need, "the size of the three types pictures, and the URL of the image of each" only!
Comments It is possible to register a arbitrarily. It is also possible to sublimate to link a comment.
My approach, eliminating the waste of time to be devoted to grammar mistakes. Someone can focus only on the "writing of the article" he user.
The simplistic and, briefly, a user of the blog do not know grammar of "JavaScript", the grammar of "HTML" was aimed at only copy and paste, put follow the perfect completion.
Have you looked for an answer?
Code:
function SetUpJqImg2015(w,h,s){
/* Made by Ujiki.oO 2014/08/29
w , h : magnifiersize: [ w , h ]
s : zoomrange: [3, s]
*/
if(!w) var w = 400;
if(!h) var h = 300;
if(!s) var s = 20;
jQuery(document).ready(function($){
for(i=0;i<u_addimagezoom2.length;i=i+3){
$( '#' + u_addimagezoom2[i] ).addimagezoom({
descArea: '#' + u_addimagezoom2[ i + 1 ],
speed: 1500,
descpos: true,
imagevertcenter: true,
// magvertcenter: true,
zoomrange: [3, s],
magnifiersize: [ w , h ],
magnifierpos: u_addimagezoom2[ i + 2 ] ,
cursorshadecolor: '#fdffd5',
cursorshade: true
});
}
})
}
Bookmarks