[jQuery] Re: Trying to use jQuery to do the same effect on multiple links.

2008-06-27 Thread Pegpro
gt;     test1 >     test2 >     test3 >     test4 >   > > > 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 &

[jQuery] Re: Code not working in IE

2008-06-27 Thread Pegpro
this is printed in php onto the page. The backslashes are to escape the php so it doesn't end the string. On Jun 27, 9:44 am, andrea varnier <[EMAIL PROTECTED]> wrote: > On 27 Giu, 02:41, Pegpro <[EMAIL PROTECTED]> wrote: > > > IE sucks. What is wrong here? > >

[jQuery] Code not working in IE

2008-06-26 Thread Pegpro
I am using this code: jQuery.noConflict(); jQuery(document).ready(function(){ jQuery('#loading').show();jQuery('.wrap').slideDown(1000);jQuery('#loading').fadeOut(1500, setTimeout('showdocs()', 1500)); jQuery(\"a:contains('Home')\").

[jQuery] Trying to use jQuery to do the same effect on multiple links.

2008-06-26 Thread Pegpro
I am currently using: jQuery.noConflict(); jQuery(document).ready(function(){ jQuery(\"a:contains('Home')\").click(function(e){ e.preventDefault(); var link = jQuery(this), link

[jQuery] Using noConflict with links

2008-06-26 Thread Pegpro
I am using this line: var $this = $(this), link = $this.attr('href'); However I have had to use jQuery.noConflict() How do I use jQuery() with this?

[jQuery] Re: Trying to use jQuery and lightview on the same page

2008-06-26 Thread Pegpro
How do I use that? On Jun 25, 7:25 pm, Eric Martin <[EMAIL PROTECTED]> wrote: > Have you tried jQuery.noConflict(); > ?http://docs.jquery.com/Core/jQuery.noConflict > > On Jun 25, 9:12 am, Pegpro <[EMAIL PROTECTED]> wrote: > > > Does anyone know? > >

[jQuery] Re: Trying to use jQuery and lightview on the same page

2008-06-25 Thread Pegpro
Does anyone know? On Jun 25, 12:06 pm, Pegpro <[EMAIL PROTECTED]> wrote: > I am trying to use lightview and jQuery on the same page (doing > different things). However the second I added the jQuery.js file to my > headers my lightview broke with this error: > > "unca

[jQuery] Trying to use jQuery and lightview on the same page

2008-06-25 Thread Pegpro
I am trying to use lightview and jQuery on the same page (doing different things). However the second I added the jQuery.js file to my headers my lightview broke with this error: "uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMXPathEv

[jQuery] Re: How to make jquery do a link?

2008-06-25 Thread Pegpro
fine. On Jun 25, 11:31 am, andrea varnier <[EMAIL PROTECTED]> wrote: > On 25 Giu, 11:07, Pegpro <[EMAIL PROTECTED]> wrote: > > > How can I make jquery do an effect when clicking a link and when it is > > finished animating follow the link? > > you can use a callback

[jQuery] Trying to use jQuery and lightview on the same page

2008-06-25 Thread Pegpro
I am trying to use lightview and jQuery on the same page (doing different things). However the second I added the jQuery.js file to my headers my lightview broke with this error: "uncaught exception: [Exception... "Component returned failure code: 0x80070057 (NS_ERROR_ILLEGAL_VALUE) [nsIDOMXPathE

[jQuery] How to make jquery do a link?

2008-06-25 Thread Pegpro
How can I make jquery do an effect when clicking a link and when it is finished animating follow the link? I was using window.location = 'index.php' + execute but this means a different jquery for every effect (the class of the element being animated before the link is the same.