Ignore:
Timestamp:
Nov 11, 2014, 7:24:52 PM (9 years ago)
Author:
ddtddt
Message:

[extensions] - see_photos_by_user use new url

File:
1 edited

Legend:

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

    r30403 r30429  
    33var textcolor;
    44var outline;
     5var shapesee;
    56$('.seepbu').each(function(){
    67   
     
    1415    }*/
    1516   
     17    var col=$("body").css('color');
     18    shapesee=$(this).data('shape');
     19       
    1620    var color = $(this).data('color');
    17     console.log(color);
    18     textcolor = color;
    19     outline =color;
     21        if(color!=''){
     22            col=color
     23        }
     24    textcolor = col;
     25    outline =col;
    2026   
    2127});
    2228 
    2329if( ! $('#myCanvas').tagcanvas({
     30    shape: shapesee,
    2431    textColour: textcolor,
    2532    outlineColour: outline,
     
    2936    depth : 0.75
    3037    //dragControl:true,
    31     //shape: "sphere"
     38   
    3239  })) {
    3340    // TagCanvas failed to load
    3441    $('#myCanvasContainer').hide();
    3542  }
     43
     44       $("input[name=insspbu6]").each(function(){
     45        if($(this).attr("value")==2){
     46            $('.optionseecolor').show();
     47        }else{
     48            $('.optionseecolor').hide();
     49        }
     50   });
     51 
     52 
    3653});
    3754
Note: See TracChangeset for help on using the changeset viewer.