Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Hide and show the link to demos folder with JS to make sure no-JS bro…

…wsers show the link.
  • Loading branch information...
commit d389a57c0b8fb44350f1623b43b062b11b8af857 1 parent 628b198
@jaspermdegroot jaspermdegroot authored
Showing with 1 addition and 13 deletions.
  1. +1 −13 index.php
View
14 index.php
@@ -18,21 +18,9 @@
<script src="js/"></script>
<script>
$( document ).on( "pageshow", function(){
- $( "p.message" ).addClass( "show" );
+ $( "p.message" ).hide().delay( 1500 ).show( "fast" );
});
</script>
- <style>
- p.message {
- opacity: 0;
- -webkit-transition: opacity 250ms ease 2s;
- -moz-transition: opacity 250ms ease 2s;
- -o-transition: opacity 250ms ease 2s;
- transition: opacity 250ms ease 2s;
- }
- p.message.show {
- opacity: 1;
- }
- </style>
</head>
<body>
<div data-role="page" class="jqm-demos">
Please sign in to comment.
Something went wrong with that request. Please try again.