Wednesday, July 1, 2009

Re: using other template to use with cake

the specific view folder is views\contracts
at the contracts folder,i copied the js and css folder downloaded from
the web

then i put all the instructions from the web (from the "Usage" tab)

in index.ctp in contracts folder, i use this code fragment:

<script type="text/javascript" src="js/tabpane.js"></script>
<link type="text/css" rel="StyleSheet" href="css/tab.webfx.css" />

<div class="tab-pane" id="tab-pane-1">

<div class="tab-page">
<h2 class="tab">General</h2>

This is where i put the table from the database

</div>

</div>
<script type="text/javascript">
setupAllTabs();
</script>

the tabs cannot be shown.its like the js and css cannot be read at all
or is there any other method to put js and css using cake?

On Jul 2, 11:51 am, brian <bally.z...@gmail.com> wrote:
> On Wed, Jul 1, 2009 at 11:41 PM, keanoppy<keano0...@gmail.com> wrote:
>
> >http://webfx.eae.net/dhtml/tabpane/tabpane.html
>
> > i wanted to use the tabs that can be generated using the js and css
> > class from this website
> > how do i implement it in coding?
> > in view?
> > i've tried in view but the output cannot be shown at all
>
> Did you include the JS? Are you sure it's been included properly? The
> CSS? Are you sure it's been included properly? Could you you show us
> your view code? Can you make this work with a static (non-PHP) page?
--~--~---------~--~----~------------~-------~--~----~
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: