Skip to content

Instantly share code, notes, and snippets.

@rtincar
Created November 20, 2012 09:05
Show Gist options
  • Save rtincar/4116860 to your computer and use it in GitHub Desktop.
Save rtincar/4116860 to your computer and use it in GitHub Desktop.
HTML de popover.js
<!--
Este fragmento es el html original. En la propiedad 'data-content' se almacena el contenido del popover
y el atributo data-toggle="popever" es el selector para lanzar el script
-->
<div class="port russ" data-content="<p><strong>Russell Smith</strong></p><p>co-founder of Rainforest. I like Japanese cars and bacon. A lot.</p><div class='meta'><a href='https://github.com/ukd1'><i class='font-icon-github'></i></a><a href='https://twitter.com/massivemegalols'><i class='font-icon-twitter-bird'></i></a></div>" data-toggle="popover">
<a href="http://rsmith.co/"></a>
</div>
<!--
Este es el html generado.
-->
<div class="popover">
<div class="arrow"></div>
<p>
<strong>Russell Smith</strong>
</p>
<p>
co-founder of Rainforest. I like Japanese cars and bacon. A lot.
</p>
<div class="meta">
<a href="https://github.com/ukd1">
<i class="font-icon-github"></i>
</a>
<a href="https://twitter.com/massivemegalols">
<i class="font-icon-twitter-bird"></i>
</a>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment