Jump to content

.mouseover() hlep


erezes
 Share

Recommended Posts

$("figure").html('<img src="'+trg.src+'"'+jg_gallery_init("#gallery")+' />'); function jg_gallery_init (jg_s){ //creating structure$(jg_s).html('<div class="jg_controls"><div class="jg_c_stop"></div><div class="jg_c_play"></div><div class="jg_c_prev"></div><div class="jg_c_next"></div></div><div class="jg_image"></div><div class="jg_text"></div></div></div>');//showing text info $(jg_s).css("margin-left","auto"); $(jg_s).css("margin-right","auto"); getwdth = confDoc.getElementsByTagName("maxBannerWidth")[0].childNodes[0].nodeValue;getheight = confDoc.getElementsByTagName("maxBannerHeight")[0].childNodes[0].nodeValue$(jg_s+" .jg_image").width(getwdth);$(jg_s+" .jg_image" ).height(getheight); tgetwdth = confDoc.getElementsByTagName("thumbsScrollViewAreaWidth")[0].childNodes[0].nodeValue;tgetheight = confDoc.getElementsByTagName("thumbsScrollViewAreaHeight")[0].childNodes[0].nodeValue;$(jg_s).width(tgetwdth);$(jg_s).height(tgetheight); $("figure").mouseover(function(){ $(jg_s+" div.txt"+window[jg_s+ "_current_slide"]).fadeIn("slow")}); I tried many ways to combine the "figure" and jg_s like $("figure"+jg_s).mouseover(function(){So that will both together .mouseover , it does not go together :-( idea.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...