In regards to my last post, I can't understand why adding a space at
the end of the link would't work. If I added any text at all, it
didn't take
var $a = (typeof opts.pagerAnchorBuilder == 'function')
? $(opts.pagerAnchorBuilder(i,el))
: $('<a href="#">'+(i+1)+'</a>');
This didn't work:
: $('<a href="#">'+(i+1)+'</a>blahblahblah');
On Nov 16, 9:31 am, Mike Alsup <[EMAIL PROTECTED]> wrote:
> > I have this test page up:http://btk.name/misc/links.html
>
> > Basically, I am using Jquery and a Cycle plugin to allow the user to
> > paginate via links through content. Simple enough.
>
> > However, as you can see (at least in Firefox 3), the DOM generated
> > links (via the plugin) keep going in 1 line outside the container.
>
> > The links hardcoded into the actual HTML adhere to their container.
>
> The differences you see have to do with whitespace. If you remove all
> the whitespace from your hard-coded examples you will see that all
> three examples behave exactly the same. For WebKit browsers you can
> use the style of "word-wrap: break-word" to achieve the desired
> results. Other browsers rely on the presence of whitespace to
> determine the line breaks.
>
> Mike