Note that if it is applied to a field with XHTML formatting, you have to skip at least three characters to get beyond the automagically inserted paragraph tag. For example:
Very good point, however I never ever use XHTML as I don’t like what it places in but thanks for the heads up for everyone else.
Also if you are using this just for drop-caps then there is the css pseudo element :first-letter that you could also use to do this.
Admittedly one of the versions of IE doesn’t play nice with this but hey I’m working on a way of completely deleting the entire code-base of IE from Microsloth as I write this
There is also a drop-caps plugin available that will do this sort of thing too but uses graphics to do its magic. May still be of use though?
Okay, just for anyone following along with this plugin (seems to be just me and Brad I have uploaded a new version to the top post. Nothing much has changed except for a cosmetic change to the name of the plugin and therefore the plugin tag.
Hey mark,
Great plugin but it doesn’t seem to be working for me… on the link below, I have it set to the paragraph starting with “Owing as much to james brown…”
I don’t know why this didn’t crop up before. Just tested it out and I think I see what I did wrong. I’m a little tired today but pretty sure that this shouldn’t have even really been working from the get go!
I’ve attached a new version to this post. Could you possibly test it out for me and it should now work with start=“0” and letters=“1”.
If it works okay then I will update the top post of this thread.
Weird. I’m actually testing this on 1.6.3 Build: 20080319 myself on a localhost install that I mess around with and seems to be fine. Not too sure what’s going on there.
Is the field that you are typing the album description into simply just a text-area and doesn’t use any of those WYSIWYG editors does it?
Literally try that code so that you are applying the plugin to the title just to see if that works as that is how I tested it. If it works with that then something else must be up somewhere. If not then I’m a little confused really.