Team:Peking/jqueryplugins4

From 2010.igem.org

(Difference between revisions)
 
Line 1: Line 1:
<html>
<html>
-
<style type="text/css">
+
<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\
-
</style>
 
-
<style type="text/javascript"> ',
+
 
 +
',
/*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:
}
}
-
</style>
 
-
<html>
+
 
if (typeof(OBJsettings) == 'object') {
if (typeof(OBJsettings) == 'object') {
Line 287: Line 286:
});
});
};
};
-
</html> ////////////////////////////////////////////////////////////////////////////////////////////
+
////////////////////////////////////////////////////////////////////////////////////////////
//// plugin provides quadcorners-safe (nondestructive) HTML method, like $().html().
//// plugin provides quadcorners-safe (nondestructive) HTML method, like $().html().
////////////////////////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////////////////////////
-
<style type="text/javascript">
 
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:
-
</style>
+
</script>
</html>
</html>

Latest revision as of 15:51, 19 September 2010