Advertisement
Guest User

Untitled

a guest
Apr 18th, 2012
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.50 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  5. <title>Untitled Document</title>
  6. <script language="javascript" src="http://code.jquery.com/jquery-1.7.2.min.js"></script>
  7. <script language="javascript" src="arrow.js"></script>
  8. <style>
  9. #wrapper {
  10.   width: 960px;
  11.   margin:0 auto;
  12.   margin-top: 50px;
  13. }
  14.  
  15. #map {
  16.     width: 100%;
  17.     height: 500px;
  18.     border: 3px solid black;   
  19. }
  20. </style>
  21. </head>
  22. <script>
  23.  $(document).ready(function() {
  24.    $("#map").AddArrow({
  25.             ArrowHeight: '20',
  26.             ArrowWidth: '26',
  27.             ArrowPath: 'arrow-top.png',
  28.             Orientation: 'Top',
  29.             Fade: true,
  30.             FadeSpeed: 300,
  31.             MouseOver: true
  32.     }) 
  33.     $("#map").AddArrow({
  34.             ArrowHeight: '26',
  35.             ArrowWidth: '20',
  36.             ArrowPath: 'arrow-right.png',
  37.             Orientation: 'Right',
  38.             Fade: true,
  39.             FadeSpeed: 300,
  40.             MouseOver: true
  41.     }) 
  42.     $("#map").AddArrow({
  43.             ArrowHeight: '20',
  44.             ArrowWidth: '26',
  45.             ArrowPath: 'arrow-bottom.png',
  46.             Orientation: 'Bottom',
  47.             Fade: true,
  48.             FadeSpeed: 300,
  49.             MouseOver: true
  50.     }) 
  51.     $("#map").AddArrow({
  52.             ArrowHeight: '26',
  53.             ArrowWidth: '20',
  54.             ArrowPath: 'arrow-left.png',
  55.             Orientation: 'Left',
  56.             Fade: true,
  57.             FadeSpeed: 300,
  58.             MouseOver: true
  59.     }) 
  60.  });
  61. </script>
  62. <body>
  63. <div id="wrapper">
  64. <div id="map">
  65.  
  66. </div>
  67. <div id="test">
  68. </div>
  69. </div>
  70. </body>
  71. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement