<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7638.1">
<TITLE>Show/Hide/Toggle</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">I thought I might be able to modify some Toggle source code I had..</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">I want to be able to SHOW only 1 div id at a time. I would like it to start with the top section viewed and the bottom section not seen.</FONT></P>
<P><FONT SIZE=2 FACE="Arial">Is this possible using jquery?</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Here is what I tried in this regard but I am not able to separate the two div's.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">$(document).ready(function(){</FONT>
<BR><FONT SIZE=2 FACE="Arial"> $("#topLink").toggle(function(){</FONT>
<BR><FONT SIZE=2 FACE="Arial"> $(this).html("request a carrier");</FONT>
<BR><FONT SIZE=2 FACE="Arial"> $("#carrList").slideUp("slow");</FONT>
<BR> <FONT SIZE=2 FACE="Arial"> $("addCarr").slideDown("slow");</FONT>
<BR><FONT SIZE=2 FACE="Arial"> },function(){</FONT>
<BR><FONT SIZE=2 FACE="Arial"> $(this).html("request a carrier");</FONT>
<BR><FONT SIZE=2 FACE="Arial"> $("#carrList").slideDown("slow");</FONT>
<BR> <FONT SIZE=2 FACE="Arial"> $("addCarr").slideUp("slow");</FONT>
<BR><FONT SIZE=2 FACE="Arial"> });</FONT>
<BR><FONT SIZE=2 FACE="Arial">});</FONT>
</P>
<FONT SIZE=3><BR>
<BR>
*************************************************************************<BR>
This communication, including attachments, is<BR>
for the exclusive use of addressee and may contain proprietary,<BR>
confidential and/or privileged information. If you are not the intended<BR>
recipient, any use, copying, disclosure, dissemination or distribution is<BR>
strictly prohibited. If you are not the intended recipient, please notify<BR>
the sender immediately by return e-mail, delete this communication and<BR>
destroy all copies.<BR>
*************************************************************************<BR>
</FONT>
</BODY>
</HTML>_______________________________________________
jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/