Post Meta

Bookmarks

  • Delicious
  • Digg
  • Reddit
  • Magnolia
  • Newsvine
  • Furl
  • Facebook
  • Technorati

According to this article you should definitely try RedBox.I’ve found also myself very attractive so I’ve added ( … into the source …) a close button which is now rendered by default.

After installing the RedBox plugin replace the addHiddenContent: function(id) (around line #18) function in javascripts/redbox.js with this:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
 
addHiddenContent: function(id)
{
this.removeChildrenFromNode($('RB_window'));
this.moveChildren($(id), $('RB_window'));
 
//by cs
var close_redbox = '
<p id="RB_window_close"><a href="#" onclick="RedBox.close(); return false;" title="Inchide" class="iconleft icon-close_modal"> </a></p>
';
new Insertion.Top($('RB_window'), close_redbox);
 
this.activateRBWindow();
}


Related posts

Leave A Comment

+ -