On 5/22/07, Christoph <[EMAIL PROTECTED]> wrote: > > > More of a javascript issue than a Cake one. Google is your friend for > > this. Take a look at 'mousovers javascript'. > > Hope that helps. > > Well, yes, the front end is javascript. But I am wondering if there > is a tutorial on how to set something like this up in a CakePHP > context. That is, how would you set up the model and the view > (particularly the model) for something like this.
1) go and read in the manual how the Ajax helpers work so you understand how to use them in the context of CakePHP 2) then, I believe you would need to create 'onMouseover' events that call a controller/action pair that pulls data from your model. Nothing special about the model, just make sure your controller/action pair outputs things as Ajax. Understanding how the Ajax helpers work in CakePHP is the key. There are lots of good examples out there. I know that you are probably looking for code that you can just drop into place, but what you're asking for is quite specific. Nothing on google that caught your eye? Hope that helps. -- Chris Hartjes My motto for 2007: "Just build it, damnit!" @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 -~----------~----~----~----~------~----~------~--~---
