]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
fixes deep linking tabs example to open in new tab and adds description
authorRafiBomb <rafi@zurb.com>
Wed, 21 Dec 2016 00:38:10 +0000 (16:38 -0800)
committerRafiBomb <rafi@zurb.com>
Wed, 21 Dec 2016 00:38:10 +0000 (16:38 -0800)
docs/pages/tabs.md

index a9fa7972a3ea992d033921055c6bdbf0e37753db..4500dbaf0c922d4658b3d542763e6f493ae0bbcb 100644 (file)
@@ -178,10 +178,10 @@ Add the attribute `data-deep-link="true" to a tabstrip to allow anchoring to and
 </div>
 ```
 
-For example, <a href="#panel3d">http://example.com/#panel3d</a> will open the third tab panel at page load.
+For example, <a target="_blank" href="#panel3d">http://example.com/#panel3d</a> will open the third tab panel at page load. This example will open a new browser tab and scroll you to the open tab.
 
 When linking directly to a tab panel, it might not be obvious that the content appears within a tab panel. An additional attribute `data-deep-link-smudge` rolls the page up slightly after deep linking (to a horizontal tabset) so that the tabstrip is at the top of the viewport.
 
 ```html_example
 <ul class="tabs" data-deep-link="true" data-deep-link-smudge="true" data-deep-link-smudge-delay="600" data-tabs id="deeplinked-tabs-with-smudge">
-```
\ No newline at end of file
+```