mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-31 00:59:58 +09:00
issue 2585 add a layout html/css view.
git-svn-id: http://xe-core.googlecode.com/svn/branches/maserati@11700 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3160451de0
commit
8100737bc3
4 changed files with 169 additions and 0 deletions
13
modules/layout/tpl/js/layout_admin_set_html.js
Normal file
13
modules/layout/tpl/js/layout_admin_set_html.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
function initHtmlCSSView()
|
||||
{
|
||||
var $ = jQuery;
|
||||
$('.uploaded_image').css('cursor', 'pointer');
|
||||
$('.uploaded_image_path').hide();
|
||||
$('.uploaded_image').bind('click', function(e){
|
||||
var path = $(this).find('.uploaded_image_path').html();
|
||||
var html = '<div class="x_well selected_image_path">' + path + '</div>';
|
||||
|
||||
$('.selected_image_path').remove();
|
||||
$('.uploaded_image_list').after(html);
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue