On Dec 30, 7:42 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> I am using elements but not for this. This will only appear once since
> I am going to use it once. Elements have been reserved for stuff that
> is going to be use on every page. By doing this I am able to know
> which section this is in and allowing my ajax refresher to refresh the
> data dynamically.
>
> Anyways, thanks your for help. I was able to fix it like this:
>
> <div id="interest_groups_content" class="content" style="margin:10px;
> position:relative;">
>         <h1>Interest Groups</h1>
>
>         <div id="interest_groups_nav" style="position:absolute; top:
> 0px;
> right:0px;">
>                 <? $this->render('interest_groups_nav', 'ajax');
>                 $this->_hasRendered = false; ?>
>         </div>
>
>         <div id="interest_groups_viewer" class="viewer">
>                 <? $this->render('interest_groups_viewer', 'ajax') ?>
>         </div>
> </div>
>

Inline styles, php short tags, directly manipulating protected vars,
using the ajax layout when you want no layout, not using elements as
designed... how did you squeeze so many bad habits into so few
lines? ;)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to