Skip to content

Instantly share code, notes, and snippets.

@sagevann
Created March 23, 2011 21:43
Show Gist options
  • Save sagevann/884085 to your computer and use it in GitHub Desktop.
Save sagevann/884085 to your computer and use it in GitHub Desktop.
<div style='width:644px; height:200px;'>
<div class="ad_container" id="endemic_panel3_success_arc">
<p id="wsfy_top_sponsor" class="ad_sponsored_top">Sponsored Links WSFY3</p>
<h2 id='wsfy_headline'>Other people searching for %%AAMGNRC1%% %%AAMGNRC2%%</h2>
<div id='wsfy_teaser_data'>
<h3 id='wsfy_teaser_count'>[[searchers_count]]+ people are searching for %%AAMGNRC1%% including...</h3>
<div id='wsfy_teaser_details_container'>
<div id='wsfy_teaser_repeat_placeholder'> </div>
<div id='wsfy_teaser_repeat_container' style='display:none' >
<div class='wsfy_teaser_details [[TOGGLE]]'>
<img src='[[photourl]]' />
<p class='wsfy_teaser_gender'>[[fname]] in [[city]]</p>
<a class='wsfy_teaser_email' href='http://example.com'>Email this person</a>
</div>
</div>
</div>
<p id="wsfy_bottom_sponsor">Sponsored by <a class='ad_sponsored_company_link' href='#' >MyLife</a></p>
</div>
</div>
<script type="text/javascript">
var parser = new whitepages.publicSearch.parser;
parser.provider = "MyLifeWSFY_teaser";
parser.repeatContainer = $('#wsfy_teaser_repeat_container')[0];
parser.repeatPlaceholder = $('#wsfy_teaser_repeat_placeholder')[0];
parser.maxResults = 4;
parser.toggle = ['wsfy_toggle_left', 'wsfy_toggle_right'];
parser.setFallback($('#endemic_panel3_fallback_arc')[0]);
parser.setSuccess($('#endemic_panel3_success_arc')[0]);
parser.data = {
fname : '%%AAMGNRC1%%',
lname : '%%AAMGNRC2%%',
city : '%%AAMGNRC3%%',
state : '%%AAMGNRC4%%',
age : '35'
};
parser.loadAdData();
</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment