Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
4dabae94
Commit
4dabae94
authored
May 17, 2016
by
Rafael Ostertag
Browse files
Added application of Alert in link.
parent
9822cfc6
Changes
1
Hide whitespace changes
Inline
Side-by-side
mockup/alert.html
View file @
4dabae94
...
...
@@ -13,7 +13,19 @@
<button
id=
"showalert2"
>
Show Alert 2
</button>
<button
id=
"showalert3"
>
Show Alert 3 primed
</button>
<button
id=
"showmanyalert1"
>
Show Many Alert 1
</button>
<a
id=
"alertinlink"
onclick=
"
var alert = new QfqNS.Alert('Text being displayed', 'info', [
{ label: 'OK', eventName: 'ok' },
{ label: 'Cancel', eventName: 'cancel'}
]);
alert.on('alert.ok', function() {
window.location = $('#alertinlink').attr('href');
});
alert.show();
return false;
"
href=
"http://www.google.ch"
>
Link alert
</a>
<script
src=
"../js/jquery.min.js"
></script>
<script
src=
"../js/bootstrap.min.js"
></script>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment