Skip to content

Instantly share code, notes, and snippets.

<script type="text/javascript">
jQuery("body").addClass("who-are-you");
jQuery(".stagePic").insertAfter(jQuery(jQuery(".head")[0]));
jQuery("body").addClass("godo");
</script>
<?php
//portal-A.php
function format($portal, $field, $input){
$output = str_replace($input);
return $output;
}
?>
<meta name="viewport" content="width=device-width, initial-scale=1.0,user-scalable=no">
<style type="text/css">
@media only screen and (max-device-width : 500px) {
.dialog{
position: absolute;
}
.dialog--open .dialog__overlay {
height: 10000px;
}
}
var article = {
issueId:"May 2015",
articleeId:"2",
url:"/article-2.html",
title:"The Moral of Caesar",
author:"by Roger Kimball",
desc:"Caesar's death was more than the end of an extraordinary life; it was the end of an era.",
fullIssue:"Vol 33, No. 9 / May 2015",
prvArticle:"/article-1.html",
nextArticle:"/article-3.html",
var article = {
issueId:"May 2015",
articleeId:"2",
url:"/article-2.html",
title:"The Moral of Caesar",
author:"by Roger Kimball",
desc:"Caesar's death was more than the end of an extraordinary life; it was the end of an era.",
fullIssue:"Vol 33, No. 9 / May 2015",
prvArticle:"/article-1.html",
nextArticle:"/article-3.html",
var articlee = {
issueId:"May 2015",
articleeId:"2",
url:"/article-2.html",
title:"The Moral of Caesar",
author:"by Roger Kimball",
desc:"Caesar's death was more than the end of an extraordinary life; it was the end of an era.",
fullIssue:"Vol 33, No. 9 / May 2015",
prvArticle:"/article-1.html",
nextArticle:"/article-3.html",
String.prototype.hashCode = function() {
var hash = 0, i, chr, len;
if (this.length === 0) return hash;
for (i = 0, len = this.length; i < len; i++) {
chr = this.charCodeAt(i);
hash = ((hash << 5) - hash) + chr;
hash |= 0; // Convert to 32bit integer
}
return hash;
};
{
"object":"page",
"entry":[
{
"id":"51044240199134611",
"time":1447342027,
"changes":[
{
"field":"leadgen",
"value":{
<li><a target="_blank" href="http://twitter.com/share?text={msg}"><span class="ef-twitter"></span></a></li>
<li><a target="_blank" href="http://efcampaigns.cn/share/talk2.php?desc={msg}"><span class="ef-kakaotalk"></span></a></li>
<li><a target="_blank" href="storylink://posting?post={msg}&appid=ef.com&appver=1&apiver=1.0&appname=&urlinfo="><span class="ef-kakaostory"></span></a></li>
<li><a target="_blank" href="line://msg/text/{msg}"><span class="ef-LINE"></span></a></li>
<li><a target="_blank" href="http://sns.qzone.qq.com/cgi-bin/qzshare/cgi_qzshare_onekey?url={url}&title={msg}"><span class="ef-qzone"></span></a></li>
<li><a target="_blank" href="http://service.weibo.com/share/share.php?type=button&language=zh_cn&title={msg}&url={url}&style=simple&content=utf-8"><span class="ef-weibo"></span></a></li>
this._menu[f].label.on("click", this._bind(function(event){
//If filter is opened
if($(event.target).hasClass('ft-opened')){
//Fix multiple dropdowns at a time
$('.ft-panel').addClass("ft-hidden");$('.ft-label').removeClass("ft-opened");
}else{
$('.ft-panel').addClass("ft-hidden");$('.ft-label').removeClass("ft-opened");
this.openPanel( f );
this.bringToFront( f );