Simple is beautiful - SweetRice Official website.
Home
get SweetRice
Docs
Plugins
Themes
License
About
Hosting
Press
HOME
»
SweetRice Docs
»
SweetRice Dialog example
Dialog Example
dlg_example = _.dialog({ 'name':'example', content:'SweetRice Dialog example', 'title':'Dialog title', 'layer':1, 'width':600, 'button':[ {'label':'Clicked','bind':{'click':function(){alert('Clicked');}}}, {'label':'Mouseover','bind':{'mouseover':function(){alert('Mouseover');}}}, {'label':'Mouseout','bind':{'mouseout':function(){alert('Mouseout');}}}, {'label':'Move','bind':{'click':function(){_('#SweetRice_dialog_example').animate({'top':'5px','left':'5px'},2000,function(){_('#SweetRice_dialog_example').find('.SweetRice_dialog_content').css({'height':'500px'},null,function(){_('#SweetRice_dialog_example').animate({'top':'150px','left':'38px'},2000);});});}}}, {'label':'FadeIn','bind':{'click':function(){_('#SweetRice_dialog_example').fadeIn(1000);}}}, {'label':'FadeOut','bind':{'click':function(){_('#SweetRice_dialog_example').fadeOut(1000,function(){_('#SweetRice_dialog_example').find('.SweetRice_dialog_close').run('click');});}}}, {'label':'css','bind':{'click':function(){_('#SweetRice_dialog_example').css({'height':'500px'});}}} ] });
POST_DETAIL
LAST_UPDATEFeb,01,2014 VIEWS : 5374
PERMALINK
https://www.sweetrice.xyz/docs/SweetRice-Dialog-example/
TAGS
SweetRice
Dialog
TOTAL 1 USER_COMMENTS
VIEW_ALL_COMMENTS
YOUR_NAME
*
REMEMBER_ME
YOUR_EMAIL
*
YOUR_WEBSITE
VERIFICATION_CODE
*
RELATED_ENTRY
SweetRice for SEO
Some things for upgrade SweetRice to 1.1.0
SweetRice 1.3.4 released
SweetRice 1.3.3
Submit a bug
SweetRice SVN on Google Code
Enhance security of your SweetRice
SweetRice upgrade to 0.6.1
SweetRice change log
Converter database from Mysql to PostgreSql
Copyright © 2008 - 2023
SweetRice