Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery alert design


<script src="alert/jAlert-v3.min.js"></script>
<script src="alert/jAlert-functions.min.js"></script>
<script>
 
$('.alertdemo').on('click', function(e){
 
e.preventDefault();
 
theme = "blue";
 
 
 
$.jAlert({
 
'title': 'jAlert Demo',
 
'content': 'This is a simple jAlert that is based at jQuery!',
 
'theme': theme,
 
'backgroundColor': 'white',
 
'btns': [
 
{'text':'OK', 'theme':theme}
 
]
 
});
 
});
 
</script>
Source by www.jquery-az.com #
 
PREVIOUS NEXT
Tagged: #jquery #alert #design
ADD COMMENT
Topic
Name
4+1 =