Created
September 28, 2012 15:06
-
-
Save agustinhaller/3800417 to your computer and use it in GitHub Desktop.
fancybox
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Open all mighty fancybox | |
$.fancybox( | |
'<div id="create-rule-wrapper">'+ | |
'<div class="top-message blue">'+ | |
'<h4 class="title"><?php echo translate("DEFAULT_HINT_TITLE", null, null, false); ?></h4>'+ | |
'<div class="description">'+ | |
'<p>'+ | |
'<?php echo translate("DEFAULT_HINT_DESCRIPTION", null, null, false); ?>'+ | |
'</p>'+ | |
'</div>'+ | |
'</div>'+ | |
'<div class="left-column">'+ | |
'<div class="rule-creation-container">'+ | |
fancybox_html+ | |
'</div>'+ | |
'</div>'+ | |
'<div class="right-column">'+ | |
'<h3 class="title"><strong><?php echo translate("TIPS_TITLE", null, null, false); ?>:</strong></h3>'+ | |
'<ul class="recomendations-list">'+ | |
'<li class="recomendation-item blue">'+ | |
'<p><?php echo translate("DEFAULT_TIP_1", null, null, false); ?></p>'+ | |
'</li>'+ | |
'<li class="recomendation-item green">'+ | |
'<p><?php echo translate("DEFAULT_TIP_2", null, null, false); ?></p>'+ | |
'</li>'+ | |
'<li class="recomendation-item red">'+ | |
'<p><?php echo translate("DEFAULT_TIP_3", null, null, false); ?></p>'+ | |
'</li>'+ | |
'<li class="recomendation-item blue">'+ | |
'<p><?php echo translate("DEFAULT_TIP_4", null, null, false); ?></p>'+ | |
'</li>'+ | |
'</ul>'+ | |
'</div>'+ | |
'</div>', | |
{ | |
'autoDimensions' : false, | |
'width' : 940, | |
'height' : 530, | |
// 'height' : 800, | |
'transitionIn' : 'none', | |
'transitionOut' : 'none', | |
'centerOnScroll' : true | |
} | |
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment