muck-engine 0.2.17 → 0.2.18
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/app/helpers/muck_custom_form_builder.rb +12 -1
- data/app/views/forms/_tips.html.erb +5 -5
- data/muck-engine.gemspec +2 -2
- data/public/images/fancybox/fancy_shadow_e.png +0 -0
- data/public/images/fancybox/fancy_shadow_n.png +0 -0
- data/public/images/fancybox/fancy_shadow_ne.png +0 -0
- data/public/images/fancybox/fancy_shadow_nw.png +0 -0
- data/public/images/fancybox/fancy_shadow_s.png +0 -0
- data/public/images/fancybox/fancy_shadow_se.png +0 -0
- data/public/images/fancybox/fancy_shadow_sw.png +0 -0
- data/public/images/fancybox/fancy_shadow_w.png +0 -0
- data/public/javascripts/jquery/jquery.fancybox.js +13 -6
- data/public/javascripts/jquery/jquery.tips.js +7 -6
- data/public/stylesheets/jquery/jquery.fancybox.css +19 -25
- data/test/rails_root/public/javascripts/jquery/jquery.tips.js +7 -6
- metadata +2 -2
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.18
|
@@ -15,6 +15,16 @@ class MuckCustomFormBuilder < ActionView::Helpers::FormBuilder
|
|
15
15
|
end
|
16
16
|
end
|
17
17
|
|
18
|
+
# Options to pass to render_field_template through the 'options' argument.
|
19
|
+
# pre_html html content to insert at the beginning of the container
|
20
|
+
# extra_html html content to insert at the end of the container
|
21
|
+
# tip Text for a popup text tip.
|
22
|
+
# tip_title Title for popup text tip
|
23
|
+
# tip_key The id of the div that contains the tip text.
|
24
|
+
# tip_position Position for tip text. Valid values are 'top', 'right', 'bottom', 'left'. Default is 'right'
|
25
|
+
# wrapper_id Alternate id for the container. Each field is typically wrapper in a div. This is the id of that div.
|
26
|
+
# hide_required Do not show 'required' label even though field is required
|
27
|
+
# hide_control_error Hide errors that show up next to the field
|
18
28
|
def render_field_template(name, field, options)
|
19
29
|
|
20
30
|
tippable = !options[:tip].nil?
|
@@ -34,7 +44,8 @@ class MuckCustomFormBuilder < ActionView::Helpers::FormBuilder
|
|
34
44
|
:hide_control_error => options.delete(:hide_control_error),
|
35
45
|
:css_class => options.delete(:css_class)
|
36
46
|
}
|
37
|
-
|
47
|
+
# TODO css_class does not appear to be used. Can just use the standard :class in html options to set the class
|
48
|
+
|
38
49
|
type = options.delete(:type)
|
39
50
|
type ||= :tippable if tippable
|
40
51
|
|
@@ -1,7 +1,7 @@
|
|
1
|
-
<div
|
2
|
-
<div
|
3
|
-
<div
|
1
|
+
<div class="tip-text" style="display:none;"><%= tip %></div>
|
2
|
+
<div class="tip-title" style="display:none;"><%= tip_title || label_name %></div>
|
3
|
+
<div class="tip-position" style="display:none;"><%= tip_position %></div>
|
4
4
|
<% if tip_key -%>
|
5
|
-
<div
|
6
|
-
<div
|
5
|
+
<div class="tip-key" style="display:none;"><%= tip_key %></div>
|
6
|
+
<div class="tip-id" style="display:none;"><%= field_name %></div>
|
7
7
|
<% end -%>
|
data/muck-engine.gemspec
CHANGED
@@ -5,11 +5,11 @@
|
|
5
5
|
|
6
6
|
Gem::Specification.new do |s|
|
7
7
|
s.name = %q{muck-engine}
|
8
|
-
s.version = "0.2.
|
8
|
+
s.version = "0.2.18"
|
9
9
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Justin Ball", "Joel Duffin"]
|
12
|
-
s.date = %q{2009-
|
12
|
+
s.date = %q{2009-12-03}
|
13
13
|
s.description = %q{The base engine for the muck system. Contains common tables, custom for, css and javascript.}
|
14
14
|
s.email = %q{justin@tatemae.com}
|
15
15
|
s.extra_rdoc_files = [
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -1,9 +1,16 @@
|
|
1
1
|
/*
|
2
|
-
* FancyBox -
|
3
|
-
*
|
4
|
-
*
|
2
|
+
* FancyBox - jQuery Plugin
|
3
|
+
* simple and fancy lightbox alternative
|
4
|
+
*
|
5
5
|
* Copyright (c) 2009 Janis Skarnelis
|
6
|
-
*
|
6
|
+
* Examples and documentation at: http://fancybox.net
|
7
|
+
*
|
8
|
+
* Version: 1.2.6 (16/11/2009)
|
7
9
|
* Requires: jQuery v1.3+
|
8
|
-
|
9
|
-
|
10
|
+
*
|
11
|
+
* Dual licensed under the MIT and GPL licenses:
|
12
|
+
* http://www.opensource.org/licenses/mit-license.php
|
13
|
+
* http://www.gnu.org/licenses/gpl.html
|
14
|
+
*/
|
15
|
+
|
16
|
+
;eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}(';(p($){$.q.1Q=p(){J O.2n(p(){n b=$(O).u(\'2o\');8(b.1d(/^3i\\(["\']?(.*\\.2p)["\']?\\)$/i)){b=3j.$1;$(O).u({\'2o\':\'3k\',\'1e\':"3l:3m.3n.3o(3p=D, 3q="+($(O).u(\'3r\')==\'2q-3s\'?\'3t\':\'3u\')+", 13=\'"+b+"\')"}).2n(p(){n a=$(O).u(\'1u\');8(a!=\'2r\'&&a!=\'2s\')$(O).u(\'1u\',\'2s\')})}})};n l,4,1f=F,X=1v 1w,1x,1y=1,1z=/\\.(3v|3w|2p|3x|3y)(.*)?$/i;n m=1A,18=$.14.1g&&$.14.2t.1R(0,1)==6&&!19.3z,1S=18||($.14.1g&&$.14.2t.1R(0,1)==7);$.q.r=p(o){n j=$.2u({},$.q.r.2v,o);n k=O;p 2w(){l=O;4=$.2u({},j);2x();J F};p 2x(){8(1f)J;8($.1T(4.1U)){4.1U()}4.v=[];4.t=0;8(j.v.Y>0){4.v=j.v}C{n a={};8(!l.1B||l.1B==\'\'){n a={K:l.K,G:l.G};8($(l).1C("1l:1D").Y){a.S=$(l).1C("1l:1D")}C{a.S=$(l)}8(a.G==\'\'||1V a.G==\'1m\'){a.G=a.S.2y(\'1W\')}4.v.2z(a)}C{n b=$(k).1e("a[1B="+l.1B+"]");n a={};3A(n i=0;i<b.Y;i++){a={K:b[i].K,G:b[i].G};8($(b[i]).1C("1l:1D").Y){a.S=$(b[i]).1C("1l:1D")}C{a.S=$(b[i])}8(a.G==\'\'||1V a.G==\'1m\'){a.G=a.S.2y(\'1W\')}4.v.2z(a)}}}3B(4.v[4.t].K!=l.K){4.t++}8(4.1E){8(18){$(\'1X, 1Y, 1Z\').u(\'21\',\'3C\');$("#T").u(\'A\',$(U).A())}$("#T").u({\'3D-3E\':4.2A,\'22\':4.2B}).Z()}$(19).11("23.L 24.L",$.q.r.2C);1h()};p 1h(){$("#1n, #1o, #1i, #H").1a();n b=4.v[4.t].K;8(b.1d("1j")||l.3F.2D("1j")>=0){$.q.r.1F();1p(\'<1j s="2E" 3G="2F.q.r.2G()" 3H="3I\'+P.1b(P.3J()*3K)+\'" 2H="0" 3L="0" 13="\'+b+\'"></1j>\',4.1G,4.1H)}C 8(b.1d(/#/)){n c=19.3M.K.3N(\'#\')[0];c=b.3O(c,\'\');c=c.1R(c.2D(\'#\'));1p(\'<9 s="3P">\'+$(c).2I()+\'</9>\',4.1G,4.1H)}C 8(b.1d(1z)){X=1v 1w;X.13=b;8(X.3Q){25()}C{$.q.r.1F();$(X).Q().11(\'3R\',p(){$("#M").1a();25()})}}C{$.q.r.1F();$.3S(b,p(a){$("#M").1a();1p(\'<9 s="3T">\'+a+\'</9>\',4.1G,4.1H)})}};p 25(){n a=X.E;n b=X.A;n c=(4.N*2)+40;n d=(4.N*2)+26;n w=$.q.r.1q();8(4.2J&&(a>(w[0]-c)||b>(w[1]-d))){n e=P.28(P.28(w[0]-c,a)/a,P.28(w[1]-d,b)/b);a=P.1b(e*a);b=P.1b(e*b)}1p(\'<1l 1W="" s="3U" 13="\'+X.13+\'" />\',a,b)};p 2K(){8((4.v.Y-1)>4.t){n a=4.v[4.t+1].K||F;8(a&&a.1d(1z)){1I=1v 1w();1I.13=a}}8(4.t>0){n a=4.v[4.t-1].K||F;8(a&&a.1d(1z)){1I=1v 1w();1I.13=a}}};p 1p(a,b,c){1f=D;n d=4.N;8(1S||m){$("#y")[0].15.2L("A");$("#y")[0].15.2L("E")}8(d>0){b+=d*2;c+=d*2;$("#y").u({\'z\':d+\'R\',\'2M\':d+\'R\',\'2N\':d+\'R\',\'B\':d+\'R\',\'E\':\'2O\',\'A\':\'2O\'});8(1S||m){$("#y")[0].15.2P(\'A\',\'(O.2Q.3V - \'+d*2+\')\');$("#y")[0].15.2P(\'E\',\'(O.2Q.3W - \'+d*2+\')\')}}C{$("#y").u({\'z\':0,\'2M\':0,\'2N\':0,\'B\':0,\'E\':\'2R%\',\'A\':\'2R%\'})}8($("#x").16(":V")&&b==$("#x").E()&&c==$("#x").A()){$("#y").1J(\'29\',p(){$("#y").1r().1K($(a)).2a("1L",p(){1s()})});J}n w=$.q.r.1q();n e=(c+26)>w[1]?w[3]:(w[3]+P.1b((w[1]-c-26)*0.5));n f=(b+40)>w[0]?w[2]:(w[2]+P.1b((w[0]-b-40)*0.5));n g={\'B\':f,\'z\':e,\'E\':b+\'R\',\'A\':c+\'R\'};8($("#x").16(":V")){$("#y").1J("1L",p(){$("#y").1r();$("#x").2b(g,4.2S,4.2T,p(){$("#y").1K($(a)).2a("1L",p(){1s()})})})}C{8(4.2c>0&&4.v[4.t].S!==1m){$("#y").1r().1K($(a));n h=4.v[4.t].S;n i=$.q.r.2d(h);$("#x").u({\'B\':(i.B-20-4.N)+\'R\',\'z\':(i.z-20-4.N)+\'R\',\'E\':$(h).E()+(4.N*2),\'A\':$(h).A()+(4.N*2)});8(4.2e){g.22=\'Z\'}$("#x").2b(g,4.2c,4.2U,p(){1s()})}C{$("#y").1a().1r().1K($(a)).Z();$("#x").u(g).2a("1L",p(){1s()})}}};p 2V(){8(4.t!==0){$("#1o, #2W").Q().11("17",p(e){e.2X();4.t--;1h();J F});$("#1o").Z()}8(4.t!=(4.v.Y-1)){$("#1n, #2Y").Q().11("17",p(e){e.2X();4.t++;1h();J F});$("#1n").Z()}};p 1s(){8($.14.1g){$("#y")[0].15.1M(\'1e\');$("#x")[0].15.1M(\'1e\')}2V();2K();$(U).11("1N.L",p(e){8(e.2f==27&&4.2Z){$.q.r.1c()}C 8(e.2f==37&&4.t!==0){$(U).Q("1N.L");4.t--;1h()}C 8(e.2f==39&&4.t!=(4.v.Y-1)){$(U).Q("1N.L");4.t++;1h()}});8(4.30){$("#y").17($.q.r.1c)}8(4.1E&&4.31){$("#T").11("17",$.q.r.1c)}8(4.33){$("#1i").11("17",$.q.r.1c).Z()}8(1V 4.v[4.t].G!==\'1m\'&&4.v[4.t].G.Y>0){n a=$("#x").1u();$(\'#H 9\').3X(4.v[4.t].G).2I();$(\'#H\').u({\'z\':a.z+$("#x").34()-32,\'B\':a.B+(($("#x").35()*0.5)-($(\'#H\').E()*0.5))}).Z()}8(4.1E&&18){$(\'1X, 1Y, 1Z\',$(\'#y\')).u(\'21\',\'V\')}8($.1T(4.2g)){4.2g(4.v[4.t])}8($.14.1g){$("#x")[0].15.1M(\'1e\');$("#y")[0].15.1M(\'1e\')}1f=F};J O.Q(\'17.L\').11(\'17.L\',2w)};$.q.r.2C=p(){n w=$.q.r.1q();8(4.2h&&$("#x").16(\':V\')){n a=$("#x").35();n b=$("#x").34();n c={\'z\':(b>w[1]?w[3]:w[3]+P.1b((w[1]-b)*0.5)),\'B\':(a>w[0]?w[2]:w[2]+P.1b((w[0]-a)*0.5))};$("#x").u(c);$(\'#H\').u({\'z\':c.z+b-32,\'B\':c.B+((a*0.5)-($(\'#H\').E()*0.5))})}8(18&&$("#T").16(\':V\')){$("#T").u({\'A\':$(U).A()})}8($("#M").16(\':V\')){$("#M").u({\'B\':((w[0]-40)*0.5+w[2]),\'z\':((w[1]-40)*0.5+w[3])})}};$.q.r.1t=p(a,b){J 3Y($.3Z(a.41?a[0]:a,b,D))||0};$.q.r.2d=p(a){n b=a.42();b.z+=$.q.r.1t(a,\'43\');b.z+=$.q.r.1t(a,\'44\');b.B+=$.q.r.1t(a,\'45\');b.B+=$.q.r.1t(a,\'46\');J b};$.q.r.2G=p(){$("#M").1a();$("#2E").Z()};$.q.r.1q=p(){J[$(19).E(),$(19).A(),$(U).47(),$(U).48()]};$.q.r.36=p(){8(!$("#M").16(\':V\')){38(1x);J}$("#M > 9").u(\'z\',(1y*-40)+\'R\');1y=(1y+1)%12};$.q.r.1F=p(){38(1x);n w=$.q.r.1q();$("#M").u({\'B\':((w[0]-40)*0.5+w[2]),\'z\':((w[1]-40)*0.5+w[3])}).Z();$("#M").11(\'17\',$.q.r.1c);1x=49($.q.r.36,4a)};$.q.r.1c=p(){1f=D;$(X).Q();$(U).Q("1N.L");$(19).Q("23.L 24.L");$("#T, #y, #1i").Q();$("#1i, #M, #1o, #1n, #H").1a();1O=p(){8($("#T").16(\':V\')){$("#T").1J("29")}$("#y").1r();8(4.2h){$(19).Q("23.L 24.L")}8(18){$(\'1X, 1Y, 1Z\').u(\'21\',\'V\')}8($.1T(4.2i)){4.2i()}1f=F};8($("#x").16(":V")!==F){8(4.2j>0&&4.v[4.t].S!==1m){n a=4.v[4.t].S;n b=$.q.r.2d(a);n c={\'B\':(b.B-20-4.N)+\'R\',\'z\':(b.z-20-4.N)+\'R\',\'E\':$(a).E()+(4.N*2),\'A\':$(a).A()+(4.N*2)};8(4.2e){c.22=\'1a\'}$("#x").3a(F,D).2b(c,4.2j,4.3b,1O)}C{$("#x").3a(F,D).1J(\'29\',1O)}}C{1O()}J F};$.q.r.3c=p(){n a=\'\';a+=\'<9 s="T"></9>\';a+=\'<9 s="M"><9></9></9>\';a+=\'<9 s="x">\';a+=\'<9 s="3d">\';a+=\'<9 s="1i"></9>\';a+=\'<9 s="W"><9 I="W" s="4b"></9><9 I="W" s="4c"></9><9 I="W" s="4d"></9><9 I="W" s="4e"></9><9 I="W" s="4f"></9><9 I="W" s="4g"></9><9 I="W" s="4h"></9><9 I="W" s="4i"></9></9>\';a+=\'<a K="2k:;" s="1o"><1P I="2l" s="2W"></1P></a><a K="2k:;" s="1n"><1P I="2l" s="2Y"></1P></a>\';a+=\'<9 s="y"></9>\';a+=\'</9>\';a+=\'</9>\';a+=\'<9 s="H"></9>\';$(a).3e("4j");$(\'<3f 4k="0" 4l="0" 4m="0"><3g><1k I="H" s="4n"></1k><1k I="H" s="4o"><9></9></1k><1k I="H" s="4p"></1k></3g></3f>\').3e(\'#H\');8($.14.1g){$(".W").1Q()}8(18){$("9#T").u("1u","2r");$("#M 9, #1i, .H, .2l").1Q();$("#3d").4q(\'<1j s="3h" 13="2k:F;" 4r="2q" 2H="0"></1j>\');n b=$(\'#3h\')[0].4s.U;b.4t();b.1c()}};$.q.r.2v={N:10,2J:D,2e:D,2c:0,2j:0,2S:4u,2U:\'2m\',3b:\'2m\',2T:\'2m\',1G:4v,1H:4w,1E:D,2B:0.3,2A:\'#4x\',2Z:D,33:D,31:D,30:D,2h:D,v:[],1U:1A,2g:1A,2i:1A};$(U).4y(p(){m=$.14.1g&&!$.4z;8($("#x").Y<1){$.q.r.3c()}})})(2F);',62,284,'||||opts||||if|div||||||||||||||var||function|fn|fancybox|id|itemCurrent|css|itemArray||fancy_outer|fancy_content|top|height|left|else|true|width|false|title|fancy_title|class|return|href|fb|fancy_loading|padding|this|Math|unbind|px|orig|fancy_overlay|document|visible|fancy_bg|imagePreloader|length|show||bind||src|browser|style|is|click|IE6|window|hide|round|close|match|filter|busy|msie|_change_item|fancy_close|iframe|td|img|undefined|fancy_right|fancy_left|_set_content|getViewport|empty|_finish|getNumeric|position|new|Image|loadingTimer|loadingFrame|imageRegExp|null|rel|children|first|overlayShow|showLoading|frameWidth|frameHeight|objNext|fadeOut|append|normal|removeAttribute|keydown|__cleanup|span|fixPNG|substr|oldIE|isFunction|callbackOnStart|typeof|alt|embed|object|select||visibility|opacity|resize|scroll|_proceed_image|60||min|fast|fadeIn|animate|zoomSpeedIn|getPosition|zoomOpacity|keyCode|callbackOnShow|centerOnScroll|callbackOnClose|zoomSpeedOut|javascript|fancy_ico|swing|each|backgroundImage|png|no|absolute|relative|version|extend|defaults|_initialize|_start|attr|push|overlayColor|overlayOpacity|scrollBox|indexOf|fancy_frame|jQuery|showIframe|frameborder|html|imageScale|_preload_neighbor_images|removeExpression|right|bottom|auto|setExpression|parentNode|100|zoomSpeedChange|easingChange|easingIn|_set_navigation|fancy_left_ico|stopPropagation|fancy_right_ico|enableEscapeButton|hideOnContentClick|hideOnOverlayClick||showCloseButton|outerHeight|outerWidth|animateLoading||clearInterval||stop|easingOut|build|fancy_inner|appendTo|table|tr|fancy_bigIframe|url|RegExp|none|progid|DXImageTransform|Microsoft|AlphaImageLoader|enabled|sizingMethod|backgroundRepeat|repeat|crop|scale|jpg|gif|bmp|jpeg|XMLHttpRequest|for|while|hidden|background|color|className|onload|name|fancy_iframe|random|1000|hspace|location|split|replace|fancy_div|complete|load|get|fancy_ajax|fancy_img|clientHeight|clientWidth|text|parseInt|curCSS||jquery|offset|paddingTop|borderTopWidth|paddingLeft|borderLeftWidth|scrollLeft|scrollTop|setInterval|66|fancy_bg_n|fancy_bg_ne|fancy_bg_e|fancy_bg_se|fancy_bg_s|fancy_bg_sw|fancy_bg_w|fancy_bg_nw|body|cellspacing|cellpadding|border|fancy_title_left|fancy_title_main|fancy_title_right|prepend|scrolling|contentWindow|open|300|560|340|666|ready|boxModel'.split('|'),0,{}));
|
@@ -1,16 +1,17 @@
|
|
1
1
|
jQuery(document).ready(function() {
|
2
2
|
jQuery(".tip-field").focus(function() {
|
3
3
|
jQuery(".active").removeClass("active");
|
4
|
-
var tip_key = jQuery('#' + this.id).siblings('
|
4
|
+
var tip_key = jQuery('#' + this.id).siblings('.tip-key');
|
5
5
|
var control_id = this.id;
|
6
6
|
var help_id = this.id;
|
7
|
+
var field = jQuery('#' + this.id);
|
7
8
|
if (tip_key.length > 0){
|
8
9
|
control_id = tip_key.html();
|
9
|
-
help_id =
|
10
|
-
}
|
11
|
-
var tip_text =
|
12
|
-
var tip_title =
|
13
|
-
var tip_position =
|
10
|
+
help_id = field.siblings('.tip-id').html();
|
11
|
+
}
|
12
|
+
var tip_text = field.siblings('.tip-text').html();
|
13
|
+
var tip_title = field.siblings('.tip-title').html();
|
14
|
+
var tip_position = field.siblings('.tip-position').html();
|
14
15
|
if (!tip_position) { tip_position = 'right'; }
|
15
16
|
show_tip(control_id, tip_title, tip_text, tip_position);
|
16
17
|
jQuery("#" + help_id + "-container").addClass("active");
|
@@ -1,44 +1,38 @@
|
|
1
|
-
|
2
|
-
div#fancy_overlay{position:fixed;top:0;left:0;width:100%;height:100%;background-color:#666;display:none;z-index:30;}
|
3
|
-
* html div#fancy_overlay{position:absolute;height:expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight :document.body.offsetHeight + 'px');}
|
4
|
-
div#fancy_wrap{text-align:left;}
|
1
|
+
div#fancy_overlay{position:fixed;top:0;left:0;width:100%;height:100%;display:none;z-index:30;}
|
5
2
|
div#fancy_loading{position:absolute;height:40px;width:40px;cursor:pointer;display:none;overflow:hidden;background:transparent;z-index:100;}
|
6
3
|
div#fancy_loading div{position:absolute;top:0;left:0;width:40px;height:480px;background:transparent url('/images/fancybox/fancy_progress.png') no-repeat;}
|
7
|
-
div#
|
8
|
-
div#
|
9
|
-
div#fancy_outer{position:absolute;top:0;left:0;z-index:90;padding:18px 18px 33px 18px;margin:0;overflow:hidden;background:transparent;display:none;}
|
10
|
-
div#fancy_inner{position:relative;width:100%;height:100%;border:1px solid #BBB;background:#FFF;}
|
4
|
+
div#fancy_outer{position:absolute;top:0;left:0;z-index:90;padding:20px 20px 40px 20px;margin:0;background:transparent;display:none;}
|
5
|
+
div#fancy_inner{position:relative;width:100%;height:100%;background:#FFF;}
|
11
6
|
div#fancy_content{margin:0;z-index:100;position:absolute;}
|
12
7
|
div#fancy_div{background:#000;color:#FFF;height:100%;width:100%;z-index:100;}
|
13
8
|
img#fancy_img{position:absolute;top:0;left:0;border:0;padding:0;margin:0;z-index:100;width:100%;height:100%;}
|
14
9
|
div#fancy_close{position:absolute;top:-12px;right:-15px;height:30px;width:30px;background:url('/images/fancybox/fancy_closebox.png') top left no-repeat;cursor:pointer;z-index:181;display:none;}
|
15
10
|
#fancy_frame{position:relative;width:100%;height:100%;display:none;}
|
16
11
|
#fancy_ajax{width:100%;height:100%;overflow:auto;}
|
17
|
-
a#fancy_left,a#fancy_right{position:absolute;bottom:0px;height:100%;width:35%;cursor:pointer;z-index:111;display:none;background-image:url(data:image/gif;base64,AAAA);outline:none;}
|
12
|
+
a#fancy_left,a#fancy_right{position:absolute;bottom:0px;height:100%;width:35%;cursor:pointer;z-index:111;display:none;background-image:url("data:image/gif;base64,AAAA");outline:none;overflow:hidden;}
|
18
13
|
a#fancy_left{left:0px;}
|
19
14
|
a#fancy_right{right:0px;}
|
20
15
|
span.fancy_ico{position:absolute;top:50%;margin-top:-15px;width:30px;height:30px;z-index:112;cursor:pointer;display:block;}
|
21
16
|
span#fancy_left_ico{left:-9999px;background:transparent url('/images/fancybox/fancy_left.png') no-repeat;}
|
22
17
|
span#fancy_right_ico{right:-9999px;background:transparent url('/images/fancybox/fancy_right.png') no-repeat;}
|
23
|
-
a#fancy_left:hover{visibility:visible;}
|
24
|
-
a#fancy_right:hover{visibility:visible;}
|
18
|
+
a#fancy_left:hover,a#fancy_right:hover{visibility:visible;background-color:transparent;}
|
25
19
|
a#fancy_left:hover span{left:20px;}
|
26
20
|
a#fancy_right:hover span{right:20px;}
|
27
|
-
|
21
|
+
#fancy_bigIframe{position:absolute;top:0;left:0;width:100%;height:100%;background:transparent;}
|
28
22
|
div#fancy_bg{position:absolute;top:0;left:0;width:100%;height:100%;z-index:70;border:0;padding:0;margin:0;}
|
29
23
|
div.fancy_bg{position:absolute;display:block;z-index:70;border:0;padding:0;margin:0;}
|
30
|
-
div
|
31
|
-
div
|
32
|
-
div
|
33
|
-
div
|
34
|
-
div
|
35
|
-
div
|
36
|
-
div
|
37
|
-
div
|
38
|
-
div#fancy_title{position:absolute;
|
39
|
-
div#fancy_title div{color:#FFF;font:bold 12px Arial;padding-bottom:3px;}
|
24
|
+
div#fancy_bg_n{top:-20px;left:0;width:100%;height:20px;background:transparent url('/images/fancybox/fancy_shadow_n.png') repeat-x;}
|
25
|
+
div#fancy_bg_ne{top:-20px;right:-20px;width:20px;height:20px;background:transparent url('/images/fancybox/fancy_shadow_ne.png') no-repeat;}
|
26
|
+
div#fancy_bg_e{right:-20px;height:100%;width:20px;background:transparent url('/images/fancybox/fancy_shadow_e.png') repeat-y;}
|
27
|
+
div#fancy_bg_se{bottom:-20px;right:-20px;width:20px;height:20px;background:transparent url('/images/fancybox/fancy_shadow_se.png') no-repeat;}
|
28
|
+
div#fancy_bg_s{bottom:-20px;left:0;width:100%;height:20px;background:transparent url('/images/fancybox/fancy_shadow_s.png') repeat-x;}
|
29
|
+
div#fancy_bg_sw{bottom:-20px;left:-20px;width:20px;height:20px;background:transparent url('/images/fancybox/fancy_shadow_sw.png') no-repeat;}
|
30
|
+
div#fancy_bg_w{left:-20px;height:100%;width:20px;background:transparent url('/images/fancybox/fancy_shadow_w.png') repeat-y;}
|
31
|
+
div#fancy_bg_nw{top:-20px;left:-20px;width:20px;height:20px;background:transparent url('/images/fancybox/fancy_shadow_nw.png') no-repeat;}
|
32
|
+
div#fancy_title{position:absolute;z-index:100;display:none;}
|
33
|
+
div#fancy_title div{color:#FFF;font:bold 12px Arial;padding-bottom:3px;white-space:nowrap;}
|
40
34
|
div#fancy_title table{margin:0 auto;}
|
41
35
|
div#fancy_title table td{padding:0;vertical-align:middle;}
|
42
|
-
td#fancy_title_left{height:32px;width:15px;background:transparent url(fancy_title_left.png) repeat-x;}
|
43
|
-
td#fancy_title_main{height:32px;background:transparent url(fancy_title_main.png) repeat-x;}
|
44
|
-
td#fancy_title_right{height:32px;width:15px;background:transparent url(fancy_title_right.png) repeat-x;}
|
36
|
+
td#fancy_title_left{height:32px;width:15px;background:transparent url('/images/fancybox/fancy_title_left.png') repeat-x;}
|
37
|
+
td#fancy_title_main{height:32px;background:transparent url('/images/fancybox/fancy_title_main.png') repeat-x;}
|
38
|
+
td#fancy_title_right{height:32px;width:15px;background:transparent url('/images/fancybox/fancy_title_right.png') repeat-x;}
|
@@ -1,16 +1,17 @@
|
|
1
1
|
jQuery(document).ready(function() {
|
2
2
|
jQuery(".tip-field").focus(function() {
|
3
3
|
jQuery(".active").removeClass("active");
|
4
|
-
var tip_key = jQuery('#' + this.id).siblings('
|
4
|
+
var tip_key = jQuery('#' + this.id).siblings('.tip-key');
|
5
5
|
var control_id = this.id;
|
6
6
|
var help_id = this.id;
|
7
|
+
var field = jQuery('#' + this.id);
|
7
8
|
if (tip_key.length > 0){
|
8
9
|
control_id = tip_key.html();
|
9
|
-
help_id =
|
10
|
-
}
|
11
|
-
var tip_text =
|
12
|
-
var tip_title =
|
13
|
-
var tip_position =
|
10
|
+
help_id = field.siblings('.tip-id').html();
|
11
|
+
}
|
12
|
+
var tip_text = field.siblings('.tip-text').html();
|
13
|
+
var tip_title = field.siblings('.tip-title').html();
|
14
|
+
var tip_position = field.siblings('.tip-position').html();
|
14
15
|
if (!tip_position) { tip_position = 'right'; }
|
15
16
|
show_tip(control_id, tip_title, tip_text, tip_position);
|
16
17
|
jQuery("#" + help_id + "-container").addClass("active");
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: muck-engine
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.18
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Justin Ball
|
@@ -10,7 +10,7 @@ autorequire:
|
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
12
|
|
13
|
-
date: 2009-
|
13
|
+
date: 2009-12-03 00:00:00 -07:00
|
14
14
|
default_executable:
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|