I am using the $html->link to open the popup
echo $html->link($user['User']['username']." folgt diesen
produkt",array('controller'=>'users', 'action'=>'profile'),
array('class'=>'title'));
when i click this link a jquery function reacts to it because of the
class "title" and opens my popup
$(document).ready(function() {
//When you click on a link with class of poplight and the href starts
with a #
$('.title').click(function() {
$('.popup_block').fadeIn('fast');
});
function close(){
$('.popup_block').fadeOut('fast');
}
});
</script>
due to the current code i get redirected to the view "profile"....but
i want this redirection out, gone...and if i do that i get an
error...so how can i open my popup without using a direction in $html-
>link?? i like $html->link cause the mouse cursor turns into a hand
and makes it transparent to the user, that this is an acutal link
Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions.
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
No comments:
Post a Comment