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.
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 advanced
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
cfdvlpr schrieb:
I want to do something like this:
a href=/test.cfm class=testBiggerLink
div class=anotherClass
Click Here
to ... bgo here/b
more text
img src=/test.png /
/div
/a
Is there anything wrong with the above HTML?
Yes, it is. A div is a
Not sure about the plug-in, but block level elements (div /) should
never go inside an inline element (a /).
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:
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 (div /) should
never go inside an inline element (a /).
Validation will cringe and
Your HTML is invalid (block level element div, inside an inline
element a).
Fortunately this is an excellent example what the biggerlink plugin
was created to do.
You can rearrange your HTML to something like:
div class=testBiggerLink
a href=/test.cfmClick Here/a
to ... bgo here/b
7 matches
Mail list logo