Changeset 4461 for extensions/Juza/js/juzascript.js
- Timestamp:
- Dec 9, 2009, 11:28:39 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Juza/js/juzascript.js
r4453 r4461 10 10 /* $('div.titrePage h2').prepend('<a class="jQuery home" href="index.php" title="Home">Albums</a>'); */ 11 11 }); 12 $('#copyright').before('<div id="jquery_local_img"></div>'); 12 $reltag = $('#menubar #mbTags').html(); 13 if ($reltag == null) $reltag = ''; 14 $reltag = '<div id="relTag">' + $reltag + '</div>'; 15 $('#copyright').before('<div id="jquery_local_img">' + $reltag + '</div>'); 13 16 $temp = $('#content .navigationBar').html(); 14 17 $('#content .navigationBar').css('display','none'); … … 17 20 $scr = $(this).attr('src').replace('thumbnail/TN-', ''); 18 21 $href = $(this).parent('a').attr('href'); 19 $title = $(this).attr('title');20 22 $alt = $(this).attr('alt'); 21 23 $(this).parent('a').attr('href', '#content'); 22 24 $temp = $href.substr($href.indexOf('/')+1); 23 25 $temp = $temp.substr(0,$temp.indexOf('/')); 24 $('#jquery_local_img').fadeOut("slow").replaceWith('<div id="jquery_local_img"><img usemap="#picturetop" title="'+$title+'" alt="'+$alt+'" src="'+$scr+'"/><map name="picturetop"><area href="#" coords="0,0,800,300" shape="rect" title="Index"/><area href="'+$href+'" coords="0,300,800,600" shape="rect" title="'+$title+'"/></map><br/>'+$temp+' / - Blahblahblah - Canon Model, or Nikon Model - Speed, iso, keywords... '+ $title +' - <a href="#"><em>Index</em></a></div>').fadeIn("slow"); 26 $title = $('#ix-desc .Thumb-'+$temp).attr('title'); 27 $('#jquery_local_img').fadeOut("slow").replaceWith('<div id="jquery_local_img"><img usemap="#picturetop" title="'+$title+'" alt="'+$alt+'" src="'+$scr+'"/><map name="picturetop"><area href="#" coords="0,0,1024,300" shape="rect" title="Index"/><area href="'+$href+'" coords="0,301,1024,600" shape="rect" title="'+$title+'"/></map><br/>'+ $title +' - <a href="#content"><em>Index</em></a>' + $reltag + '</div>').fadeIn("slow"); 25 28 }); 26 27 29 $('span.wrap2 a img').hover(function() { },function() { 28 30 $(this).parent('a').attr('href', $href); … … 30 32 31 33 }); 32
Note: See TracChangeset
for help on using the changeset viewer.