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 bde6a4a6c2446fd3c2e4f5a6f39f413e024dd1f7 1 parent f9d4fc7
Jasper de Groot jaspermdegroot authored
Showing with 1 addition and 13 deletions.
  1. +1 −13 index.php
14 index.php
View
@@ -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.