This looks like image swap code that was created by fireworks. The problem you seem to be having is that the image location is wrong which means your button isn't changing when you hover over it. Where it says images/adminControls/button_apply_hover.jpg you need to replace that with the path to the image usually with cake it's /img/ button_apply_hover.jpg I'm unaware of a way to return a path to the image directory, but there may be a cake global variable that will do this but I've never used it, you could always use WEBROOT_DIR and add . DS . 'img/ button_apply_hover.jpg' to it.
On Apr 6, 10:17 pm, Master Ram <[email protected]> wrote: > Hi to all > > <a href="javascript:void();" class="applybutton" > onmouseout="MM_swapImgRestore()" > onmouseover="MM_swapImage('Apply','','images/adminControls/ > button_apply_hover.jpg',1)"> > > </a> > > how to write this thing in CakePHP -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
