Skip to content

Instantly share code, notes, and snippets.

View trialforce's full-sized avatar
💭
I may be slow to respond.

Eduardo Bonfandini trialforce

💭
I may be slow to respond.
  • Web Developer
  • Lajeado, RS - Brazil
View GitHub Profile
<div id="serp"></div>
<div id="serp2"></div>
<script src="https://code.jquery.com/jquery-1.12.4.js"></script>
<script>
function createSerp(id)
{
$('#' + id).html(
'<div style="width: 651px; height: 91px; font-family: arial, sans-serif; border: solid 1px #eee; padding: 6px 14px; box-sizing: border-box; overflow:">' +
'<h3 style="margin:0;">' +
' <a class="serp-title" href="#"' +