Old 26-10-2007, 20:56   #1 (permalink)
neoian
Freelancer
 
Join Date: Oct 2007
Posts: 7
Mootools slide.toggle question

I am using the newest mootools and have a div at the top of my page activate and deactivate using the effect 'slide.toggle'. How do I get this div to hide when the page loads?

I want it to be deactivated on page load and then toggle via a link.
  Reply With Quote
Old 26-10-2007, 21:01   #2 (permalink)
Limbo
Bask
 
Limbo's Avatar
 
Join Date: Feb 2005
Posts: 5,175
mootools has a (busy) support forum: mootools forums
__________________
  Reply With Quote
Old 26-10-2007, 21:04   #3 (permalink)
neoian
Freelancer
 
Join Date: Oct 2007
Posts: 7
Yeah. It keeps dropping mysql errors left and right.

I didn't feel like waiting for it to come back up...
  Reply With Quote
Old 27-10-2007, 02:23   #4 (permalink)
iblastoff
gotsa a malanga!
 
iblastoff's Avatar
 
Join Date: Apr 2006
Location: ottawa, canada
Posts: 489
wouldn't the hide function work just fine? i use it on my page ('who?' tab/toggle)
__________________
  Reply With Quote
Old 23-05-2008, 14:04   #5 (permalink)
karmedic
id
 
Join Date: May 2008
Location: Ottawa
Posts: 209
try the hide() method:

var s = $(s);
s.fx = new Fx.Slide(s, {duration:200});
s.fx.hide();
s.fx.toggle();
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8