Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

Free Nodelet Hack: Add links to cbhistory, etc to CB

by ikegami (Pope)
on Nov 09, 2006 at 21:09 UTC ( #583227=note: print w/replies, xml ) Need Help??


in reply to Free Nodelet freed

Place links to chat clients and/or chat histories at the bottom of the CB.

// ======================================== // Replace chat clients. function replace_chat_clients() { var cb = document.getElementById('nodelet_body_row_Chatterbox') .firstChild .nextSibling; cb.removeChild(cb.lastChild); cb.removeChild(cb.lastChild); var container = document.createElement('div'); container.innerHTML = ('' + '<i>' + '<a href="http://nbpfaus.net/~pfau/cbhistory.cgi?site=PM">cbhi +story</a>' + ' | ' + '<a href="http://mini-cb60.flux8.com/">cb60</a>' + ' | ' + '<a href="/?node_id=20842">Others</a>' + '</i>' ); cb.appendChild(container); } replace_chat_clients();

Not very elegant. An array with the links would be nice.

Replies are listed 'Best First'.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://583227]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others exploiting the Monastery: (2)
As of 2021-10-28 05:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My first memorable Perl project was:







    Results (95 votes). Check out past polls.

    Notices?