Widget:MattTest: Difference between revisions

Jump to navigation Jump to search
No edit summary
No edit summary
Line 964: Line 964:
}
}
});
});
$("#formBuilder-container").ready(function(){
var div = $("#formBuilder-container");
if (div.css("padding-left").slice(0,-2) > 5) {div.css("padding-left","5px")}
if (div.css("padding-right").slice(0,-2) > 5) {div.css("padding-right","5px")}
if (div.css("padding-top").slice(0,-2) > 5) {div.css("padding-top","5px")}
if (div.css("padding-bottom").slice(0,-2) > 5) {div.css("padding-bottom","5px")}
});
$("#output-container").ready(function(){
var div = $("#output-container");
if (div.css("padding-left").slice(0,-2) > 5) {div.css("padding-left","5px")}
if (div.css("padding-right").slice(0,-2) > 5) {div.css("padding-right","5px")}
if (div.css("padding-top").slice(0,-2) > 5) {div.css("padding-top","5px")}
if (div.css("padding-bottom").slice(0,-2) > 5) {div.css("padding-bottom","5px")}
});
</script>
</script>
<style type="text/css">
<style type="text/css">
Line 1,179: Line 1,195:
</div>
</div>
</div>
</div>
<script type="text/javascript">
var $ = jQuery.noConflict();
$("#formBuilder-container").ready(function(){
var div = $("#formBuilder-container");
if (div.css("padding-left").slice(0,-2) > 5) {div.css("padding-left","5px")}
if (div.css("padding-right").slice(0,-2) > 5) {div.css("padding-right","5px")}
if (div.css("padding-top").slice(0,-2) > 5) {div.css("padding-top","5px")}
if (div.css("padding-bottom").slice(0,-2) > 5) {div.css("padding-bottom","5px")}
});
$("#output-container").ready(function(){
var div = $("#output-container");
if (div.css("padding-left").slice(0,-2) > 5) {div.css("padding-left","5px")}
if (div.css("padding-right").slice(0,-2) > 5) {div.css("padding-right","5px")}
if (div.css("padding-top").slice(0,-2) > 5) {div.css("padding-top","5px")}
if (div.css("padding-bottom").slice(0,-2) > 5) {div.css("padding-bottom","5px")}
});
</script>


</includeonly>
</includeonly>

Revision as of 14:13, 7 May 2018