|
View:
New views
5 Messages
—
Rating Filter:
Alert me
|
|
|
Prototype and Scriptaculous Effects Help ma pleaseI try to build my site. I'm a newbie... I used 1.1..version of cakephp.. I want to use prototype and scriptaculous effects.. more or less like frontpage you have seen in CAKEPHP. It can be navigate by next or prev buttons or by clicking the tab.. can anyone help me please.... thanks in advance regz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@... To unsubscribe from this group, send email to cake-php-unsubscribe@... For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Prototype and Scriptaculous Effects Help ma pleaseHi regz, The frontpage of cakephp.org uses jquery javascript behaviours. You can achieve the same results using prototype though. The dynamic tabs are all javascript and have very little (if anything) to do with cakephp. The helpers for javascript (and ajax) are a good help but they have their limitations in what kind of javascript they support. For a more involved javascript GUI I often end up doing my own javascript. I can often base it on some example or other but I keep all my "behaviours" in a central js file so that I know what they all do. I don't think you can get "cake-native" javascript tabs. You will probably have to look for an example of a tab-interface using prototype/scriptaculous. The tabs on the site make use of some jquery animation to hide and show the tabs. They are all there from the start (no Ajax), only hidden. jquery.js and interface.js (a jquery extension) are the libraries loaded. All the behaviour setup is done in common.js. The tabs take up most of that file. On Jul 8, 8:48 am, randalle2 <regz_angels...@...> wrote: > I try to build my site. I'm a newbie... > I used 1.1..version of cakephp.. > > I want to use prototype and scriptaculous effects.. more or less like > frontpage you have seen in CAKEPHP. It can be navigate by next or prev > buttons or by clicking the tab.. > > can anyone help me please.... > > thanks in advance > > regz You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@... To unsubscribe from this group, send email to cake-php-unsubscribe@... For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Prototype and Scriptaculous Effects Help ma pleasethank you very much for the reply.. in short, it much better if im goin to build my on js library or just an extension? coz for now im using the prototype/scriptaculous library for now... the problem there if im going to used jquery same time it goes out with a problem... correct me if im wrong but i think there's a conflict between two js library i mention earlier. I try to search for a good example or tutorials for the method as cakephp frontpage. do you have any idea? thanks a lot... regz --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@... To unsubscribe from this group, send email to cake-php-unsubscribe@... For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Prototype and Scriptaculous Effects Help ma pleaseYou don't need to build your own library. You use an existing library like prototype for all of the nice functions and features it has. You build your own behaviours for your current site of application. No library makes buttons dance like crazy around the screen but they do provide you with nice tools so that you can write a behaviour (= a set of rules for how things on your page should behave under the control of javascript) that makes certain buttons dance when they should. You can use both jquery and prototype at the same time (with some fix I remember reading about) but you probably wouldn't want to. If you know and like Prototype then stick with it. I dont know of any tab- examples (for either library) but there is bound to be some. In fact, Google delivered a few that looks good: http://www.google.com/search?q=prototype+js+tab+example Remember that: CakePHP does the heavy server-side stuff and backend logic. Prototype does GUI interaction and ajax. HTML makes up the foundation of the page. CSS makes the things look good. It is rare that you will find an example that uses all these in exactly the way you want. The basic skills you need these days is to be able to combine an example of good-looking CSS with an example of cool ajax with an example of solid application logic... If you like CakePHP.org, the only "example" you are likely to find is the actual page. But unfortunately for you it uses jquery so the javascript would need to be re-written or replaced with some prototype equivalent. /Martin On Jul 8, 10:49 am, randalle2 <regz_angels...@...> wrote: > thank you very much for the reply.. > in short, it much better if im goin to build my on js library or just > an extension? > coz for now im using the prototype/scriptaculous library for now... > the problem there if im going to used jquery same time it goes out > with a problem... correct me if im wrong but i think there's a > conflict between two js library i mention earlier. > I try to search for a good example or tutorials for the method as > cakephp frontpage. > do you have any idea? > > thanks a lot... > > regz You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@... To unsubscribe from this group, send email to cake-php-unsubscribe@... For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~--- |
|
|
Re: Prototype and Scriptaculous Effects Help ma pleaseThanks a lot martin... I'm on the way on my web development right now... Maybe your right, I'll stick to prototype... I'm still finding a way on how to fix my nested tab... it doesn't work well... it's been few weeks but i still not able to fix it... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@... To unsubscribe from this group, send email to cake-php-unsubscribe@... For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~--- |
| Free Forum Powered by Nabble | Forum Help |