Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script>
- $( document ).ready(function() {
- if(typeof window.orientation !== 'undefined') {
- // Mobil
- $("#button-id").attr("href", "http://ppd"); // aici pui link-ul de la ppd
- } else {
- $("#button-id").attr("href", "http://ppi"); // aici pui link-ul de la ppi
- }
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement