Permalink
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...
1 parent 628b198 commit d389a57c0b8fb44350f1623b43b062b11b8af857 @jaspermdegroot jaspermdegroot committed Mar 11, 2013
Showing with 1 addition and 13 deletions.
  1. +1 −13 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">

0 comments on commit d389a57

Please sign in to comment.