Ignore:
Timestamp:
Nov 11, 2014, 10:35:31 PM (10 years ago)
Author:
ddtddt
Message:

[extensions] - see_photos_by_user clean jquery

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/see_photos_by_user/js/see.js

    r30429 r30430  
    22 
    33var textcolor;
    4 var outline;
    54var shapesee;
    6 $('.seepbu').each(function(){
    7    
    8     /*var weight = $(this).data('weight');
    9     if(weight>5){$(this).parent().addClass('color1').css('color:red !important')
    10     textcolor = '#ffffff';
    11     outline ='#ffffff';
    12     }else{
    13     textcolor = 'red';
    14     outline ='#ffffff';
    15     }*/
    16    
    17     var col=$("body").css('color');
    18     shapesee=$(this).data('shape');
    19        
    20     var color = $(this).data('color');
    21         if(color!=''){
    22             col=color
    23         }
    24     textcolor = col;
    25     outline =col;
    26    
     5$('#ulseepbu').each(function(){
     6    textcolor = $(this).data('color') ? $(this).data('color'):$("body").css('color');
     7    shapesee=$(this).data('shape') ? $(this).data('shape'):'sphere';
    278});
    28  
     9
    2910if( ! $('#myCanvas').tagcanvas({
    3011    shape: shapesee,
    3112    textColour: textcolor,
    32     outlineColour: outline,
     13    outlineColour: textcolor,
    3314    outlineThickness : 1,
    3415    textHeight: 16,
Note: See TracChangeset for help on using the changeset viewer.