$(function() {
$.ajaxSetup({cache: false});
- /* setup tooltips *//*
- $("a,.tt").each(function(){
- var e = $(this);
- var pos="bottom";
- if (e.hasClass("tttop")) pos="top";
- if (e.hasClass("ttbottom")) pos="bottom";
- if (e.hasClass("ttleft")) pos="left";
- if (e.hasClass("ttright")) pos="right";
- e.tipTip({defaultPosition: pos, edgeOffset: 8});
- });*/
-
/* setup comment textarea buttons */
/* comment textarea buttons needs some "data-*" attributes to work:
* data-role="insert-formatting" : to mark the element as a formatting button
$(function() {
$.ajaxSetup({cache: false});
- //collapseHeight();
-
- /* setup tooltips *//*
- $("a,.tt").each(function(){
- var e = $(this);
- var pos="bottom";
- if (e.hasClass("tttop")) pos="top";
- if (e.hasClass("ttbottom")) pos="bottom";
- if (e.hasClass("ttleft")) pos="left";
- if (e.hasClass("ttright")) pos="right";
- e.tipTip({defaultPosition: pos, edgeOffset: 8});
- });*/
-
-
-
/* setup onoff widgets */
$(".onoff input").each(function(){
val = $(this).val();
collapseHeight();
- /* setup tooltips *//*
- $("a,.tt").each(function(){
- var e = $(this);
- var pos="bottom";
- if (e.hasClass("tttop")) pos="top";
- if (e.hasClass("ttbottom")) pos="bottom";
- if (e.hasClass("ttleft")) pos="left";
- if (e.hasClass("ttright")) pos="right";
- e.tipTip({defaultPosition: pos, edgeOffset: 8});
- });*/
-
-
-
/* setup onoff widgets */
$(".onoff input").each(function(){
val = $(this).val();