The title is actually “Lambeth Bridge Northern Approach”. These are ‘official’ and ‘well known’ titles used by the traffic authorities so whilst we can shorten them it would be nice to keep them.
If there are any neat tricks or other ways to do it, we’d be grateful for any suggestions.
Also if anybody in London wishes to try the app for free, its still in development and so late alpha/early beta, but if you live in London, it is useful. please reply here.
The title is set to overflow: hidden and there’s a text-overflow: ellipsis; set, so text that overflows has an ellipsis added. The CSS I’ve written just moves the left margin of the title backwards and forwards repeatedly, which has the effect of scrolling the title. You’ll need to figure out what the -200px value really should be (maybe using something other than margin-left?). Removing the text-overflow: ellipsis; might make it look nicer too, as would playing around with the animation values.
Thanks. We got it working, As you say, we’ll need to play with the values a bit so get the effect right. If the title is only a little longer than the available space, we want a short movement as it juggles from side to side.