Skip to main content

Bug Tracker

Side navigation

#2398 closed bug (fixed)

Opened February 23, 2008 06:44AM UTC

Closed October 25, 2010 11:31PM UTC

Last modified March 14, 2012 05:15AM UTC

slideUp() - Firefox & IE7 Bug

Reported by: computerkidt Owned by:
Priority: low Milestone: 1.2.4
Component: effects Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:
Description

In IE7 and Firefox 2.0.0.12 slideUp(); doesn't work right.

slideUp() only slides up smoothly once it has been run once on that page, BUT if that page is reloaded then your still need to run slideUp(); before it works right.

Basicly runs like hide(); each first time you run it. Also It needs to be run once with every id.

Example:

----====JavaScript====----

$(document).ready(function() {
	$('#showmenu').hide();
});
function hidemenu() {
	$('#menu').slideUp(1500);
	$('#showmenu').fadeIn(1000);
}
function showmenu() {
	$('#menu').slideDown(1500);
	$('#showmenu').fadeOut(1000);
}

----====HTML====----

<span id='showmenu'><a href='#' OnClick='showmenu();'>Show Menu</a></span>

<span id='menu'><a href='#' OnClick='hidemenu();'>Hide Menu</a>
<!-- Table with links -->
</span>
Attachments (0)
Change History (2)

Changed November 12, 2008 08:23AM UTC by davidserduke comment:1

description: In IE7 and Firefox 2.0.0.12 slideUp(); doesn't work right. \ slideUp() only slides up smoothly once it has been run once on that page, BUT if that page is reloaded then your still need to run slideUp(); before it works right. \ \ Basicly runs like hide(); each first time you run it. Also It needs to be run once with every id. \ \ Example: \ ----====JavaScript====---- \ \ $(document).ready(function() { \ $('#showmenu').hide(); \ }); \ function hidemenu() { \ $('#menu').slideUp(1500); \ $('#showmenu').fadeIn(1000); \ } \ function showmenu() { \ $('#menu').slideDown(1500); \ $('#showmenu').fadeOut(1000); \ } \ \ ----====HTML====---- \ \ <span id='showmenu'><a href='#' OnClick='showmenu();'>Show Menu</a></span> \ \ <span id='menu'><a href='#' OnClick='hidemenu();'>Hide Menu</a> \ <!-- Table with links --> \ </span>In IE7 and Firefox 2.0.0.12 slideUp(); doesn't work right. \ slideUp() only slides up smoothly once it has been run once on that page, BUT if that page is reloaded then your still need to run slideUp(); before it works right. \ \ Basicly runs like hide(); each first time you run it. Also It needs to be run once with every id. \ \ Example: \ ----====JavaScript====---- \ {{{ \ $(document).ready(function() { \ $('#showmenu').hide(); \ }); \ function hidemenu() { \ $('#menu').slideUp(1500); \ $('#showmenu').fadeIn(1000); \ } \ function showmenu() { \ $('#menu').slideDown(1500); \ $('#showmenu').fadeOut(1000); \ } \ }}} \ ----====HTML====---- \ {{{ \ <span id='showmenu'><a href='#' OnClick='showmenu();'>Show Menu</a></span> \ \ <span id='menu'><a href='#' OnClick='hidemenu();'>Hide Menu</a> \ <!-- Table with links --> \ </span> \ }}}

Changed October 25, 2010 11:31PM UTC by rwaldron comment:2

priority: majorlow
resolution: → fixed
status: newclosed

This issue no longer exists

http://jsfiddle.net/rwaldron/fmDJQ/1/