superbox without background image?

Create issue
Issue #67 new
Former user created an issue

I see this in my jquery.superbox.css: #superbox{padding:10px; vertical-align:middle;background:url(../images/frame.png) transparent no-repeat;}

That adds a background image (frame.png) to my superboxes. I want this to be conditional! In some cases I want a background, and in some cases I don't! How do I accomplish this? Please help!

HTML: <a href=".box-content" rel="superbox[content]"> <p>Test</p> <div class="box-content hide2" style="margin-top:60px;"> <img src="images/test.png" style="margin:auto;width:256px;" alt="test"/>

Comments (1)

  1. Former user Account Deleted

    Hi,

    You can add an additionnal class:

    rel="superbox[content.my-class]"
    

    Or an ID:

    rel="superbox[content#my-id]"
    
  2. Log in to comment