[jQuery] [plugin] jqModal +r14 updated

2009-03-01 Thread Brice Burgess
Plugin Page: http://dev.iceburg.net/jquery/jqModal/ updated jqModal to +r14 Changes include smart detection of the triggering element. This allows you to call $.jqmShow() and $.jqmHide() within the event context of a non-initialized triggering element, and that element will mask a proper

[jQuery] Re: Can't get typed value of input

2009-03-01 Thread FlashWebHost.com
It works fine for me, you should have made some mistake. Just create a test page and upload to your web site with java scripts, that is easy to see the problem. On Jan 22, 6:09 pm, abhisek abhisek.d...@gmail.com wrote: Thanks for your response. I think that was a livequery issue. Used the

[jQuery] Re: How to find a parent

2009-03-01 Thread Rick Faircloth
No problem! I appreciate you taking the time to explain! I understand now...thanks, Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of mkmanning Sent: Sunday, March 01, 2009 1:05 AM To: jQuery (English) Subject: [jQuery] Re: How to

[jQuery] Re: How to find a parent

2009-03-01 Thread Rick Faircloth
Glad we could help! I was close anyway! :o) Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of riotbrrd Sent: Sunday, March 01, 2009 12:58 AM To: jQuery (English) Subject: [jQuery] Re: How to find a parent You guys rock! thanks.

[jQuery] splitter plugin: messes up the layout

2009-03-01 Thread Chris
Hi, I have problems getting the splitter plugin work the way it should. I'm using this version: http://methvin.com/splitter/ What I try to achieve is to split a given div container with a fixed size as many times as I wish. Turns out I can only split it a couple of times because at some point

[jQuery] Re: splitter plugin: messes up the layout

2009-03-01 Thread Chris
Maybe I should mention that I'm using Firefox 2. On Mar 1, 12:34 pm, Chris ch0...@googlemail.com wrote: Hi, I have problems getting the splitter plugin work the way it should. I'm using this version:http://methvin.com/splitter/ What I try to achieve is to split a given div container with a

[jQuery] Re: splitter plugin: messes up the layout

2009-03-01 Thread Chris
I have prepared a downloadable package that should make the problem really visible: http://tinyurl.com/adjp4r On Mar 1, 12:36 pm, Chris ch0...@googlemail.com wrote: Maybe I should mention that I'm using Firefox 2. On Mar 1, 12:34 pm, Chris ch0...@googlemail.com wrote: Hi, I have

[jQuery] Re: [tooltip] help please

2009-03-01 Thread paulmo
thanks for replies. applied sean o's corrections and found/applied screen.css (below); script's still not executing. other suggestions? thanks html, body, div, span, applet, object, iframe, 2h1, h2, h3, h4, h5, h6, p, blockquote, pre, 3a, abbr, acronym, address, big, cite, code, 4del, dfn, em,

[jQuery] Re: help please

2009-03-01 Thread paulmo
just copied entire demo page code as new file and checked links to external files...stylized boxes still don't execute. i do get the yellow windows tooltip with text, but not the stylized tooltips. the css appears to be working otherwise. help?

[jQuery] question for traversing xml

2009-03-01 Thread mcologne
hi, i have the xml below... this is a part of items of shoes and i need to select all size, but not if their stock is 0. i can find the size with 0: var $test = $entry.find(sizes size stock:contains('0')); but i don't know how to find all sizes with not 0. i used .not(), but it didn't work.

[jQuery] New Downloaded jQuery result Error: $ is not defined !

2009-03-01 Thread Marvix
I just downloaded the compressed uncompressed version ... I get always Error: $ is not defined and when I replaced with old version works fine! help?!

[jQuery] Re: jeditable addition of checkboxes, doubleclick to select.

2009-03-01 Thread Paul Noden
Hi Brian, How did you get on with adding checkbox support to jeditable, it would be nice to have jeditable support all input types such as checkboxes and radio buttons (the ok/cancel would need to be for the entire named group) and of course password, and file. jeditable is pretty great as it

[jQuery] CSS background-image doesn't work with jQ dynamic content?

