[jQuery] Re: Need some help with a image opacity thingy.

2009-03-25 Thread Karl Swedberg
for IE6, explicitly setting a background color on the element should do the trick. IE7 is a bit more complicated. You might want to have a look at Mike Alsup's Fade Test page and view source: http://malsup.com/jquery/fadetest.html --Karl Karl Swedberg www.englishrules.com www.l

[jQuery] Re: Need some help with a image opacity thingy.

2009-03-25 Thread MindTooth
Thank you so much. That fixed it completely. Much appreciated. Just asking, could you provide some info regarding IE compatible. Since now my PNGs has rough edges. Looks like som chainsaw blades. Birger :) On Mar 25, 3:52 pm, Karl Swedberg wrote: > Hi there, > > You could use the hoverIntent p

[jQuery] Re: Need some help with a image opacity thingy.

2009-03-25 Thread MindTooth
Thank you so much. That fixed it completely. Just asking, could you provide some info regarding IE compatible. Since now my PNGs has rough edges. Looks life som chaiw saw blades. Birger :) On Mar 25, 3:52 pm, Karl Swedberg wrote: > Hi there, > > You could use the hoverIntent plugin or update t

[jQuery] Re: Need some help with a image opacity thingy.

2009-03-25 Thread Karl Swedberg
Hi there, You could use the hoverIntent plugin or update the script with suggestions posted here: http://www.learningjquery.com/2009/01/quick-tip-prevent-animation-queue-buildup --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 25, 2009, at 8:00 AM, Mi

[jQuery] Re: Need some help with image map coding....

2008-09-19 Thread Peter Edwards
Hi Aaron, The following code should help: $(document).ready(function(){ $('area').each(function(){ $(this).attr("href", "#"); $(this).click(function(){ $('#ajaxresult').load('map.php', {'state':$(this).attr('alt')}); return false; }); });

[jQuery] Re: Need some help with image map coding....

2008-09-18 Thread Aaron
well what can I do to use javascript to submit a name to my php code??? I want to use the image map as a gui so I want it to act just like a form where I can name each state and then pass that name using post method to my php script which will do a database lookup and then once the list is creat

[jQuery] Re: Need some help with image map coding....

2008-09-16 Thread Aaron
Ya I do have that and seen it before I currently do have it and have colored it. The problem is that the image map has links to state web pages I don't want to have to create a web page for every state. It would take up room and it really doesn't need. I want something that I can just have th

[jQuery] Re: Need some help with image map coding....

2008-09-16 Thread Aaron
Yes I already have that downloaded before it provided a non colored map of the U.S and I just colored it in. The problem I face is I don't want to use the image map to link to different files. I don't want to use links. I want to use php in a way where when the person clicks a state the image m

[jQuery] Re: need some help with selecting text nodes

2008-05-07 Thread Glen Lipka
What about doing is client-side? So cycle through each line with each() and then use .wrap(""). This will put into the DOM what you need to use later. Also, you might be interested in this plugin. http://www.jquery.info/The-plugin-SearchHighlight It finds text based on search criteria in a large

[jQuery] Re: need some help with selecting text nodes

2008-05-06 Thread darren
oh man, i wish i could do as you suggested, that was my first idea and it would make things so much easier. However, the code i'm working with is markup of Shakespeare's works. Its incredibly complex and we use Cocoon to generate these pages from xml. long story short, my employer can't afford

[jQuery] Re: need some help with selecting text nodes

2008-05-06 Thread Glen Lipka
I tried to cut corners by skimming your html. I see it now. The divs close and the text is after the div. This is really strange HTML to me. Why not just put the text inside the div? Or just wrap the text inside a span? If you wrap the text inside spans, then the jQuery is pretty simple. I whi

[jQuery] Re: need some help with selecting text nodes

2008-05-05 Thread darren
hi glen, thanks for replying. That still wouldn't work. With that you are looking for the text inside div elements which are descendants of of the id'd element. What i want to select are certain text elements of the id'd element. I figured something out, but this is surprisinlgy difficult:

[jQuery] Re: need some help with selecting text nodes

2008-05-05 Thread darren
oh and yes, firebug is a Godsend. It is the most useful tool in my programming environment, by a long shot. I strongly recommend people learn all of its features like the debugger and the profiler. On May 5, 4:23 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > $("#tln21 div").text(); > > Like that?

[jQuery] Re: need some help with selecting text nodes

2008-05-05 Thread Glen Lipka
$("#tln21 div").text(); Like that? By the way, firebug is very helpful to test our selectors and see what they come up with. Hmm, it would be nice to have a tutorial on how to do this. I can try and whip one up. Glen On Mon, May 5, 2008 at 2:47 PM, darren <[EMAIL PROTECTED]> wrote: > > hi Joe

[jQuery] Re: need some help with selecting text nodes

2008-05-05 Thread darren
hi Joe, thanks for your comment If you look closer, you can see that the text is not actually in the div element. i basically need to select the text after that node: Some text some more text even more text So that wouldnt work On May 5, 2:06 pm, Joe <[EMAIL PROTECTED]>

[jQuery] Re: need some help with selecting text nodes

2008-05-05 Thread Joe
$("#tln21').text(); This will return the text associated with id="tln21". http://docs.jquery.com/Attributes/text Joe www.subprint.com On May 5, 2:34 pm, darren <[EMAIL PROTECTED]> wrote: > Hi everybody, new member here. > > I have a project with the following snipped of code: > > =start

[jQuery] Re: Need some help

2008-01-06 Thread Raghuveer Rawat
Good Morning guys, Can anyone help me with below issue? I want to change tag's background attribute value when that link inside that is clicked. Thanks in advance.. On Jan 5, 2008 11:52 PM, Raghuveer Rawat <[EMAIL PROTECTED]> wrote: >Hi, I recently started learning about jQuery and I hav

[jQuery] Re: Need some help to solve this problem - A jquery Newbie

2007-12-13 Thread Jason
ok. I will try it Thank U On Dec 13, 11:57 pm, "Glen Lipka" <[EMAIL PROTECTED]> wrote: > It might help to see an example online. > It sounds like you want to scroll the window based on a specific scenerio. > You may need the following plugins: > > http://www.freewebs.com/flesler/jQuery.LocalScrol

[jQuery] Re: Need some help to solve this problem - A jquery Newbie

2007-12-13 Thread Glen Lipka
It might help to see an example online. It sounds like you want to scroll the window based on a specific scenerio. You may need the following plugins: http://www.freewebs.com/flesler/jQuery.LocalScroll/ OR http://www.freewebs.com/flesler/jQuery.ScrollTo/ AND http://brandonaaron.net/docs/dimension