The easiest way to explain what I am looking to do is to say I want to
define my own tag. Like a cold fusion custom tag, so I can pass some
attributes and include some html + php within the begin and end tag.
Perhaps some way to pass html + php to a function or a custom helper?
e.g.
<custom_tag attrib="1">
<ul>
<?php
for ($i = 0; $i < 5; $i++) {
echo "<li>$i</li>";
}
?>
</ul>
</custom_tag>
On Feb 1, 10:51 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I am looking for a solution that leaves the tab component completely
> decoupled, and a stand alone component.
>
> On Feb 1, 10:43 am, Braindead <[EMAIL PROTECTED]> wrote:
>
> > Why don't you use jQuery or any other JavaScript framework that
> > supports tabs?
> > I know they only work when JavaScript is enabled, but is there another
> > reason for you?
>
> > Happy baking,
> > Markus
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---