Team:Peking/jqueryplugins4
From 2010.igem.org
(Difference between revisions)
Evamonlight (Talk | contribs) |
Evamonlight (Talk | contribs) |
||
Line 1: | Line 1: | ||
<html> | <html> | ||
- | < | + | <script type="text/javascript"> |
<!--jquerycorner--> | <!--jquerycorner--> | ||
// TODO: alter variable/property naming so that less string manipulation is required. | // TODO: alter variable/property naming so that less string manipulation is required. | ||
Line 92: | Line 92: | ||
div.rndCornersBottomRight .rndCornersImg { bottom: 0%; right: 0%; }\n\ | div.rndCornersBottomRight .rndCornersImg { bottom: 0%; right: 0%; }\n\ | ||
</style>\n\ | </style>\n\ | ||
- | |||
- | + | ||
+ | ', | ||
/*MSIE*/ //////////////////////////////////////////////////////////////////////////////////////// | /*MSIE*/ //////////////////////////////////////////////////////////////////////////////////////// | ||
/*MSIE*/ //// function converts css percentage values to ie-proprietary css "expressions" it is | /*MSIE*/ //// function converts css percentage values to ie-proprietary css "expressions" it is | ||
Line 162: | Line 162: | ||
} | } | ||
- | |||
- | + | ||
if (typeof(OBJsettings) == 'object') { | if (typeof(OBJsettings) == 'object') { | ||
Line 287: | Line 286: | ||
}); | }); | ||
}; | }; | ||
- | + | //////////////////////////////////////////////////////////////////////////////////////////// | |
//// plugin provides quadcorners-safe (nondestructive) HTML method, like $().html(). | //// plugin provides quadcorners-safe (nondestructive) HTML method, like $().html(). | ||
//////////////////////////////////////////////////////////////////////////////////////////// | //////////////////////////////////////////////////////////////////////////////////////////// | ||
- | |||
jQuery.fn.HTML = function(arg) { | jQuery.fn.HTML = function(arg) { | ||
// if element contains a quadcorners content wrapper as an immediate child, shift target element, to it. | // if element contains a quadcorners content wrapper as an immediate child, shift target element, to it. | ||
Line 317: | Line 315: | ||
- | </ | + | </script> |
</html> | </html> |
Latest revision as of 15:51, 19 September 2010