Changeset 4514 for extensions/Juza/js/juzascript.js
- Timestamp:
- Dec 19, 2009, 12:19:53 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Juza/js/juzascript.js
r4482 r4514 4 4 }); 5 5 $('div.illustration a img').each(function() { 6 $(this).addClass('bigImg').attr('src', $(this).attr('src').replace('thumbnail/TN-', '')); 6 $src = $(this).addClass('bigImg').attr('alt'); 7 $medium = $('#ix-cat .Cat-'+$src).eq(0).attr('title'); 8 $title = $('#ix-cat .Cat-'+$src).eq(0).attr('alt'); 9 $(this).attr('src', $medium).attr('title', $title); 7 10 }); 8 11 $('.thumbnailCategories li').addClass('Juza-cat'); … … 17 20 $('#copyright').before('<div id="jquery_local_img">' + $reltag + '</div>'); 18 21 $('span.wrap2 a img').click(function() { 19 $scr = $(this).attr('src').replace('thumbnail/TN-', '');20 22 $href = $(this).parent('a').attr('href'); 21 23 $alt = $(this).attr('alt'); … … 24 26 $temp = $temp.substr(0,$temp.indexOf('/')); 25 27 $title = $('#ix-desc .Thumb-'+$temp).attr('title'); 26 $('#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="#Juza-Thumbs"><em>Index</em></a>' + $reltag + '</div>').fadeIn("slow"); 28 $src = $('#ix-desc .Medium-'+$temp).attr('title'); 29 $('#jquery_local_img').fadeOut("slow").replaceWith('<div id="jquery_local_img"><img usemap="#picturetop" title="'+$title+'" alt="'+$alt+'" src="'+$src+'"/><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="#Juza-Thumbs"><em>Index</em></a>' + $reltag + '</div>').fadeIn("slow"); 27 30 $(this).hover(function() { },function() { 28 31 $(this).parent('h3 a').eq(0).attr('href', $href);
Note: See TracChangeset
for help on using the changeset viewer.