2009-03-01 Thread vitto
Hello all! i've created a jQ table class which let me to create a table like this in my html page: html head link rel=stylesheet type=text/css href=./css/table_bg.css/ /head body !-- CODE STARTS FROM HERE -- table thead tr th class=columncolumn one/th th

[jQuery] Regarding Tree view plugin

2009-03-01 Thread Daya
Hi, Regarding following link, I want to know that from where i should get all the images of checkbox. http://floatmargin.com/2008/jquery-checkbox-tree-plugin/comment-page-1/#comment-18 Looking for your positive response. Thanks in advance... kumardaya...@gmai.com

[jQuery] Help: UI Tabs + Accordion Conflict

2009-03-01 Thread nathanwf
Here is the link to both of them working independently. I would like for them to work together. I know it is a small fix, but I've tried it all and can not find the solution. Please Help. http://tinyurl.com/cdsadg http://tinyurl.com/b4lytq

[jQuery] Determining if form was submitted using jQuery

2009-03-01 Thread neen
Hi there, I want to determine if a form has been submitted with jQuery or not. I'm using the jQuery form plugin, but I need to degrade gracefully if the user doesn't have JS enabled, so I want my function (server-side) to return something different depending on whether the form was submitted

[jQuery] Determining if form was submitted using jQuery

2009-03-01 Thread neen
Hi there, I want to determine if a form has been submitted with jQuery or not. I'm using the jQuery form plugin, but I need to degrade gracefully if the user doesn't have JS enabled, so I want my function (server-side) to return something different depending on whether the form was submitted

[jQuery] Weird form submission problem using validate plugin

2009-03-01 Thread mehodgson
I have an ajax form in a CakePHP based website that I am trying to validate using the the jquery validation plugin. Every thing seems to work just fine on the validation portion, but even when all the fields are valid the form fails to submit. The weird part is that after the form is valid and

[jQuery] ajaxForm + jquery ui dialog + ajax won't work multiple times

2009-03-01 Thread cursief
Hi i'm stuck at the following. I have made a button that puts out a clear request for a form. The flow of this should be: dialog - if yes - use ajaxForm to submit - reload section so in my document ready i have the following: (multiple buttons can exist) $(.blockClear).each(function (i) {

[jQuery] Re: Weird form submission problem using validate plugin

2009-03-01 Thread Jörn Zaefferer
Replace ajaxForm with ajaxSubmit. ajaxForm binds a submit event, just like validate. Jörn On Sun, Mar 1, 2009 at 6:45 AM, mehodgson mehodg...@gmail.com wrote: I have an ajax form in a CakePHP based website that I am trying to validate using the the jquery validation plugin. Every thing seems

[jQuery] Re: Determining if form was submitted using jQuery

2009-03-01 Thread Dave Methvin
I want to determine if a form has been submitted with jQuery or not. Ajax requests have this header: X-Requested-With: XMLHttpRequest You could use that to determine how the form was submitted.

[jQuery] Load External an DIV within the same DIV.. without tabs

2009-03-01 Thread Erik R. Peterson
Without using TABS, can I place links inside a DIV and replace the same DIV with external content from another DIV? I'm trying to achieve the effect found in this link using iFrames, but I DON'T want to use iFrames: http://www.dynamicdrive.com/dynamicindex17/iframessi2.htm Is there an

[jQuery] Interactive USA maps....

2009-03-01 Thread Erik R. Peterson
Anyone now of any interactive maps without FLASH? I want to be able to highlight states with color changes loading external DIV content. Erik

[jQuery] Re: Determining if form was submitted using jQuery

2009-03-01 Thread MorningZ
Alternatively you could send am extra parameter with the jQuery Form call and look for that (it's there = jQuery form submitted, not there: normal post) although I would do it by the header as Dave recommends, but it's always good to have options :-) On Mar 1, 11:05 am, Dave Methvin

[jQuery] css method on span reports block?

2009-03-01 Thread sliver
Im not sure if this is intended, but it leads to some unexpected results: console.log($('span/').css('display')); -- 'block' According to W3, span's default display value is inline. Any reason for the switch? Also, say you have a class definition in a style sheet: .inline { display:

[jQuery] Superfish in IE6 showing strange left margin...

