Skip to content

Commit

Permalink
read me update
Browse files Browse the repository at this point in the history
  • Loading branch information
joggink committed Jan 27, 2012
1 parent 82e700d commit 6941259
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions readme.md
Expand Up @@ -32,21 +32,22 @@ You can optionally change these default parameters:
$(document).ready(function(){ $(document).ready(function(){


// your navigation ul selector // your navigation ul selector
$('#nav-main ul').mobileSelect({ $('.gmap').mobileGmap({
deviceWidth: 480, // The select will be added for screensizes smaller than this 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 If you want to pass the address, zoom level and the maptype you can use HTML5 data-attributes
``` html ```
&lt;div class="gmap" id="map" data-center="Brugse Heirweg 37 Aartrijke Belgium" data-zoom="15"&gt; <div class="gmap" id="map" data-center="Brugse Heirweg 37 Aartrijke Belgium" data-zoom="15">
&lt;address&gt; <address>
&lt;strong&gt;builtbyrobot&lt;/strong&gt;&lt;br /&gt; <strong>builtbyrobot</strong><br />
Brugse Heirweg 37&lt;br /&gt; Brugse Heirweg 37<br />
8211 Aartrijke 8211 Aartrijke
&lt;/address&gt; </address>
&lt;/div&gt; </div>
``` ```
And that's it that's all. And that's it that's all.


Expand Down

0 comments on commit 6941259

Please sign in to comment.