[jQuery] Re: Bigger Link Plugin

2008-01-11 Thread boermans
Your solution is okay providing you don't have many links to maintain. If at some point you need to change a url you (or whoever has the job) will have to make the change in two places. Given a bit of time this kind of thing is very easy to forget! Anyway, that's enough pimping of my own plugin :

[jQuery] Re: Bigger Link Plugin

2008-01-11 Thread weepy
nice plugin :) On Jan 11, 9:09 pm, cfdvlpr <[EMAIL PROTECTED]> wrote: > It turns out that all I needed to do was this: > $('.testBiggerLink').click(function() { > window.location = "/test.cfm";}); > > I don't know why I didn't realize it was this easy before. Your > plugin has some adv

[jQuery] Re: Bigger Link Plugin

2008-01-11 Thread cfdvlpr
It turns out that all I needed to do was this: $('.testBiggerLink').click(function() { window.location = "/test.cfm"; }); I don't know why I didn't realize it was this easy before. Your plugin has some advanced features that are nice, but I didn't actually need it here.

[jQuery] Re: Bigger Link Plugin

2008-01-10 Thread boermans
Your HTML is invalid (block level element , inside an inline element ). Fortunately this is an excellent example what the biggerlink plugin was created to do. You can rearrange your HTML to something like: Click Here to ... go here more text Then your js would be

[jQuery] Re: Bigger Link Plugin

2008-01-10 Thread cfdvlpr
That's what I thought too, but it actually seems to work for me in Firefox 2, IE 6, and IE 7. On Jan 10, 3:56 pm, "Smith, Allex" <[EMAIL PROTECTED]> wrote: > Not sure about the plug-in, but block level elements () should > never go inside an inline element (). > > Validation will cringe and fail.

[jQuery] Re: Bigger Link Plugin

2008-01-10 Thread Smith, Allex
Not sure about the plug-in, but block level elements () should never go inside an inline element (). Validation will cringe and fail. -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of cfdvlpr Sent: Thursday, January 10, 2008 3:45 PM To: jQuery (E

[jQuery] Re: Bigger Link Plugin

2008-01-10 Thread Jörn Zaefferer
cfdvlpr schrieb: I want to do something like this: Click Here to ... go here more text Is there anything wrong with the above HTML? Yes, it is. A div is a block element, a "a" is inline element. The browser most likely inteprets that as this: