Thankyou for replies so far, but i am still fairly confused.

I'm not sure i understand how to make an entire <tr> or any other HTML
element click-able.  Using $ajax->link() function just spits out an
HTML link, so how is it possible to make an entire HTML element into
something that can be clicked??  Perhaps this is a huge hole in my
knowledge of HTML or Javascript, it wouldn't be the first time!!

On Jan 17, 4:51 pm, "djiize" <[EMAIL PROTECTED]> wrote:
in w3c specs, a <tr> cannot be in a <div>, tables cannot contain <div>
unless in <td>
did you try to put your action on the <tr> ?

Chris Hartjes a écrit :

> On 1/17/07, quincy <[EMAIL PROTECTED]> wrote:

> > I'm listing records in a table, and each has a link "view" which uses
> > ajax to display the full record detail below the list, and alter the
> > css so the row in the list table is highlighted.  In a nutshell, i want
> > to be able to click anywhere on a row in the table and have it become
> > selected that way, rather than just a small link in a cell at the right
> > of the row.

> > I hope this makes sense!! I'm aiming for that authentic desktop app
> > look and feel for my CMS system.

> Well, I would wrap the entire row in a div and then create an action
> that responds to clicking on the entire div.

> Hope that helps.

> --
> Chris Hartjes

> My motto for 2007:  "Just build it, damnit!"

> rallyhat.com - digitial photo scavenger hunt
> @TheBallpark -http://www.littlehart.net/attheballpark
> @TheKeyboard -http://www.littlehart.net/atthekeyboard


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to