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:
devjin 2012-10-15 07:01:04 +00:00
parent 3160451de0
commit 8100737bc3
4 changed files with 169 additions and 0 deletions

View 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);
});
}