Can you attach floatbox using a CSS CLASS?

Page: 1

Author Post
I'd like to make the move from Lightwindow to Floatbox.

My site content is all coded up with a special class assigned for links to larger images that I want image zooming on...

Would it be possible to use this method with Floatbox, rather than rel?

Thank you!
Registered: Aug 2008
Posts: 3382
Nope, sorry. You'll have to modify each link to the floatbox way of setting them up.
Thankfully, there is a way to minimize the time associated with this. Just enter the header code (it's really only two lines) into a text (textedit, wordpad) and everytime you need to add it, simply cut and paste. I've actually saved copies of all of my pages that use FB that way I can edit my site and not spend a ton of time re-entering the syntax.

It's a simple fix but it's all I got :/

I'll see if I can whip up a nice PHP to really simplify this.

Page: 1