Ignore:
Timestamp:
Dec 19, 2009, 12:19:53 AM (14 years ago)
Author:
vdigital
Message:

[Update] For Juza - Juza Theme Configuration Menu is working at 80% at least

  • Exception management (png/JPG mixed extensions support) not tested

Pendings:

  • Menubar
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Juza/js/juzascript.js

    r4482 r4514  
    44  });
    55  $('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);
    710  });
    811        $('.thumbnailCategories li').addClass('Juza-cat');
     
    1720        $('#copyright').before('<div id="jquery_local_img">' + $reltag + '</div>');
    1821  $('span.wrap2 a img').click(function() {
    19     $scr = $(this).attr('src').replace('thumbnail/TN-', '');
    2022    $href = $(this).parent('a').attr('href');
    2123    $alt = $(this).attr('alt');
     
    2426    $temp = $temp.substr(0,$temp.indexOf('/'));
    2527    $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");
    2730          $(this).hover(function() { },function() {
    2831            $(this).parent('h3 a').eq(0).attr('href', $href);
Note: See TracChangeset for help on using the changeset viewer.