Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
#391 2008-01-27 23:07:05
Re: smd_slimbox
jelle wrote:
let you know about another Lightbox jQuery port: http://code.google.com/p/jquery-lightbox/
Sweet, thanks for the heads-up. I’ve downloaded it and I’ll have a play. I wonder how it compares to Moonbox…
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#392 2008-01-28 08:50:42
- jelle
- Member
- Registered: 2006-06-07
- Posts: 165
Re: smd_slimbox
Bloke wrote:
jelle wrote:
I wonder how it compares to Moonbox…
Looks and feels and works like lightbox. Don’t know about the internal code though, except that it uses “lightbox” as name….makes it easier to switch from the mootools lightbox.
Offline
#393 2008-02-14 03:07:28
Re: smd_slimbox
It finally made it. *music swells*
For anyone who is interested in testing and shaping the next major gallery plugin which will probably replace this one, head over to the beta testing smd_gallery page. It’s a radical departure from smd_slimbox but it’s infinitely more flexible for all sorts of lightbox (and more) effects.
Plus the code’s neater, more compact and more powerful. The plugin scales nicely with your experience from “no attributes” to “my brain hurts” and pretty much every aspect of the gallery layout is governed by a form so combining it with TXP tags means greater control should you wish to dabble.
If you have any testing sites or places you can play then please take a little time to put it through its paces and post some feedback on the other thread. I think I’ve taken just about every idea from this thread and rolled it into the beta, and then some. If I’ve missed anything obvious, yell!
Happy tinkering.
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#394 2008-02-19 21:35:17
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: smd_slimbox
Bloke:
I know I am missing something obvious, but I can’t figure out how to “hard code” where the top of the slimbox appears when the plug in is activated. When I say, I can’t figure it out, what I mean is changing the css (I am probably changing it in the wrong area) does not have an effect on the boxes positioning.
Right now it appears to be 60 pixels from the top of the page and I need to double that mark.
This is the first time I have ever had to adjust what is the default.
Thanks.
progre55
Offline
#395 2008-02-19 22:04:50
Re: smd_slimbox
progre55 wrote:
I can’t figure out how to “hard code” where the top of the slimbox appears
Try adding margin:60px; to the #lbCenter, #lbBottomContainer { definition in slimbox.css?
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#396 2008-02-19 22:08:18
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: smd_slimbox
Bloke:
U R THE MAN!
Thanks.
progre55
Offline
#397 2008-02-26 03:29:24
Re: smd_slimbox
Hey Stef,
This isn’t strictly a plugin support issue, but I wonder if you can point me in the right direction?
I’ve installed smd_slimbox on a page with a couple of Flash movie clips (here). All works well except that the Flash ‘boxes’ stay on top of the ‘lightbox’ when viewing a photo.
Is this a CSS thing or something else I’m missing?
Thanks for a help.
Cheers
Offline
#398 2008-02-26 09:04:42
Re: smd_slimbox
NeilA wrote:
All works well except that the Flash ‘boxes’ stay on top of the ‘lightbox’ when viewing a photo.
Hi Neil. Christophe’s slimbox javascript is supposed to “disable” any object/embed tags prior to viewing the lightbox to avoid just such an issue. Since you’re using SWFObject, maybe it’s not doing that as it’s not a “true” object.
I seem to remember it being asked on his forum, specifically try this solution and see if it works for you. There may be other gems hidden in the forum if that doesn’t work.
Last edited by Bloke (2008-02-26 09:05:28)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#399 2008-02-26 10:26:45
Re: smd_slimbox
Thanks so much Stef!
I indeed found a solution there (the additional paramater “sd.addParam(“wmode”, “transparent”);” )
Regards
Offline
#400 2008-02-28 20:42:55
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: smd_slimbox
Bloke:
I have a REAL easy one. I want to put caption text UNDER each thumbnail. I can get the caption text to appear, but it appears to the side of the images. I know it is a css thing, but can’t seem to get the right combination in place.
any assistance would be appreciated.
progre55
Figured It Out
Last edited by progre55 (2008-02-28 20:50:38)
Offline
#401 2008-02-28 20:59:00
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: smd_slimbox
Bloke:
I actually do have a question, I thought I had figured it out with the following code:
<txp:smd_slimbox category=“fixed, ?id” orderby=“name:asc, category” thumbtext=“below:?caption” thumbtextclass=“thumb” thumbtextwrap=“p” />
thumb {
FONT: 10px verdana,arial;
}
So it works that I get the caption under the thumbnail, but instead of my thumbnails being 3 across, they are now stacked one on top of another.
I know I am missing an obvious one, but please be so kind to point out my error.
Thanks.
progre55
Last edited by progre55 (2008-02-28 21:00:45)
Offline
#402 2008-02-28 21:12:45
Re: smd_slimbox
progre55 wrote:
<txp:smd_slimbox category=“fixed, ?id” orderby=“name:asc, category” thumbtext=“below:?caption” thumbtextclass=“thumb” thumbtextwrap=“p” />
You’re probably better off without the thumbtextwrap and then using the CSS:
span .thumb {
display: block;
font: 10px verdana, arial;
}
Since <p> will be causing a paragraph break by default. Does that help?
Last edited by Bloke (2008-02-28 21:13:04)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#403 2008-02-28 21:19:56
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: smd_slimbox
Bloke:
When I try this:
<txp:smd_slimbox category=“fixed, ?id” orderby=“name:asc, category” thumbtext=“below:?caption” thumbtextclass=“thumb” />
I get no thumbnails .
When I try this:
<txp:smd_slimbox category=“fixed, ?id” orderby=“name:asc, category” />
It works fine, but obviously without the text under the thumbnails.
I also added the css you put above.
progre55
Offline
#404 2008-02-28 21:25:15
Re: smd_slimbox
urk, my bad. thumbtextwrap="span". Sorry. Thought it defaulted to span but it doesn’t any more.
Last edited by Bloke (2008-02-28 21:25:36)
The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.
Hire Txp Builders – finely-crafted code, design and Txp
Offline
#405 2008-02-28 21:36:59
- progre55
- Member
- Registered: 2006-05-02
- Posts: 668
Re: smd_slimbox
Bloke:
I think we are getting closer. :)
Now I am using:
<txp:smd_slimbox category=“fixed, ?id” orderby=“name:asc, category” thumbtext=“below:?caption” thumbtextclass=“thumb” thumbtextwrap=“span” />
I see images, but no text.
I have placed this in the css:
span .thumb {
display: block;
font: 10px verdana, arial;
}
progre55
Offline