[jQuery] Every post I make, I get an mail error.
Everytime I post to this group through thunderbird, I get a undelivered mail message sent back, everytime. This has only started happening recently and I can't find any info about it anywhere. Just want to know if this is happening to anyone else (as it's only when I post to this group) This is the mail I get. - This is the mail system at host ekster. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your own text from the attached returned message. The mail system r...@localhost: Command died with status 127: /usr/bin/procmail #rene. Command output: sh: /usr/bin/procmail: not found Reporting-MTA: dns; ekster X-Postfix-Queue-ID: 6B8B47BA1B7 X-Postfix-Sender: rfc822; radioactiv...@gmail.com Arrival-Date: Fri, 25 Sep 2009 08:12:18 +0200 (CEST) Final-Recipient: rfc822; r...@localhost Original-Recipient: rfc822;r...@localhost Action: failed Status: 5.3.0 Diagnostic-Code: x-unix; sh: /usr/bin/procmail: not found
[jQuery] Imade fade loop on mouseenter
Hi Guys, I'm having some trouble looping through images by fading one into the next. This is the jQuery $(ul.list li a).bind(mouseenter, function () { var a; var max_img = $(this).children().size(); for(a=0;a=max_img;a++) { $(this).children(img).eq(a).next().fadeIn(3000) } //end of for-loop }); and the html is this ul class=list lia href=# img src=assets/images/portfoliostrip/testimg.gif alt=test width=74 height=42style=display:block; / img src=assets/images/portfoliostrip/testimg1.gif alt=test width=74 height=42 style=display:none; / img src=assets/images/portfoliostrip/testimg2.gif alt=test width=74 height=42 style=display:none; / /a/li /ul These images will be pulled from a database, and I don't know how many there will be. Right now, when I hover over the image, it just fades in the last image in the list. Can anyone explain why this isn't working and maybe post some code that will please. Thanks, Liam
[jQuery] Re: rotate images
nevermind, found the cycle plugin. On Nov 13, 1:30 pm, Liam Potter [EMAIL PROTECTED] wrote: Hi, need a little help. I'm rotating some images and need it to loop. So far I have this var rotate = $(.rotate) .animate({opacity: 1.0}, 3000) .animate({marginTop: -32px}, slow) .animate({opacity: 1.0}, 3000) .animate({marginTop: -64px}, slow) .animate({opacity: 1.0}, 3000) .animate({marginTop: 0px}, 0); which works, but only one time, and I need it to loop. I was think using an if statement to check if the marginTop was set to 0 and if it was to initiate the rotate var but I just don't know how to do this. this is the html I'm using div class=rotatebanners div class=rotate a href=#img src=something.gif width=260 height=32 alt= //a a href=#img src=something.gif width=260 height=32 alt= //a a href=#img src=something.gif width=260 height=32 alt= //a /div /div Does anyone know a way to check the marginTop or if you can't, explain another way of doing this. Thanks, Liam
[jQuery] Re: performing actions on single elements with widely used classes
C'mon guys, I posted this on monday and no one has any ideas/ knows hows to help? On Nov 4, 8:44 am, evo [EMAIL PROTECTED] wrote: anyone? On Nov 3, 5:28 pm, Liam Potter [EMAIL PROTECTED] wrote: Hi, I'm having trouble figuring out how I can perform say, a hide animation on adiv, by clicking a button on onediv, which uses aclassused by other divs. *Lets say I have this:* divclass=message a href=#class=deleteDelete/a pMessage text/p /div divclass=message a href=#class=deleteDelete/a pMessage text/p /div divclass=message a href=#class=deleteDelete/a pMessage text/p /div *then the jquery is: *$(a.delete).click(function () { $(.overlay).hide(slow); }); This will hide all the messages, rather then the one I clicked the delete button on. Right now I'm using server side code to give eachdiva unique id, then have the jquery like this var inc = %#Eval(PrimaryKeyID)%; $(a.delete+ inc).click(function () { $(.overlay).hide(slow); }); This works, but it's not the best option, as I need to keep the JS inline and I'd rather be able to seperate it into a .js file, and use it in future projects just by writing the correct html then dropping the js file in the head. If anyone can show me the right way to do this, it would be extremely helpful. - Liam
[jQuery] Re: performing actions on single elements with widely used classes
anyone? On Nov 3, 5:28 pm, Liam Potter [EMAIL PROTECTED] wrote: Hi, I'm having trouble figuring out how I can perform say, a hide animation on a div, by clicking a button on one div, which uses a class used by other divs. *Lets say I have this:* div class=message a href=# class=deleteDelete/a pMessage text/p /div div class=message a href=# class=deleteDelete/a pMessage text/p /div div class=message a href=# class=deleteDelete/a pMessage text/p /div *then the jquery is: *$(a.delete).click(function () { $(.overlay).hide(slow); }); This will hide all the messages, rather then the one I clicked the delete button on. Right now I'm using server side code to give each div a unique id, then have the jquery like this var inc = %#Eval(PrimaryKeyID)%; $(a.delete+ inc).click(function () { $(.overlay).hide(slow); }); This works, but it's not the best option, as I need to keep the JS inline and I'd rather be able to seperate it into a .js file, and use it in future projects just by writing the correct html then dropping the js file in the head. If anyone can show me the right way to do this, it would be extremely helpful. - Liam
[jQuery] Actions on single div with common class
Hi, I'm having trouble figuring out how I can perform say, a hide animation on a div, by clicking a button on one div, which uses a class used by other divs. *Lets say I have this:* div class=message a href=# class=deleteDelete/a pMessage text/p /div div class=message a href=# class=deleteDelete/a pMessage text/p /div div class=message a href=# class=deleteDelete/a pMessage text/p /div *then the jquery is: *$(a.delete).click(function () { $(.overlay).hide(slow); }); This will hide all the messages, rather then the one I clicked the delete button on. Right now I'm using server side code to give each div a unique id, then have the jquery like this var inc = %#Eval(PrimaryKeyID)%; $(a.delete+ inc).click(function () { $(.overlay).hide(slow); }); This works, but it's not the best option, as I need to keep the JS inline and I'd rather be able to seperate it into a .js file, and use it in future projects just by writing the correct html then dropping the js file in the head. If anyone can show me the right way to do this, it would be extremely helpful. - Liam
[jQuery] making the accordion remain open
Hi, I've ran into a problem using the accordion from http://bassistance.de/jquery-plugins/jquery-plugin-accordion/ Currently to keep the accordion open while navigating a site i add p=1 (or whatever number it may need) to the url, which works, but as soon as I need to pass other variables through the url it breaks down and won't remain open. So while http://domain.com/details.aspx?p=2 will work fine, http://domain.com/details.aspx?p=2id=4 doesn't work. Now I'm wondering there must be another way to have the accordion remain open as someone must of come across this before. Any help will be much appreciated
[jQuery] Re: making the accordion remain open
This sounds like something which could definitely work. Thanks Jörn On Oct 21, 12:09 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: I'm working on cookie persistence: When accordion is changed, it stores the active panel in a cookie, and restores that state on page load. Would that solve your problem? Jörn On Tue, Oct 21, 2008 at 12:54 PM, evo [EMAIL PROTECTED] wrote: Hi, I've ran into a problem using the accordion from http://bassistance.de/jquery-plugins/jquery-plugin-accordion/ Currently to keep the accordion open while navigating a site i add p=1 (or whatever number it may need) to the url, which works, but as soon as I need to pass other variables through the url it breaks down and won't remain open. So whilehttp://domain.com/details.aspx?p=2will work fine, http://domain.com/details.aspx?p=2id=4doesn't work. Now I'm wondering there must be another way to have the accordion remain open as someone must of come across this before. Any help will be much appreciated
[jQuery] Re: making the accordion remain open
Hi Jörn, I was wondering how this sets and uses the cookie. I also assume I can still use a class rather then a html tag to find the header so h3 could be come .head ? thanks again On Oct 21, 1:27 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: var accordion = $(#accordion); var index = $.cookie(accordion); var active; if (index !== null) { active = accordion.find(h3:eq( + index + ));} else { active = 0 } accordion.accordion({ header: h3, active: active, change: function(event, ui) { var index = $(this).find(h3).index ( ui.newHeader[0] ); $.cookie(accordion, index, { path: / }); } }); Jörn On Tue, Oct 21, 2008 at 2:24 PM, Liam Potter [EMAIL PROTECTED] wrote: Hi Jörn, I was wondering if you had anything in a workable state for me to use? Thanks, Liam evo wrote: This sounds like something which could definitely work. Thanks Jörn On Oct 21, 12:09 pm, Jörn Zaefferer [EMAIL PROTECTED] wrote: I'm working on cookie persistence: When accordion is changed, it stores the active panel in a cookie, and restores that state on page load. Would that solve your problem? Jörn On Tue, Oct 21, 2008 at 12:54 PM, evo [EMAIL PROTECTED] wrote: Hi, I've ran into a problem using the accordion from http://bassistance.de/jquery-plugins/jquery-plugin-accordion/ Currently to keep the accordion open while navigating a site i add p=1 (or whatever number it may need) to the url, which works, but as soon as I need to pass other variables through the url it breaks down and won't remain open. So whilehttp://domain.com/details.aspx?p=2willwork fine, http://domain.com/details.aspx?p=2id=4doesn'twork. Now I'm wondering there must be another way to have the accordion remain open as someone must of come across this before. Any help will be much appreciated
[jQuery] fadeIn nav help
Hi, new to jQuery trying to have a span fade in and fade out when I hover over a link. this is the js script $(document).ready(function(){ $(a.nav).mouseover(function() { $(.fadeit).fadeIn(500); }).mouseout(function() { $(.fadeit).fadeOut(500); }) /script this is the nav markup ul class=navigation right lispan class=fadeit/spana href=# class=navhome/a/li lispan class=fadeit/spana href=# class=navpurchaser/a/ li lispan class=fadeit/spana href=# class=navsupplier/a/ li lispan class=fadeit/spana href=# class=navmarket/a/ li lispan class=fadeit/spana href=# class=navcontact/a/ li /ul can anyone tell me why this isn't working? I'm a little lost.