Changeset 4447 for extensions/Juza/js


Ignore:
Timestamp:
Dec 7, 2009, 11:55:05 PM (15 years ago)
Author:
vdigital
Message:

[Update] For Juza - Add Juza's menu (Not active) except GALLERY and TAGS

Some details have been solved.
Still a lot of pending issues.

File:
1 edited

Legend:

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

    r4439 r4447  
    44  });
    55  $('div.illustration a img').each(function() {
    6     $(this).addClass('bigImg').attr('src', $(this).attr('src').replace('thumbnail\/TN-', ''));
     6    $(this).addClass('bigImg').attr('src', $(this).attr('src').replace('thumbnail/TN-', ''));
    77  });
    8   $("ul.categoryActions li a[href*='category\/'][href*='\/flat']").each(function() {
     8  $("ul.categoryActions li a[href*='category/'][href*='/flat']").each(function() {
    99    /* $('ul.categoryActions').css('display','inline'); */
    10     $('div.titrePage h2').prepend('<a class="jQuery home" href="index.php" title="Home">Albums<\/a>');
    11     $('#stuffs_block_2').prepend('<div id="jquery_local_img"><\/div>');
     10    $('div.titrePage h2').prepend('<a class="jQuery home" href="index.php" title="Home">Albums</a>');
     11    $('#copyright').before('<div id="jquery_local_img"></div>');
    1212  });
    1313
    1414  $('span.wrap2 a img').click(function() {
    15     $scr = $(this).attr('src').replace('thumbnail\/TN-', '');
     15    $scr = $(this).attr('src').replace('thumbnail/TN-', '');
    1616    $href = $(this).parent('a').attr('href');
    1717    $title = $(this).attr('title');
    1818    $alt = $(this).attr('alt');
    1919    $(this).parent('a').attr('href', '#jquery_local_img');
    20     $temp = $href.substr($href.indexOf('\/')+1);
    21     $temp = $temp.substr(0,$temp.indexOf('\/'));
    22     $('#jquery_local_img').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>');
     20    $temp = $href.substr($href.indexOf('/')+1);
     21    $temp = $temp.substr(0,$temp.indexOf('/'));
     22    $('#jquery_local_img').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>');
    2323  });
    2424
     
    2828
    2929});
     30
Note: See TracChangeset for help on using the changeset viewer.