2009-03-01 Thread Jeffrey B
Hello, I'm trying to implement Superfish and I've been testing it in IE6, IE7, Firefox's V2 and V3 and Apple Safari V3.2.1 for Windows (don't have Mac). It's working the way I want it to in all of the above except IE6. I've created a web page showing some screen shots of what I'm seeing along

[jQuery] Does removing an element automatically remove bound events from memory?

2009-03-01 Thread sliver
Say you have a page that will alter the DOM extensively through user interaction as well as binding events to those elements. My question is, are bound events to removed elements automatically unbound/removed as well?

[jQuery] Re: css method on span reports block?

2009-03-01 Thread Frederik Ring
Looks like this is a 1.3.2 issue I think. Just tried it with 1.2.6 and it returned inline in both cases. On Mar 1, 6:31 pm, sliver sliver2...@gmail.com wrote: Im not sure if this is intended, but it leads to some unexpected results: console.log($('span/').css('display')); -- 'block'

[jQuery] $.getJSON

2009-03-01 Thread Alain Roger
hi, i do not understand so well how the function getJSON works. i've read the documentation but i think i miss the point. i would like to pass some argument/parameter to a php file which in return gives me som JSON answer. therefore i wrote the following code: $.getJSON(lg.php, { start: 0,

[jQuery] Re: help please

2009-03-01 Thread Rick Faircloth
Got a page that can be viewed online or some code we can review? Rick -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of paulmo Sent: Sunday, March 01, 2009 9:10 AM To: jQuery (English) Subject: [jQuery] Re: help please just copied

[jQuery] Re: Does removing an element automatically remove bound events from memory?

2009-03-01 Thread mkmanning
As of 1.2.2 bound events and cached data are removed if you use .remove () or .empty() On Mar 1, 9:52 am, sliver sliver2...@gmail.com wrote: Say you have a page that will alter the DOM extensively through user interaction as well as binding events to those elements. My question is, are bound

[jQuery] Re: Does removing an element automatically remove bound events from memory?

2009-03-01 Thread sliver
Thanks for the quick response! On Mar 1, 1:42 pm, mkmanning michaell...@gmail.com wrote: As of 1.2.2 bound events and cached data are removed if you use .remove () or .empty() On Mar 1, 9:52 am, sliver sliver2...@gmail.com wrote: Say you have a page that will alter the DOM extensively

[jQuery] Re: [plugin] jqModal +r14 updated

2009-03-01 Thread Alexandre Plennevaux
that's a nice upgrade Brice! On Sun, Mar 1, 2009 at 9:21 AM, Brice Burgess b...@iceburg.net wrote: Plugin Page: http://dev.iceburg.net/jquery/jqModal/ updated jqModal to +r14 Changes include smart detection of the triggering element. This allows you to call $.jqmShow() and $.jqmHide()

[jQuery] Re: css method on span reports block?

2009-03-01 Thread sliver
Is this a bug in 1.3.2 then? On Mar 1, 1:16 pm, Frederik Ring frederik.r...@gmail.com wrote: Looks like this is a 1.3.2 issue I think. Just tried it with 1.2.6 and it returned inline in both cases. On Mar 1, 6:31 pm, sliver sliver2...@gmail.com wrote: Im not sure if this is intended, but

[jQuery] data object not included in clone?

2009-03-01 Thread sliver
When cloning and element, you can pass a boolean value of true to copy event handlers... what about the data object from jQuery? console.log($('div/').data('foo', 'bar').clone(true).data('foo')); -- undefined

[jQuery] Re: splitter plugin: messes up the layout

2009-03-01 Thread Chris
noone? On Mar 1, 2:02 pm, Chris ch0...@googlemail.com wrote: I have prepared a downloadable package that should make the problem really visible:http://tinyurl.com/adjp4r On Mar 1, 12:36 pm, Chris ch0...@googlemail.com wrote: Maybe I should mention that I'm using Firefox 2. On Mar 1,

[jQuery] Re: help please

2009-03-01 Thread paulmo
sure, thanks: script type=text/javascript src=jquery-1.2.6.min.js/script script src=jquery.bgiframe.js type=text/javascript/script script type=text/javascript src=jquery.tooltip.min.js/script link rel=stylesheet href=jquery.tooltip.css / link rel=stylesheet href=screen.css/ //this code in

