1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Menu-Manager auto-height on iFrame and other GUI fixes.

This commit is contained in:
Cameron
2013-04-14 17:06:02 -07:00
parent a40736e9b4
commit 755bf861c4
4 changed files with 31 additions and 23 deletions

View File

@@ -428,12 +428,14 @@ $(document).ready(function()
// Menu Manager Layout drop-down options
$("#menuManagerSelect").change(function(){
var link = $(this).val();
$("#menu_iframe").attr("data",link);
$("#menu_iframe").attr("src",link);
return false;
});
$('#menu_iframe').load(function() {
this.style.height = this.contentWindow.document.body.offsetHeight + 100 + 'px';
});
$(".e-shake" ).effect("shake",{times: 10, distance: 2},20);