@Steen Thanks that was perfect! Worked great!
@Gordon I had tried that before and for some reason it didn't work
@Donb Thanks for your help! it was very similar to Steen's

I have this working now. However in IE nothing happens, it starts to
slide but stops about 25% of the way up then nothing happens. Any idea
what is wrong?

On Jun 27, 10:16 am, Steen Nielsen <[EMAIL PROTECTED]> wrote:
> Another thing you can do instead of giving every link a class, you can
> give the container a class and select the links in that container.
> example html:
>
> <div class="menu">
>   <ul>
>     <li><a href="test1">test1</a></li>
>     <li><a href="test2">test2</a></li>
>     <li><a href="test3">test3</a></li>
>     <li><a href="test4">test4</a></li>
>   </li>
> </div>
>
> use this selector: jQuery('.menu a')
>
> That way you will get every link inside the div with the class "menu"
> You probably already have a class indicating the menu position for the
> css.. you can just use that selector
>
> On Jun 26, 11:40 pm, Pegpro <[EMAIL PROTECTED]> wrote:
>
> > I am currently using:
> >                 jQuery.noConflict();
> >                 jQuery(document).ready(function(){
> >                         jQuery(\"a:contains('Home')\").click(function(e){
> >                                 e.preventDefault();
> >                                 var link = jQuery(this), link = 
> > link.attr('href');
> >                                 jQuery('#loading').fadeIn(200)
> >                                 jQuery('.wrap').slideUp(600, function(){
> >                                                 setTimeout('window.location 
> > = link', 500);
> >                                 });
> >                 });
> > Instead of duplicating this for everylink in the menu is there a way I
> > can use a or statement within this line:
> > jQuery(\"a:contains('Home')\").click(function(e){
>
> > Thanks for your help in advance!

Reply via email to