Just made a new one, the text is a bit more readable. ( bored.36-degrees.co.uk ) just wondering whether its worth making similar ones for bookmarked, hidden, private, closed...
I love that sticky button. When you post the code to achieve this, will you also post the graphic? It completely matches the theme of the site I'm working on.
was wondering... what is the exact remit for http://www.36-degrees.co.uk/vanilla/ ... a design forum in general... or more web specific... maybe you need a mission statement somewhere...
3Stripe: Its really for people who are interested in Standards, CSS all that old cobblers. Youre right, though - A ission statement, and a chance to use that sticky button is coming soon.
TiffanyA: Im just about to post the release. and the buttons.
Stuart, the one thing that's not working with this is that you can't have multiple sticky/hidden/closed tags. Also, it doesn't appear to work if your dataitems have a set bg :| It's a nice start though. I presume a better way of pulling this off would be just defining the images themselves to combat this case.
lech > Indeed, this is pretty specific for my own stylesheet at the moment, as the image is actually a BG, with the text told to go a mile to the right out of the way. The ideal solution would be not to declare it as a BG, because a the minute you cant show a sticky with the read/unread comment colours, and as you say, it will only show one of the badges because it is positioned to appear in just one place.
Looks great on 36-degrees though, so good work there. I imagine that once there are divs to perform these functions having multiple tags as images will be much easier.
right. it was a half-solution is all. what i'm doing in the interrum. just wanted to detail it out for anyone that wanted this type of functionality in the meanwhile.
I'm still waiting for 3stripe to crack and make me some purty graphics. Failing that I'll be in a position to be creating some nice graphics and the relevant CSS in a couple of days once the full redesign I am doing is a bit further advanced.
so, while this is not a stylesheet solution, you know you can just edit the text in the admin section so that instead of saying "Sticky" you display some HTML? So, something like this works like a charm as the value to display for stickies:
> <img src="../images/r.gif" />
The part that sucks is the admin form puts a character restriction on that field, so you have to keep your text short or change the configuration of that field.
This should let you assign mutiple buttons to a single post, like Sticky and Private (but haven't tested that)
There is no difference between the "Bookmark" icon and the "Sticky" text. In other words, you can remove the bookmark icon and put the text "Bookmarked" in there like the sticky text.Or you can remove the "Sticky" text and put a sticky icon in there.
I put the bookmark icon in there as an example of the different ways that you could label a discussion (as opposed to the plain text prefix). I was actually envisioning someone making a completely icon-based label thing where it had the bookmarkicon where it is, and then had a sticky icon in to the left of that, and a closed icon in to the left of that, and so on.
Not that I can think of, the problem is you are positioning the button in a specific place, so having more than one just stacks them. There is a way, im surethere is, but im not best equipped at 9:51am to think of it.
Stuart Frisby (--^) has been kind enough to send me the origional graphics. I have uploaded his archive which he wanted to share with the community to the following two location: