mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 19:21:40 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8920 201d5d3c-b55e-5fd7-737f-ddc643e51545
24 lines
No EOL
661 B
JavaScript
24 lines
No EOL
661 B
JavaScript
jQuery(document).ready(function($){
|
|
$('.uploaded_image').css('cursor', 'pointer');
|
|
$('.uploaded_image_path').hide();
|
|
$('.uploaded_image').bind('click', function(e){
|
|
var path = $(this).siblings('.uploaded_image_path').html();
|
|
var html = '<div class="selected_image_path">' + path + '</div>';
|
|
|
|
$('.selected_image_path').remove();
|
|
$('.uploaded_image_list').after(html);
|
|
});
|
|
});
|
|
|
|
function doPreviewLayoutCode()
|
|
{
|
|
var $form = jQuery('#fo_layout'), $act = $form.find('input[name=act]');
|
|
var og_act = $act.val();
|
|
|
|
$form.attr('target', '_LayoutPreview');
|
|
$act.val('dispLayoutPreview');
|
|
$form.submit();
|
|
|
|
$form.removeAttr('target');
|
|
$act.val(og_act);
|
|
} |