which obviously leads to the equivalent of
http://www.bluerobot.com/web/css/fouc.asp/
Especially if you put it in a document ready handler. You can do that -
it's just not the best idea; and won't help if the markup is not the same
structure that bootstrap expects.
AD
On Friday, 18 January 2013 10:49:20 UTC+1, Anis Ghabri wrote:
>
> This is why I said :"One good Idea create a js script that adds the
> necessary twitter bootstrap classes the view control like tables flash
> messages and so on."
>
> run_at_page_load.js
> -----------------------------------------------------
> $(document).ready(function($){
> $("table").addClass("table table-striped table-bordered");// For The
> tables. it will take the TWB style
>
> ...
> });
> -------------------------------------------------------
> Le vendredi 18 janvier 2013 10:11:32 UTC+1, AD7six a écrit :
>>
>>
>>
>> On Friday, 18 January 2013 09:19:12 UTC+1, Anis Ghabri wrote:
>>>
>>> Hi,
>>> I'm also new to cakephp
>>> It's easy to make twitter bootstrap work for you there's no need for
>>> plugin just add the css, img and js files to your webroot.
>>>
>>
>> Except if you do that, various helpers (of most relevance html, form,
>> paginator) generate output that will not have correct styles.
>>
>> AD
>>
>
--
Like Us on FaceBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP
---
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.