Permalink
Browse files

read me update

  • Loading branch information...
1 parent 82e700d commit 6941259c50e9352b713a9bd171940771ac01a899 @joggink committed Jan 27, 2012
Showing with 9 additions and 8 deletions.
  1. +9 −8 readme.md
View
@@ -32,21 +32,22 @@ You can optionally change these default parameters:
$(document).ready(function(){
// your navigation ul selector
- $('#nav-main ul').mobileSelect({
+ $('.gmap').mobileGmap({
deviceWidth: 480, // The select will be added for screensizes smaller than this
});
})
```
If you want to pass the address, zoom level and the maptype you can use HTML5 data-attributes
-``` html
-<div class="gmap" id="map" data-center="Brugse Heirweg 37 Aartrijke Belgium" data-zoom="15">
- <address>
- <strong>builtbyrobot</strong><br />
- Brugse Heirweg 37<br />
+```
+<div class="gmap" id="map" data-center="Brugse Heirweg 37 Aartrijke Belgium" data-zoom="15">
+ <address>
+ <strong>builtbyrobot</strong><br />
+ Brugse Heirweg 37<br />
8211 Aartrijke
- &lt;/address&gt;
-&lt;/div&gt;
+ </address>
+</div>
+
```
And that's it that's all.

0 comments on commit 6941259

Please sign in to comment.