Sha256: d855085721a99b3830f6dad657c5ac1779a246f2bf90b6e4d144b623ec471fd5

Contents?: true

Size: 1.08 KB

Versions: 3

Compression:

Stored size: 1.08 KB

Contents

<html>
<body>
<head>
	<link href="../dist/styles/metro/notify-metro.css" rel="stylesheet" />

	<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
	<script src="../dist/notify.js"></script>
	<script src="../dist/styles/metro/notify-metro.js"></script>
</head>

<h2>Index</h2>

<button onclick="notify('white')">White</button>
<button onclick="notify('black')">Black</button>
<button onclick="notify('error')">Err</button>
<button onclick="notify('success')">Success</button>
<button onclick="notify('warning')">Warning</button>
<button onclick="notify('info')">Info</button>

<div style="background-image:url('/Content/mail.png')"></div>

<script type="text/javascript">
    function notify(style) {
        $.notify({
            title: 'Email Notification',
            text: 'You received an e-mail from your boss. You should read it right now!',
            image: "<img src='images/Mail.png'/>"
        }, {
            style: 'metro',
            className: style,
            autoHide: false,
            clickToHide: true
        });
    }
</script>
</body>
</html>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
statixite-1.0.2 vendor/assets/bower_components/notifyjs/examples/metro.html
statixite-1.0.1 vendor/assets/bower_components/notifyjs/examples/metro.html
statixite-1.0.0 vendor/assets/bower_components/notifyjs/examples/metro.html