Team:Peking/jqueryplugins4
From 2010.igem.org
(Difference between revisions)
Evamonlight (Talk | contribs) (New page: <html> <style type="text/javascript"> <!--jquerycorner--> // TODO: alter variable/property naming so that less string manipulation is required. // TODO: make prototype "safe". low priority...) |
Evamonlight (Talk | contribs) |
||
(3 intermediate revisions not shown) | |||
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 65: | Line 65: | ||
// expressions for ie6, but otherwise, it is what it is. | // expressions for ie6, but otherwise, it is what it is. | ||
STRinlineStyling : '\n\ | STRinlineStyling : '\n\ | ||
- | <style type="text/css"> | + | <style type="text/css"> |
- | /* THE FOLLOWING STYLES ARE THE BASE/DEFAULT STYLES, AND ASSUME NO BIAS */ | + | /* THE FOLLOWING STYLES ARE THE BASE/DEFAULT STYLES, AND ASSUME NO BIAS */ |
/* BIAS STYING IS APPLIED INLINE, AS IT MUST BE CALCULATED IN JS. */\n\ | /* BIAS STYING IS APPLIED INLINE, AS IT MUST BE CALCULATED IN JS. */\n\ | ||
/* only styles imposed upon original container */\n\ | /* only styles imposed upon original container */\n\ | ||
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*/ //////////////////////////////////////////////////////////////////////////////////////// | ||
Line 159: | Line 161: | ||
} | } | ||
} | } | ||
+ | |||
+ | |||
+ | |||
+ | |||
if (typeof(OBJsettings) == 'object') { | if (typeof(OBJsettings) == 'object') { | ||
// classify the parent container | // classify the parent container | ||
Line 280: | Line 286: | ||
}); | }); | ||
}; | }; | ||
- | + | //////////////////////////////////////////////////////////////////////////////////////////// | |
//// plugin provides quadcorners-safe (nondestructive) HTML method, like $().html(). | //// plugin provides quadcorners-safe (nondestructive) HTML method, like $().html(). | ||
//////////////////////////////////////////////////////////////////////////////////////////// | //////////////////////////////////////////////////////////////////////////////////////////// | ||
Line 309: | Line 315: | ||
- | </ | + | </script> |
</html> | </html> |
Latest revision as of 15:51, 19 September 2010