Hi,

I've used this:


$html->image('btn_edit_project.jpg',array('alt'=>'View'),false);

Works fine....

-------------------------------------------------------------------------

Also used:

echo $image->link("btn_edit_project.jpg",
"/projects/edit/{$project['Project']['id']}");

Works fine....

-------------------------------------------------------------------------

But, when I use the $Html->Image helper mixed in with $Ajax->link():

echo
$ajax->link("$html->image('btn_edit_project.jpg',array('alt'=>'View'),false)",
"/projects/view_project_mini/$tmp_id",
array('update' => "$update",
'complete' => "new Effect.BlindDown('$update');"
));


It outputs the html tags as text: ??

<img src="/img/btn_edit_project.jpg" alt="View" />



Is there a defined $ajax->Image->link() function please?


-------------------------------------------------------------------------


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to