Ignore:
Timestamp:
Dec 9, 2009, 8:01:12 AM (14 years ago)
Author:
vdigital
Message:

[Update] For Juza - Some basic cleanings. Some navigation issues have been solved.

Still a lot of pending issues.

File:
1 edited

Legend:

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

    r4447 r4453  
    88  $("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     $('#copyright').before('<div id="jquery_local_img"></div>');
     10    /* $('div.titrePage h2').prepend('<a class="jQuery home" href="index.php" title="Home">Albums</a>'); */
    1211  });
    13 
     12        $('#copyright').before('<div id="jquery_local_img"></div>');
     13  $temp = $('#content .navigationBar').html();
     14        $('#content .navigationBar').css('display','none');
     15        $('div.titrePage h2').after($temp);
    1416  $('span.wrap2 a img').click(function() {
    1517    $scr = $(this).attr('src').replace('thumbnail/TN-', '');
     
    1719    $title = $(this).attr('title');
    1820    $alt = $(this).attr('alt');
    19     $(this).parent('a').attr('href', '#jquery_local_img');
     21    $(this).parent('a').attr('href', '#content');
    2022    $temp = $href.substr($href.indexOf('/')+1);
    2123    $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>');
     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");
    2325  });
    2426
Note: See TracChangeset for help on using the changeset viewer.