source: extensions/see_photos_by_user/js/see.js @ 31919

Last change on this file since 31919 was 30430, checked in by ddtddt, 10 years ago

[extensions] - see_photos_by_user clean jquery

File size: 795 bytes
Line 
1$(function(){
2 
3var textcolor;
4var shapesee;
5$('#ulseepbu').each(function(){
6    textcolor = $(this).data('color') ? $(this).data('color'):$("body").css('color');
7    shapesee=$(this).data('shape') ? $(this).data('shape'):'sphere';
8});
9
10if( ! $('#myCanvas').tagcanvas({
11    shape: shapesee,
12    textColour: textcolor,
13    outlineColour: textcolor,
14    outlineThickness : 1,
15    textHeight: 16,
16    maxSpeed : 0.05,
17    depth : 0.75
18    //dragControl:true,
19   
20  })) {
21    // TagCanvas failed to load
22    $('#myCanvasContainer').hide();
23  }
24
25       $("input[name=insspbu6]").each(function(){
26        if($(this).attr("value")==2){
27            $('.optionseecolor').show();
28        }else{
29            $('.optionseecolor').hide();
30        }
31   }); 
32 
33 
34});
35
36
37
Note: See TracBrowser for help on using the repository browser.