I was at http://rails.techno-weenie.net/ and I like what ajax does when you click on "login" how can I do this on my own website? Is this with the defualt JS libary? -- Posted via http://www.ruby-forum.com/.
Mohammad wrote:> I was at http://rails.techno-weenie.net/ and I like what ajax does when > you click on "login" how can I do this on my own website? Is this with > the defualt JS libary?Check Out: http://script.aculo.us/ and: http://wiki.script.aculo.us/scriptaculous/show/CombinationEffectsDemo -- Posted via http://www.ruby-forum.com/.
On 5/10/06, Mohammad <name.goes.here44@gmail.com> wrote:> I was at http://rails.techno-weenie.net/ and I like what ajax does when > you click on "login" how can I do this on my own website? Is this with > the defualt JS libary? >You can see how it''s done here: http://svn.techno-weenie.net/projects/rails_help/ It''s not AJAX, just a cool Javascript effect. Search for ''Panels'' in this file: http://svn.techno-weenie.net/projects/rails_help/public/javascripts/rails_help.js
Wilson Bilkovich wrote:> On 5/10/06, Mohammad <name.goes.here44@gmail.com> wrote: >> I was at http://rails.techno-weenie.net/ and I like what ajax does when >> you click on "login" how can I do this on my own website? Is this with >> the defualt JS libary? >> > > You can see how it''s done here: > http://svn.techno-weenie.net/projects/rails_help/ > > It''s not AJAX, just a cool Javascript effect. Search for ''Panels'' in > this file: > http://svn.techno-weenie.net/projects/rails_help/public/javascripts/rails_help.jsIt''s not under panels -- Posted via http://www.ruby-forum.com/.
David C. wrote:> Mohammad wrote: >> I was at http://rails.techno-weenie.net/ and I like what ajax does when >> you click on "login" how can I do this on my own website? Is this with >> the defualt JS libary? > > Check Out: http://script.aculo.us/ > and: > http://wiki.script.aculo.us/scriptaculous/show/CombinationEffectsDemoSo maybe it''s .slidedown with a transparncey so how do I set a 80% transparncy? -- Posted via http://www.ruby-forum.com/.
On 5/10/06, Mohammad <name.goes.here44@gmail.com> wrote:> Wilson Bilkovich wrote: > > On 5/10/06, Mohammad <name.goes.here44@gmail.com> wrote: > >> I was at http://rails.techno-weenie.net/ and I like what ajax does when > >> you click on "login" how can I do this on my own website? Is this with > >> the defualt JS libary? > >> > > > > You can see how it''s done here: > > http://svn.techno-weenie.net/projects/rails_help/ > > > > It''s not AJAX, just a cool Javascript effect. Search for ''Panels'' in > > this file: > > http://svn.techno-weenie.net/projects/rails_help/public/javascripts/rails_help.js > > It''s not under panels >Aah. The latest version in the repository does it a different way. You can see it on the live site: http://rails.techno-weenie.net/javascripts/rails_help.js
Mohammad wrote:> David C. wrote: >> Mohammad wrote: >>> I was at http://rails.techno-weenie.net/ and I like what ajax does when >>> you click on "login" how can I do this on my own website? Is this with >>> the defualt JS libary? >> >> Check Out: http://script.aculo.us/ >> and: >> http://wiki.script.aculo.us/scriptaculous/show/CombinationEffectsDemo > So maybe it''s .slidedown with a transparncey so how do I set a 80% > transparncy?The div has an id of "panel". "panel" has a style that applies the transparency / opacity. He''s using the scriptaculous blindDown toggle effect to show / hide the div. Hope that helps. -- Posted via http://www.ruby-forum.com/.
i actually didnt answer your question:>so how do I set a 80% transparncy?<div id="yourdivname" style="opacity:.93; display: none;">wee love beans</div> <a href="#" onclick="new Effect.toggle(''yourdivname'', ''blind''); return false;">show me / hide me</a> You''ll need the scriptaculous js libraries for this to work of course. http://script.aculo.us/ -- Posted via http://www.ruby-forum.com/.