Response title
This is preview!
- <script>
- var randomlinks=[];
- randomlinks[0]="page100"
- randomlinks[1]="page110"
- randomlinks[2]="page120"
- function randomlink(){
- var idx = Math.floor(Math.random()*randomlinks.length);
- window.location.hash ='#' + randomlinks[idx];
- }
- </script>
in the body section:
- <a href="javascript:randomlink()" class="slide"><img src="images/but_random.png" class="mybutton"></a>
thanks so much for help.
© 2013 jQuery Foundation
Sponsored by and others.