HelpBalloon in Cake
[Ref 1:
https://groups.google.com/group/cake-php/browse_thread/thread/fa189d2079c2893b/dc95996da64ecc97?lnk=gst&q=helpballoon#dc95996da64ecc97]
[Ref 2: http://www.beauscott.com/2006/08/19/ajax-enabled-help-balloons]
I have put in an alert in HelpBalloon.js which executes. But the
HelpBallon itself does not show on mouseOver.
Layout File:
<head>
<?PHP echo $this->Html->script('prototype');
<?PHP echo $this->Html->script('scriptaculous');
<?PHP echo $this->Html->script('HelpBalloon');
</head>
<body>
.
.
.
<?PHP echo $this->Js->writeBuffer(); // Write cached scripts ?>
</body>
View File:
<div class="left"><script type="text/javascript">
new HelpBalloon({
title: 'Mouseover Balloon',
content: 'This balloon was shown using '
+ 'the mouseover event.',
useEvent: ['mouseover']
});
</script><img style="cursor: pointer;" id="null_icon" src="http://
localhost/cake/app/webroot/img/popupdialog/icon.gif"></div>
Any suggestions?
--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home