Created
May 1, 2012 17:08
-
-
Save mreidsma/2569693 to your computer and use it in GitHub Desktop.
Replace meebo chat in III's Encore with Libraryh3lp chat
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Replace the meebo widget with a nice graphic or something. | |
var newContent = '<img src="http://placekitten.com/180/77" alt="Kitteh" />'; | |
document.getElementById('meeboWidget').innerHTML = newContent; | |
// Now change the Launch link to open a new window with our libraryh3lp chat instead of meebo. | |
// Substitute the URL in the link below with yours (URL encoded) | |
// Enjoy. | |
document.getElementById('meeboPopout').innerHTML = '<a href="javascript:(function%20()%20{window.open(%22http%3A%2F%2Flibraryh3lp.com%2Fchat%2Fmy-queue-name%40chat.libraryh3lp.com%3Fskin%3D11977%26sounds%3Dtrue%26title%3DAsk%2BUs%22%2C%22mywindow%22%2C%22location%3D0%2Cstatus%3D0%2Cscrollbars%3D0%2Cwidth%3D350%2Cheight%3D300%22)%3B})()" title="We just map this to a new function">Launch Chat Window</a>'; |
Eric,
Awesome! You = The Awesome.
-Matthew
On Thu, May 3, 2012 at 11:20 AM, Eric Sessoms ***@***.*** wrote:
Very cool. Here's an easy way to show (page load-time) availability: https://gist.github.com/2586294
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/2569693
##
##
…---
Matthew Reidsma
(616) 389-0828
I check email once a day, M-F.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very cool. Here's an easy way to show (page load-time) availability: https://gist.github.com/2586294