Skip to content

Instantly share code, notes, and snippets.

@markmarkoh
Created July 27, 2011 18:49
Show Gist options
  • Select an option

  • Save markmarkoh/1110080 to your computer and use it in GitHub Desktop.

Select an option

Save markmarkoh/1110080 to your computer and use it in GitHub Desktop.
$BV.configure("global", {
... old stuff ...,
onEvent: function(json) {
if (json.bvProduct === "Stories" && eType === "Read") {
//your resize function for SY
} else if (json.bvProduct === "RatingsAndReview" && eType === "Read") {
// your resize function for RR
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment