[Plugin] Board Description Images 1.0.1
Nov 26, 2012 10:05:58 GMT -8
Lynnrose, Chris, and 33 more like this
Post by Shrike on Nov 26, 2012 10:05:58 GMT -8
View in Plugin Library
Current version: 1.0.1
I am no longer providing support for this plugin.
I have made the plugin editable as of version 1.0.1
Description
This plugin allows you to add an image to replace your board description, quite a popular thing from V4. A problem I always had with this was that it didn't let you have the normal text description as well. This plugin will enable you to have the description either slide down from below the image, fade in on top of it or just be shown next to a smaller image (and if you don't want a description, you can just leave that blank and it'll only add the image for you). I've tried to make it so that it will play nice with any sort of board layout modifications you make (see the note about this near the end) as well as make it pretty versatile so features can easily be added.
Screenshots
Descriptions open • Descriptions closed • Main settings
Copyright notice
This plugin includes the hoverIntent jQuery plugin by Brian Cherne, available under the MIT license.
Using template mods?
If you haven't made any major changes to the "Board List" layout template then you shouldn't need to worry about this. Otherwise, the plugin needs your template to have at least the following structure, items don't need to be immediate children unless noted:
Want to style things?
Several classes are added to the description, images and board cells.
Version history
Crediting - v1.0.1
I give permission for anyone to do whatever they wish with this plugin (hopefully continue supporting it ).
Please ensure any original code is credited to Shrike.
Current version: 1.0.1
I am no longer providing support for this plugin.
I have made the plugin editable as of version 1.0.1
Description
This plugin allows you to add an image to replace your board description, quite a popular thing from V4. A problem I always had with this was that it didn't let you have the normal text description as well. This plugin will enable you to have the description either slide down from below the image, fade in on top of it or just be shown next to a smaller image (and if you don't want a description, you can just leave that blank and it'll only add the image for you). I've tried to make it so that it will play nice with any sort of board layout modifications you make (see the note about this near the end) as well as make it pretty versatile so features can easily be added.
Screenshots
Descriptions open • Descriptions closed • Main settings
Copyright notice
This plugin includes the hoverIntent jQuery plugin by Brian Cherne, available under the MIT license.
Using template mods?
If you haven't made any major changes to the "Board List" layout template then you shouldn't need to worry about this. Otherwise, the plugin needs your template to have at least the following structure, items don't need to be immediate children unless noted:
<something with board ID ($[board.content_id])>
...<something with "main" class>
......<something with "link" class (sibling of "description")>
.........<"a" element as immediate child of the above with link to board ($[board])>
......<something with "description" class (which contains $[board.description] and is sibling of "link" class)>
...<something with "main" class>
......<something with "link" class (sibling of "description")>
.........<"a" element as immediate child of the above with link to board ($[board])>
......<something with "description" class (which contains $[board.description] and is sibling of "link" class)>
Want to style things?
Several classes are added to the description, images and board cells.
The cells with the "main" class affected by the plugin have "rfbdi-main" added.
The link to the board that is wrapped around the image has "rfbdi-board_img_link".
The board image (wrapped by the above link) has "rfbdi-board_img".
The descriptions (with "description" class) have another class added depending on the appearance type:
Slide down has "rfbdi-slide_desc"
Fade over has "rfbdi-fade_desc"
Next to has "rfbdi-next_desc"
The link to the board that is wrapped around the image has "rfbdi-board_img_link".
The board image (wrapped by the above link) has "rfbdi-board_img".
The descriptions (with "description" class) have another class added depending on the appearance type:
Slide down has "rfbdi-slide_desc"
Fade over has "rfbdi-fade_desc"
Next to has "rfbdi-next_desc"
Version history
- 0.4.1 beta (26/Nov/12): Public release
- 0.4.2 (26/Nov/12): Fixed fadeOver positioning bug in Firefox
- 0.4.3 (30/Nov/12): Fixed description stretching to cell width rather than image width.
- 0.4.4 (1/Dec/12): Adjusted rfbdi-fade_desc CSS to be easier to override.
- 0.4.5 (29/Jan/13): Corrected width of fade over container not being applied properly.
- 1.0.0 (3/May/2013): Unbound .clickable event handler to make opening links on the images in new tabs easier. Exported to PB Plugin Library.
- 1.0.1 (9/Nov/2019): Released editable version.
Crediting - v1.0.1
I give permission for anyone to do whatever they wish with this plugin (hopefully continue supporting it ).
Please ensure any original code is credited to Shrike.