PDA

View Full Version : Help with GreyBox script



viens
05-05-2010, 04:47 PM
Hello,

There are a lot of scripts simlar to Lightbox. For example, this one:

http://jquery.com/demo/grey/

To display pop-up window, the link should contain "class="greybox"

The problem is that my links already have different classes:
<a class="color1">
<a class="color2">
<a class="color3">

If I change class to "greybox", all links will be of the same color. Is there any way how to use this script like this:
<a id="greybox" class="color1"> ?

Thanks.