[jQuery] Re: Load External an DIV within the same DIV.. without tabs

2009-03-01 Thread johhnnyboy
http://maxblog.me/ajaxify/demo.php On 1 mrt, 18:03, Erik R. Peterson eriks...@mac.com wrote: Without using TABS, can I place links inside a DIV and replace the   same DIV with external content from another DIV? I'm trying to achieve the effect found in this link using iFrames, but   I DON'T

[jQuery] jQuery and Browser Zoom

2009-03-01 Thread Miroku
Is there a way to detect through jQuery when a user zoom the page with the browser options? Thanx in advance ^^

[jQuery] Re: $.getJSON

2009-03-01 Thread Wil Everts
One of my favorite examples of this is the Flickr example on Visual jQuery (http://remysharp.com/visual-jquery/). $.getJSON(http://api.flickr.com/services/feeds/photos_public.gne?tags=cattagmode=anyformat=jsonjsoncallback=?;, function(data){ $.each(data.items, function(i,item){

[jQuery] hover on image flickers.

2009-03-01 Thread Tijmen Smit
I was playing around with jQuery and this gallery. The idea is that it shows a bigger image on hover. That part works, but the image just won't stop flickering once you move your mouse over it. I really don't see why it flickers. Why does it do that, and how would I be able to fix it?

[jQuery] jQ Validate Remote on blur()?

2009-03-01 Thread s.ross
I'm very happy with jQuery Validate, but am having difficulty with the following scenario: rules: user[email]: { required: true, email: true, remote: '/signups/unique_email?lf=' + $ ('.radios[checked]').attr('id') }, As you can see, this

[jQuery] Re: help please

2009-03-01 Thread Rick Faircloth
I took the code of the plug-in demo page and stripped everything down to what you have (plus html, title, and body tags) and I still get the styling (gray background with 1px solid black border) on the first example. Just to triple-check, you do have all your .js and .css files in the same

[jQuery] Re: splitter plugin: messes up the layout

2009-03-01 Thread Dave Methvin
Chris, I don't have Firefox 2 handy and it's working fine on Firefox 3. In general it works best to initialize nested splitters from the inside out; there are a few situations where initializing the outer splitter will not work. It looks like your sample is very close to being a table with

[jQuery] jquery ui and ajaxForm work only once then does not submit

2009-03-01 Thread Cursief
Hi i'm stuck at the following. I have made a button that puts out a clear request for a form. The flow of this should be: dialog - if yes - use ajaxForm to submit - reload section so in my document ready i have the following: (multiple buttons can exist) $(.blockClear).each(function (i) {

[jQuery] Performance Question: A Single document.ready or multiple?

2009-03-01 Thread Jeffrey B
Hello, I'm new to jquery and I've been wondering if there are any performance implications to packing all of my jquery code into a single instance of $(document).ready(function()... or using separate ones for each goal I want to achieve? All the best, Jeffrey

[jQuery] Accordion and external controls

2009-03-01 Thread zac
I have a accordion menu that expands and contracts with mouse over: $(dd).hide(); var overFn = function(){ $(dd:visible).slideUp(slow); $(this).parent().next().slideDown(slow); }; // hover delay var outFn = function(){}; $(dt a).hoverIntent({ over: overFn,

[jQuery] Re: Performance Question: A Single document.ready or multiple?

2009-03-01 Thread Cursief
I don't think you will notice much difference. I'm using multiple in one project as well and didn't notice much change in speed. Rik Jeffrey B schreef: Hello, I'm new to jquery and I've been wondering if there are any performance implications to packing all of my jquery code into a single

[jQuery] Re: jQ Validate Remote on blur()?

2009-03-01 Thread Jörn Zaefferer
Try this: onkeyup: function(element) { if ( (element.name in this.submitted || element == this.lastElement) element.name != user[email] ) { this.element(element); } } Let me know if that works for you. Jörn On Sun, Mar 1, 2009 at 10:58 PM, s.ross

[jQuery] Re: jQ Validate Remote on blur()?

2009-03-01 Thread s.ross
I think that's most of the solution. Thanks. onkeyup would be great to set on a per-element basis. When I get a chance, I'll look through the code and see if I can suggest a patch. Thanks again, Steve On Mar 1, 2009, at 3:19 PM, Jörn Zaefferer wrote: Try this: onkeyup:

[jQuery] Re: hover on image flickers.

2009-03-01 Thread donb
The hover shows the div, the image in that div overlays the image in the li, the hover ends, and so it flips back and forth between them Try using one of the available plugins that does the same thing, e.g.: http://plugins.jquery.com/project/thumbnail_hover_popup or at least remove the

[jQuery] JQuery Won't Read remote xml via proxy.. but will read local xml

2009-03-01 Thread KrushRadio - Doc
Okay, I tried using Troy Wolf's Proxy php page... It's a little more than what i needed, but it works just fine. I think this is something with JQuery itself... For anyone who wants to look at this, i've uploaded it to my server: http://ww2.krushradio.com/test/yp/jquery.zip Now... I wanted to

[jQuery] Jcarousel lite parameter problem

2009-03-01 Thread surreal5335
I am working on adding a feature to jcarousel lite which will allow for continous scrolling when a button is hovered over previous or next. So far I am about half way there but I need to write an ending statment to tell jquery to stop the scroll upon the hover out event. What I have in the

[jQuery] Re: hover on image flickers.

2009-03-01 Thread mkmanning
Since the bigger image completely covers the thumbnail, you could bind the hide() to the div: $('li img').bind('mouseover',function() { $(this).next(div).show(); }).next('div').bind('mouseout',function(){ $(this).hide(); }); On Mar 1, 4:00 pm,

[jQuery] Change CSS depending on page you're on

2009-03-01 Thread expresso
I'm trying to do something simple but this is my first stab at doing this in JQuery. div id=menu ul li class=current_page_item default.aspx home /li li about.aspx about /li li

[jQuery] Re: help please

2009-03-01 Thread paulmo
thanks for the feedback rick. it's working now and as is often the case here, not sure why. had to do with the order of several js in the head section. however, my fonts are changed now, and though i scan the screen and tooltip.css files, not getting a font option that adjusts all the text

[jQuery] Including several plugins for ajax loaded content - not just one function

2009-03-01 Thread Zorphas
Hello, I'm having trouble because I have a site where entire pages are loaded through ajax, and I want all the jquery plugins/code that I have to apply to the loaded content. For example: I have a jQuery slideshow plugin, a spelling checker, a richtext editor that changes all the elements with

[jQuery] hi guys do you know any good jquery plugin for photo tagging ?

2009-03-01 Thread PUTRA PRIMA
hi guys do you know any good jquery plugin for photo tagging ? -- Putra Prima A 0410630078 Teknik Elektro Brawijaya 3 ipa 2 smunsa 2004 http://siubie.zxq.net/wordpress/

[jQuery] 'Jerky' copy and extended lines of copy when composing e-mails

2009-03-01 Thread miniMarine
I once saw someones post describing the problem he was having; I'm experiencing the same maddening problem. Now, I can't find him and I can find no mention of a similar problem on any other the other avenues of req assistance. A person in this group posted a similar problem but with graphics or

[jQuery] I can't figure out how to implement JQuery into my website

2009-03-01 Thread Warfang
What code do I need to put in my HTML header? I have already downloaded the JQuery code from JQuery's homepage to my computer, but where exactly do I put that? I'm using Webs.com to host now, so do I upload the code to my directory there? From there, how do I add new code from plugins? Sorry for

[jQuery] Problem Traversing

2009-03-01 Thread JEF
I am making a slideshow kind of thing on a website and im having some trouble going back and forth from element to element this is the code $(.next).click(function () { $(this).closest(.ego-text).hide(2500).queue(function () { $(this).next(.ego-text).show(2500); }); });

[jQuery] History/Remote - problem with jquery 1.3.1

2009-03-01 Thread Jim
The History/Remote plugin ( http://stilbuero.de/jquery/history/index.html ) works great with jquery 1.2.6 but not 1.3.1. The load part of the plugin works, but the history part is not working. Is there a fix or a more current plugin to accomplish the same function? Jim

[jQuery] Re: How to find a parent

2009-03-01 Thread mkmanning
It's probably worth mentioning that jQuery 1.3 also has a new 'closest' method that would achieve this: $('#cancel').closest('div.popup') On Mar 1, 2:57 am, Rick Faircloth r...@whitestonemedia.com wrote: Glad we could help!  I was close anyway! :o) Rick -Original Message- From:

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread mkmanning
Unless your only option is to resort to JavaScript, this is something you could do with CSS alone, if you put an id or class on the body tag for each page and just rely on the CSS hierarchy to change the style for each list item. It also has the advantage of working immediately, instead of

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread Mauricio (Maujor) Samy Silva
How about use the widely ways to achieve this? 1-) Via CSS Assign an ID to the body element for each page, like: body id=home, body id=about, body id=contact and an ID for each menu item like: div id=menu ul li id=ho a href=default.aspxhome/a/li li id=ab a href=about.aspxabout/a/li

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread expresso
But I'm using a asp.net master page and inheriting it's body. so my pages only will have one global body tag. mkmanning wrote: Unless your only option is to resort to JavaScript, this is something you could do with CSS alone, if you put an id or class on the body tag for each page and

[jQuery] Re: jQuery validation question: validating multiple email inputs

2009-03-01 Thread ml2009
Hello - wonder if you could help me. I tried another way to validate multiple email addresses, but I still couldn't figure it out. on code below, only the first email is validated. Any suggestions? jQuery.validator.addMethod(multiemail, function(value, element, param) { if

[jQuery] Re: help please

2009-03-01 Thread Rick Faircloth
Glad you're making some progress... With the css, I'd start by commenting out sections of his css to see which parts affect the one you're working on. His css is going to be much more complex than necessary for your purposes since his css is for all the examples on the demo page. But comment

[jQuery] Re: I can't figure out how to implement JQuery into my website

2009-03-01 Thread Josh Powell
It's just a javascript file, put it wherever you put your javascript files. On Mar 1, 12:20 pm, Warfang warfang...@gmail.com wrote: What code do I need to put in my HTML header? I have already downloaded the JQuery code from JQuery's homepage to my computer, but where exactly do I put that?

[jQuery] Re: I can't figure out how to implement JQuery into my website

2009-03-01 Thread Rick Faircloth
Here's an example of how the code would look when you link to the jQuery core file and different plug-ins: script type=text/javascript src=jquery-1.2.6.min.js/script (This one is what I'm calling the core file...it's the main jQuery file.) script src=jquery.bgiframe.js

[jQuery] Re: How to find a parent

2009-03-01 Thread Rick Faircloth
Definitely worth mentioning... very handy... -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of mkmanning Sent: Sunday, March 01, 2009 8:23 PM To: jQuery (English) Subject: [jQuery] Re: How to find a parent It's probably worth

[jQuery] Re: How to find a parent

2009-03-01 Thread Rick Faircloth
Do you know how jQ traverses to find the closest match? Does it go down all the way to the bottom of the DOM, then up? Or does it go up one, down one, up two, down two, etc., until it finds a match? -Original Message- From: jquery-en@googlegroups.com

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread mkmanning
You can do still do it with asp: http://stackoverflow.com/questions/188124/programmatic-solution-to-change-navigation-id-to-highlight-current-page-asp-net Or if you really want to use JavasScript, the same solution above applies: var pathname = window.location.pathname; pathname =

[jQuery] Re: How to find a parent

2009-03-01 Thread mkmanning
It checks the current element for a match, and then proceeds up the DOM from there, through each parent, until it finds a match or returns nothing if no match is found. On Mar 1, 6:36 pm, Rick Faircloth r...@whitestonemedia.com wrote: Do you know how jQ traverses to find the closest match?

[jQuery] Urgent Help: UI Tabs + Accordion jQuery Con flict‏

2009-03-01 Thread nathanwf
I need a little help. I am trying to get two jQuery plugins working together. I have tried a lot of noConflict codes but havent got anywhere with it. Here is the link to both of them working independently. I know it is a small fix, but I've tried it all and can not find the solution. Please Help.

[jQuery] Re: Code Simplifying Help

2009-03-01 Thread ramonmaruko
Thank you, it worked perfectly!(aside from the extra ' beside the word Branch) Time to understand the code. :D MorningZ wrote: $('select[id^='Branch]').change(function(){ var idx = this.id.substr(this.id.length - 1); var selected = $(this).val();

[jQuery] How to get elements from region?

2009-03-01 Thread Jackal
Hi, The API document.elementFromPoint will give me a element by certain position. But I need a elements by certain region. For example: !-- if this region is top:0, left:0, right: 50, bottom: 10 -- div style=display:inlineABCDEFGHIJKLMNOPQRSTUVWXYZ/div !-- This region would be top:0, left:40,

[jQuery] Slideshow Using Ajax

2009-03-01 Thread Nic Hubbard
I have been searching for a jQuery slideshow plugin that can load in images using ajax. But I am having a really hard time finding one. Does anyone have any recommendations for one?

[jQuery] Re: History/Remote - problem with jquery 1.3.1

2009-03-01 Thread kingofthelowend
I have the same problem! On Mar 1, 10:25 am, Jim jim4rea...@gmail.com wrote: The History/Remote plugin (http://stilbuero.de/jquery/history/index.html ) works great with jquery 1.2.6 but not 1.3.1. The load part of the plugin works, but the history part is not working. Is there a fix or a

[jQuery] parent load question

2009-03-01 Thread joshm
Can someone explain how to do this, I'm trying to load the parent of an element (which will be a td cell) and then load the td with the html from a remote file kind of like so: var parent = $('#myelement').parent().load('http://test.com/ remote.html'); I have tried several other variations and

[jQuery] load remote file in parent element (which is a td cell)

2009-03-01 Thread joshm
I'm having trouble getting this to work (perhaps it can't be done), basically I want to access an element and I know it's parent is going to be a td node and then I want to populate the td/td (or innerhtml) with the contents of my remote fileanyone have any suggestions?

[jQuery] multiple conditions?

2009-03-01 Thread homien...@gmail.com
I have a div with a textbod inside of it. When both of these lose focus, so the focus is not on either of them, then I want the div to move. How would I write the code that if both of these lose focus, THEN do whatever i want. I just want to know how to have 2 selectors, and when both of them

[jQuery] Re: History/Remote - problem with jquery 1.3.1

2009-03-01 Thread Karl Swedberg
The first thing I would do is check for any instances of the old xpath syntax for attribute selectors: [...@attribute]. For example: a...@href $ ... ] --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Mar 1, 2009, at 9:00 PM, kingofthelowend wrote: I

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread expresso
Problem with the JavaScript is that you loose the css value after you're redirected to whatever page. You'd have to obviously have to either do some if statements to check which .aspx page y ou went to or send the id of the anchor over in a querystring then grab it in JavaScript to set it again

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread expresso
Also when dealing with Subtext, it's not that simple, I'm trying to figure out how do that in Subtext...the example you spoke of but it's difficult, I need to figure out where I can do this since it's a bit complicated in how they are rending their user controls, default.aspx, etc. expresso

[jQuery] Re: Newbie needs Help with jquery logic

2009-03-01 Thread Sean O
This was a fun one to play with. I think this is the effect you're after... Demo: http://jsbin.com/iwile Source: http://jsbin.com/iwile/edit It's pretty concise self-explanatory, but if you have any questions, just reply. SEAN O http://www.sean-o.com http://twitter.com/seanodotcom

[jQuery] Re: Selector Efficiency?

2009-03-01 Thread Josh Rosenthal
Hi Stephen, My apologies for not getting back to you sooner. I've been sick and my projects have gotten away from me. We now return to the email I'd started writing before I lost track of everything. Thank you! Trebly so! First, yes, the data is ordered based on a template in geoserver

[jQuery] Re: multiple conditions?

2009-03-01 Thread Ami
var divFocus=false,textareaFocus=false $('div').focus(function () {divFocus=true}).blur(function() {divFocus=false;doSomething()}; $('textarea').focus(function () {textareafocus=true}).blur(function() {textareaFocus=false;doSomething()} function doSomthing() { if (!divFocus !textAreaFocus)

[jQuery] Re: parent load question

2009-03-01 Thread Ami
Try to put div between td and #myelemnt table trtddivdiv id=myelementnbsp;/div/div/td/tr /table Aminadav On Mar 2, 4:15 am, joshm joshmat...@gmail.com wrote: Can someone explain how to do this, I'm trying to load the parent of an element (which will be a td cell) and then load the td with the

[jQuery] Re: Slideshow Using Ajax

2009-03-01 Thread Ami
There is no way to load images in AJAX. AJAX is only for text (Like JS/ CSS/JSON/XML,...) You can use AJAX to load the image source, and put it in img src=, or div style=background-image:url( On Mar 2, 5:53 am, Nic Hubbard nnhubb...@gmail.com wrote: I have been searching for a jQuery slideshow

[jQuery] Re: How to find a parent

2009-03-01 Thread Rick Faircloth
Only up the DOM, huh? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of mkmanning Sent: Sunday, March 01, 2009 9:45 PM To: jQuery (English) Subject: [jQuery] Re: How to find a parent It checks the current element for a match, and then

[jQuery] Re: Change CSS depending on page you're on

2009-03-01 Thread mkmanning
I'm not sure what you mean by losing the CSS value? If you load a new page, the CSS loads (preferably in an external stylesheet), and the JavaScript executes ondomready (the JavaScript would have to be on every page, or preferably included in an external file also). From your example markup, each

[jQuery] Re: parent load question

2009-03-01 Thread mkmanning
I'll go ahead and ask this here as well: is 'http://test.com/ remote.html' in the same domain? On Mar 1, 8:55 pm, Ami aminad...@gmail.com wrote: Try to put div between td and #myelemnt table trtddivdiv id=myelementnbsp;/div/div/td/tr /table Aminadav On Mar 2, 4:15 am, joshm

[jQuery] Re: load remote file in parent element (which is a td cell)

2009-03-01 Thread mkmanning
Sorry if this repeats but it didn't appear to post. Is 'http:// remotefile.html' in the same domain? On Mar 1, 5:32 pm, joshm joshmat...@gmail.com wrote: I'm having trouble getting this to work (perhaps it can't be done), basically I want to access an element and I know it's parent is going

[jQuery] Re: How to find a parent

2009-03-01 Thread Karl Swedberg
On Mar 2, 2009, at 12:07 AM, Rick Faircloth wrote: Only up the DOM, huh? Yes, that's right. http://docs.jquery.com/Traversing/closest#expr It's a convenience method for those who want to roll their own event delegation rather than use .live() --Karl Karl Swedberg

[jQuery] Re: load remote file in parent element (which is a td cell)

2009-03-01 Thread mkmanning
Is 'http://remotefile.html' the same domain? On Mar 1, 5:32 pm, joshm joshmat...@gmail.com wrote: I'm having trouble getting this to work (perhaps it can't be done), basically I want to access an element and I know it's parent is going to be a td node and then I want to populate the td/td (or

[jQuery] Re: Load External an DIV within the same DIV.. without tabs

2009-03-01 Thread mkmanning
You can use the new live function http://docs.jquery.com/Events/live#typefn or you can just bind a click event on a containing div and use event delegation by getting the target: div id=container //your ajax content here /div $('#container').click(function(e){ e = $(e.target);

[jQuery] Re: parent load question

2009-03-01 Thread Ami
If it's not on the same domain you must use JSONP. On Mar 2, 7:27 am, mkmanning michaell...@gmail.com wrote: I'll go ahead and ask this here as well: is 'http://test.com/ remote.html' in the same domain? On Mar 1, 8:55 pm, Ami aminad...@gmail.com wrote: Try to put div between td and

[jQuery] IE no error tracking, jquery not working

2009-03-01 Thread frodosghost
From what I have seen, I have run into a fun error to get. It seems that something to do with my jquery is breaking IE, but I cannot find out what it is. So far the code works fine in every other browser, except IE. Of course, to make it more confusing, jquery on some previous pages does work,

[jQuery] Re: Slideshow Using Ajax

2009-03-01 Thread mkmanning
@Nic, can you explain what you're trying to acheive? If you know the images' urls, then you can just cycle through them and update an img tag's src attribute for a slideshow. On Mar 1, 8:57 pm, Ami aminad...@gmail.com wrote: There is no way to load images in AJAX. AJAX is only for text (Like

  1   2   >