[jQuery] Chaining with .NOT() ?

[jQuery] Chaining with .NOT() ?

I am having trouble chaining and using NOT. Take for example the
following code;
[][][][][][][][][][][][]
<div id="banner">
test
</div>
<div id="welcome" style="<?=jsVisible()?>">
<a href="iceburg.php"><img src="images/welcome.gif"></a>
</div>

<div id="logo" style="<?=jsVisible()?>">
<img src="images/logo/bw.gif">
</div>
<script type="text/javascript">
<!--
$(document).ready(function(){
$("div").not("#banner").fadeIn(5300);
});

-->
</script>
[][][][][][][][][][][][]
NOTE: I've also tried
$("div").not(document.getElementById("banner")).fadeIn(5300); AND
$("div").not("div#banner").fadeIn(5300);
What I'd like to do is fadeIn all <div> elements except the one with ID
of 'banner'. Instead, all <div> elements are fading in. Can you chain
while using not() ?
Also, I'm grateful that fadeIn & the other effects take a numeric
parameter. For some reason, I thought they were limited to "slow",
"medium", "fast" as per the docs.. until I looked @ the source code.
Hail jQuery! :)
~ Brice
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/




































    • Topic Participants

    • bhb