Paste full layout. where's link to js?
On Jan 14, 6:39 am, Sai <[EMAIL PROTECTED]> wrote:
> I have created a layout flash.thtml in app/views/layouts
>
> The code in this flash.thtml is:
> <html>
> <head>
> <?php if(DEBUG == 0) { ?>
> <meta http-equiv="Refresh" content="<?php echo $pause?>;url=<?php
> echo $url?>"/>
>
> <?php } ?>
> </head>
>
> <body onload="setVisible('popup', true);">
>
> <div id="popup" class="success">
> <h3 class="success"><a href="<?php echo $url?>"></a><?php
> echo $message?></h3>
> <p><a onclick="closeDiv('popup', true);">Close</a></p>
> </div>
> </body>
> </html>
>
> I am having the following problems:
> 1. It is not setting a popup window. It brings up a new page and shows
> the error message. I do not want to bringup a new page. I want to show
> the current page with the error message.
> 2. It is not formatting the message correctly. In pure HTML the same
> code works fine.
>
> Any help is appreciated.
> Sai
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---