Commits

Roma Sokolov  committed 3a9b227

add english text

  • Participants
  • Parent commits 717ff15

Comments (0)

Files changed (2)

File bookmarklet.html

   </head>
   <body>
     <div>
-      <div id="about">
+      <div class="about">
         <p>
           Часто, встретив в интернете адрес какого-либо места, приходится
           копировать этот адрес, открывать <a href="http://maps.yandex.ru">Яндекс.Карты</a>,
           <a href='http://bitbucket.org/little_arhat/yamaps'>Исходники</a>
         </p>
       </div>
+      <div class="about">
+        <p>
+          When you find some address on the Internet, you often have to open
+          <a href="http://maps.yandex.ru">Yandex.Maps</a>, copy this addres in Search field
+          and press Enter to see this place on the map.
+        </p>
+
+        <p>
+          Bookmarklet <a href='javascript:(function(){var a=document,e="http://yamaps.cuprum.ru/",c=a.createElement("div"),b=a.createElement("div"),f=a.getElementsByTagName("body")[0];b.style.position="fixed";b.style.height="630px";b.style.width="800px";b.style.zIndex="100000";b.style.top="10%";b.style.left="10%";b.style.padding="2px 2px 2px 2px";b.style.backgroundColor="#E6D4A5";b.style.borderRadius="20px";c.style.position="relative";c.style.height="30px";c.style.padding="1px 1px 1px 1px";c.style.right="0%";c.style.textAlign="right";var d=a.createElement("A");d.href="#";d.onclick=function(){f.removeChild(b)};d.innerHTML="Close";c.appendChild(d);b.appendChild(c);c=a.getSelection?a.getSelection():a.selection.createRange().text;e+="#"+encodeURIComponent(c).trim();a=a.createElement("IFRAME");a.setAttribute("src",e);a.style.width="99%";a.style.height="590px";a.style.borderRadius="10px";b.appendChild(a);f.appendChild(b)})()'>Find address!</a>
+          helps you to solve this problem.
+        </p>
+
+        <p>
+          Just drag this bookmarklet to your bookmarks toolbar,
+          highlight the address you need and press bookmarklet,
+          to find this place on the map in a new window.
+        </p>
+
+        <p>
+          Very simle.
+        </p>
+        <p>
+          <a href='http://bitbucket.org/little_arhat/yamaps'>Sources</a>
+        </p>
+      </div>
+      <br style="clear:both" />
     </div>
   </body>
 </html>

File static/style.css

     height: 100%;
 }
 
-#about {
-    padding-left:20%;
+.about {
+    padding-left:10%;
     padding-top:5%;
-    width:60%;
+    padding-right: 5%;
+    width:30%;
+    float:left;
 }