[jQuery] Re: How to break out of jQuery function?

2009-06-24 Thread MiD-AwE
being blank), > no need for the 'else'? > > I realize you said this is only a snippet so maybe there's a reason for > doing it the other way.  If not, food for thought :) > > > > > > On Wed, Jun 24, 2009 at 1:04 PM, MiD-AwE wrote: > > > I appologiz

[jQuery] Re: How to break out of jQuery function?

2009-06-24 Thread MiD-AwE
I appologize for the newb-ish question. I found my answer in "return false;" I'm not deleting this in case someone else needs a good example of where this is necessary. (my background in is LISP (exit) and VB, so please understand the dumb question). On Jun 24, 12:50 pm, MiD-A

[jQuery] How to break out of jQuery function?

2009-06-24 Thread MiD-AwE
Hi all, I have a function that will run everytime a link in my menu is clicked. The problem is that one of the links point to an https and appropriately opens in a new window/tab. I want to break out of the function so that my page does not go blank as a result. I tried the .end(); function but

[jQuery] Re: append and *slowly* show new content in DOM

2009-06-20 Thread MiD-AwE
('#div_container:last-child').show('slow'); On Jun 20, 2:47 pm, MiD-AwE wrote: > You could try $('#div_container').hide(this).append('hi there! p>').show('slow'); > > On Jun 20, 2:03 pm, Eric P wrote: > > > > > Hi, >

[jQuery] Re: append and *slowly* show new content in DOM

2009-06-20 Thread MiD-AwE
You could try $('#div_container').hide(this).append('hi there!').show('slow'); On Jun 20, 2:03 pm, Eric P wrote: > Hi, > > I'm guessing this is an easy question, but I can't figure it out. > > I want to add some new content to the DOM, so I have a line like this. > $('#div_container').append('hi

[jQuery] Re: cycle plugin image positioning issue

2009-06-20 Thread MiD-AwE
I recently ran into a similar situation where all slide shows other than the first was not displaying properly since they are written into the page after a mouse click on link like: $('#div').html($(href).html ()); So, since the first cycle slide show worked fine with css "width: 100%;height:aut

[jQuery] Re: jQuery Cycle plugin (help show/hide slide shows on same page)?

2009-05-21 Thread MiD-AwE
Ok, I think I've got it. I am now setting up the second slide show at the click event and then showing it immediately following. Like this: [code]jQuery('#buttons [href]').click( function(){ var element = jQuery(this); var href=element.attr("href"); jQuery('#

[jQuery] Re: jQuery Cycle plugin (help show/hide slide shows on same page)?

2009-05-21 Thread MiD-AwE
Ok, http://mid-awe.com/webs/presidential/index.html I'm noticing also now that an additional #s2 slide show is missing from the initial page load. I'll look at that to see if the issues are related. Any help is greatly appreciated. > Can you post a link to your test page?

[jQuery] Re: jQuery Cycle plugin (help show/hide slide shows on same page)?

2009-05-20 Thread MiD-AwE
Just to clarify; I have two slide shows using the cycle plugin. They are both set to display using the same css. Only one should display at a time, I want the page to load with one shown and the other hidden, then after a link is clicked the slide shows should toggle to display the previously hidd

[jQuery] jQuery Cycle plugin (help show/hide slide shows on same page)?

2009-05-20 Thread MiD-AwE
Hi all, I'm trying to setup multiple cycle slide shows on the same page; Only they occupy the same space on the page. So, I'm trying to hide the second slide show right away (no problem showing the first automatically), but when I attempt to hide the first and show the second, nothing happens. Is

[jQuery] Re: .hasClass() not behaving as expected.

2009-02-11 Thread MiD-AwE
ass is on the > parent li element). > > On Feb 8, 4:24 pm, MiD-AwE wrote: >> Please help, I've been wrestling with this for too long now. >> >> I've put together this code to change the background of a div when the >> mouse hovers over a list of divs.

[jQuery] .hasClass() not behaving as expected.

2009-02-08 Thread MiD-AwE
Please help, I've been wrestling with this for too long now. I've put together this code to change the background of a div when the mouse hovers over a list of divs. One of the listed divs has a class name of ash and I want to add a background image on that one hover; all of the other listed divs