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

Some banner plugin work. imagepicker() may now be customized in preview size.

This commit is contained in:
Cameron
2013-03-09 19:22:30 -08:00
parent 269bdb8ebb
commit ac0ce7e98c
13 changed files with 110 additions and 53 deletions

View File

@@ -165,6 +165,7 @@ $(document).ready(function()
//alert(bbpath);
}
$('#src').attr('value',src); // working old
$('#preview').attr('src',preview); // working old
@@ -174,6 +175,7 @@ $(document).ready(function()
$('#width').val(width);
$('#height').val(height);
$('img#' + target + "_prev", window.top.document).attr('src',preview); // set new value
$('div#' + target + "_prev", window.top.document).html(preview); // set new value
$('span#' + target + "_prev", window.top.document).html(preview); // set new value