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.cfm">Click Here</a>
       to ... <b>go here</b>
       more text
       <img src="/test.png" />
</div>

Then your js would be something like:

$(function(){
    $('.testBiggerLink').biggerlink();
});

The plugin code will find the contained link and make the div
'clickable'.

Hope this helps!
Cheers
Ollie

On Jan 11, 9:44 am, cfdvlpr <[EMAIL PROTECTED]> wrote:
> I want to do something like this:
>
> <a href="/test.cfm" class="testBiggerLink">
>       <div class="anotherClass">
>        Click Here
>        to ... <b>go here</b>
>        more text
>        <img src="/test.png" />
>       </div>
> </a>
>
> Is there anything wrong with the above HTML?
> Is this what the bigger link plugin is designed for?
>
> http://plugins.jquery.com/project/biggerlink

Reply via email to