[jQuery] Fix for Giva Labs linkselect plugin

2009-09-24 Thread boermans
We noticed an issue with the jquery.linkselect plugin (version 1.2.08) today. When the container width would cause it to be positioned off the the screen it is repositioned incorrectly if there is no title element. I fixed this in anchorTo function by instead adding the width of the anchor if th

[jQuery] How to combine event?

2009-09-24 Thread David .Wu
event mousedown and mouseup and mouseout actually do the same thing, how to combine it? $('a#cursor') .css({cursor: 'url(hand.cur), default'}) .click(function() { return false; }) .mousedown(function() { $(this).css({cursor: 'url(grab.cur),

[jQuery] Trying to use fadein and fade out with mouseover and mouseout functions.

2009-09-24 Thread shyhockey...@gmail.com
Hi, I am using the fade in and fade out and mouse over and mouse out. What I am doing is creating a menu that fades in when the mouse if over the users image. The problem I run into is that when the background of the menu fades in with the buttons which are links. I notice that if you move the

[jQuery] [Autocomplete]autocomplete in textarea

2009-09-24 Thread td liao
hi guys i had used jQuery autocomplete in a textarea i want the suggest results show in where i'm typing, not outside the textarea. i checked jQuery autocomplete source code, finding in line 722 is the core code. show: function() { var offset = $(input).offset(); element.css({

[jQuery] Re: TableSorter and colspans

2009-09-24 Thread DisgruntledGoat
Hi Christian, I've just found a bug which sounds like it's related to this issue. You may already be aware of this but I'll post it anyway. I have a table with two rows in the header. The first row has one cell spanning all the columns, and the second row has a cell for each column. With all th

[jQuery] Re: append and selector problem;

2009-09-24 Thread James
That's because when you bind events on elements, and you remove those elements, and introduce new elements, they will not be binded automatically. There are two options: 1) Re-bind the events (which is what made it work for you on your second code) 2) Use event delegation (Google for more info) j

[jQuery] Re: jQuery crashing the page

2009-09-24 Thread James
Are these events being set by jQuery? How are you setting the events? Without code or a demo page it's pretty hard to help here. On Sep 24, 1:37 am, Sam Doyle wrote: > I've got 2 pages: > > a current events page and a past events page > > the current events page loads fine as there is only about

[jQuery] Re: Refresh only a section of the page

2009-09-24 Thread James
Have the radio on your top page, and your content pages loaded into a DIV via AJAX, or use IFRAMES to display your content. Is that what you're looking for? On Sep 24, 2:09 am, Macovei Catalin wrote: > Hello, > i am trying to use ajax for my site and i have a problem. > I have a live radio runni

[jQuery] Re: new to this

2009-09-24 Thread James
This Google Group is for jQuery related questions. You should consider asking this somewhere to help with Javascript in general. On Sep 24, 10:44 am, mike c wrote: > I am new to this and trying to put some code together for a project > for my boss. The long and short of it is that the timer for

[jQuery] Re: creating parameters dynamically

2009-09-24 Thread Richard D. Worth
You may want to do a new post with the word Tablesorter in the subject, especially if no on chimes in after a day or two. - Richard On Thu, Sep 24, 2009 at 8:52 PM, Richard D. Worth wrote: > I'm not sure how to make this work with Tablesorter. I should've specified, > I was just answering the qu

[jQuery] Re: creating parameters dynamically

2009-09-24 Thread Richard D. Worth
I'm not sure how to make this work with Tablesorter. I should've specified, I was just answering the question of how you create a hash from an array in JavaScript using jQuery's .each() and hash[key] = value syntax. - Richard On Thu, Sep 24, 2009 at 8:38 PM, Macsig wrote: > > Hi Richard. > thank

[jQuery] Re: creating parameters dynamically

2009-09-24 Thread Macsig
Hi Richard, actually I have just discovered there is a built-in way to make a column non sortable. Thanks for your help. Sig On Sep 24, 5:15 pm, "Richard D. Worth" wrote: > function createHeaders(ary) { >   var headers = {}; >   $(ary).each(function() { >     headers[this] = { sorter: false

[jQuery] Re: creating parameters dynamically

2009-09-24 Thread Macsig
Hi Richard. thanks for your reply unfortunately looks like I have some trouble to make the code works. If I call the second options everything works fine but with yours the headers are still sortable. $('.scrolling_table').tablesorter({ headers: h1 }); $('.scrolling_table').table

[jQuery] Re: Prev and next navigation

2009-09-24 Thread Charlie
here's a URL utility plugin that would likely be big help. Would be relatively easy to tie this into the Cycle API for your gallery http://benalman.com/projects/jquery-url-utils-plugin/ look at the fragment examples 2/3 of way down "What this plugin allows you to do" Anush Shetty wrote:

[jQuery] jquery crashes on ie6

2009-09-24 Thread Burak Gürbüz
hello, i am a designer of a news portal www.haber7.com we recently renewed the design of the portal and published it. but there are too many complaints about crashing downs on ie6 and ie7, but mostly ie6. and of course page is usually scrolling slowly as there are many ads and javascripts running

[jQuery] new to this

2009-09-24 Thread mike c
I am new to this and trying to put some code together for a project for my boss. The long and short of it is that the timer for the mouse over needs to be longer so that the pop up text lasts for 60 seconds. I am not a coder and probably made a basic mistake. I have searched Google but keep failin

[jQuery] Bassistance Validation Plugin - bit of a newbie..

2009-09-24 Thread emmabu...@live.co.uk
hi people ive just started playing around with jquery. ive used jqtransform to make my form pretty looking, and have attempted to implement bassistance.de's validation plugin - everything kind of works, apart from the fact that the validation message does not appear visibly - if you really look,

[jQuery] disable eager validation (validate)

2009-09-24 Thread ben_freefly
I'm using a custom validation method that is doing an server-side check of the data entered into a form to determine uniqueness before the form is submitted. The eager validation, while useful for client- side validation, introduces a certain amount of lag into my form which I'd like to avoid. I

[jQuery] Superfish plug-in mouse out animation

2009-09-24 Thread taz
Hello, I was wondering if there is a way to animate the menu UL list up on mouse out. I have it so the height shows when the mouse goes over the first li link, but I would like it to return up in the same manner. Any suggestions? Thank you

[jQuery] Re: creating parameters dynamically

2009-09-24 Thread Richard D. Worth
function createHeaders(ary) { var headers = {}; $(ary).each(function() { headers[this] = { sorter: false }; }); return headers; } var a1 = [0,1,2], a2 = [0,4,5,8]; var h1 = createHeaders(a1), h2 = createHeaders(a2); $(this).tablesorter({ headers: h1 }); $(this).tablesorter({ headers:

[jQuery] Re: ultimate submenu(please help me)

2009-09-24 Thread Charlie
I tried a demo of 8 sub levels with superfish just to see what happened, only limitiation was page space ( which can also be overcome with some onBeforeShow functions) Shawn wrote: Superfish doesn't do the trick? http://users.tpg.com.au/j_birch/plugins/superfish/#examples They show the

[jQuery] Re: tab load and dequeue

2009-09-24 Thread Richard D. Worth
I couldn't *quite* tell from your message, but if you're using the jQuery UI Tabs plugin (http://jqueryui.com/demos/tabs/), please post your question to the jQuery UI list: http://groups.google.com/group/jquery-ui Otherwise, please specify which tab plugin you're using, for the right help here. Th

[jQuery] Re: Is there an onChange method?

2009-09-24 Thread Loony2nz
Anyone? Here's what I'm trying to do. Right now, I have a form in a lightbox. Whenever the form is submitted with errors, the lightbox will expand to show the form with the errors. Using the onSubmitHandler, I get the size of the new form and expand the lightbox. When a form entry is then ful

[jQuery] Re: Validate Text Field onblur (Bassistance Validation Plugin)

2009-09-24 Thread Loony2nz
do you have an example of this somehwere? I think I could use this for upcoming forms I have in my pipeline. Thanks! On Sep 1, 10:33 am, Dave Buchholz - I-CRE8 wrote: > Got it, this code onfocusout: function(element) { this.element > (element); }, gives me what I am looking for > > Dave Buchho

[jQuery] Re: ultimate submenu(please help me)

2009-09-24 Thread Shawn
Superfish doesn't do the trick? http://users.tpg.com.au/j_birch/plugins/superfish/#examples They show the JS code to make that work. View Source on the page and you find the menus are just lists (ul's). So if you need more complex, just build the nested lists as needed. If you need Ajaxif

[jQuery] Prev and next navigation

2009-09-24 Thread Anush Shetty
I am trying to a setup a jquery based navigation for my photo gallery i.e something like facebook using hash url technique. I am using php and mysql in the backend. Is there any example I could look at for implementing it. The reason for using hash urls is that I would like to have an unique url f

[jQuery] ultimate submenu(please help me)

2009-09-24 Thread hamed7
hi i want create ultimate submenu and support multilevel for example like this: -- 1: 1-1 2: 2-1 2-2-1 2-3-1-1 2-3-2-1 2-4-1-1-1 2-5-1-1 3: 3-1-1-1 4 --- i need some idea or some sourcecode(ajax sourcecode is "better" than none ajax) *please help me this is important for me very

[jQuery] Re: Jquery and Pop up blockers

2009-09-24 Thread SEMMatt2
What do they call those windows that open up without any browser controls? Thanks On Sep 24, 8:33 am, Mike McNally wrote: > If you're not popping up new browser windows then you shouldn't have > to worry about popup blockers, and it has nothing to do with what > Javascript library you're using.

[jQuery] creating parameters dynamically

2009-09-24 Thread macsig
I know this is not strictly related to jquery but I don't know how to make it works. I'm working on a function that has as variable an array and for each element I need to create a piece of code for an other function. For instance when the array contains [0,1,2] I need to call $(this).tablesort

[jQuery] Re: Unlock Documentation

2009-09-24 Thread Scott Haneda
Sure. I am totally new to jQ, so probably a food candidate to answer some of these. http://docs.jquery.com/Plugins/Validation/validate That through me for a loop, is this an internal feature built into jQ, or something I need to reference as a plugin? I can not find an official answer t

[jQuery] Re: Auto close dialog after 5 seconds ?

2009-09-24 Thread Charlie
within the event that opens the dialog you could include a timeout for close : setTimeout($('dialog').dialog("close"),5000); spstieng wrote: Hi. I'm using jQuery.dialog and I'm wondering if it's possible to auto close it after e.g. 5 seconds.

[jQuery] tab load and dequeue

2009-09-24 Thread richajax
Hi guys, I am relatively new to jquery and using jquery tab to one of the page. The tab contains 3 tab, and each tab contains pretty heavy dom instead. When I toggle the tab, I noticed about a 2 second delay, and wondered why there is such a delay. so.. run the profiler in the IE developer tool,

[jQuery] Auto close dialog after 5 seconds ?

2009-09-24 Thread spstieng
Hi. I'm using jQuery.dialog and I'm wondering if it's possible to auto close it after e.g. 5 seconds.

[jQuery] Re: Add content

2009-09-24 Thread Charlie Griefer
On Thu, Sep 24, 2009 at 2:03 PM, a1anm wrote: > > Hi, > > I have an unordered list and I would like to use Jquery to add some > 's to it. > > How do I do this? > > Thanks! http://docs.jquery.com/Manipulation/append -- Charlie Griefer http://charlie.griefer.com/ I have failed as much as I hav

[jQuery] Add content

2009-09-24 Thread a1anm
Hi, I have an unordered list and I would like to use Jquery to add some 's to it. How do I do this? Thanks!

[jQuery] Re: IE: Cursor still displays hourglass symbol after unblocking

2009-09-24 Thread Mike Alsup
> Yes, same problem I posted yesterday... funny we both hit it this > week.   hopefully someone can help??  I know the author of blockUI > says he monitors this forum... Will take a look at this tonight. Thanks for the reminder. Mike

[jQuery] Re: Using addClass to Highlight Errors

2009-09-24 Thread s.ross
On Sep 24, 12:26 pm, Bertilo Wennergren wrote: > s.ross wrote: > > I have what I'm certain amounts to a CSS misunderstanding on my part. > > Here's the reduced problem: > > > CSS > > > input[type='text'], textarea { > >   background-color: #2c2c2c; > >   color: white; } > > > .warning { > >   ba

[jQuery] Re: Using addClass to Highlight Errors

2009-09-24 Thread Bertilo Wennergren
s.ross wrote: I have what I'm certain amounts to a CSS misunderstanding on my part. Here's the reduced problem: CSS input[type='text'], textarea { background-color: #2c2c2c; color: white; } .warning { background-color: "#851728"; } .error { background-color: "#8D580F"; } HTML

[jQuery] Re: Deactivating parent link with JQuery

2009-09-24 Thread osu
Ok, I have another question that's related to the first. I need to highlight *only* the top-parent item (the same one I just ran 'return false;' on) with the class 'nav-selected'. This is the code that's being generated by the CMS I'm working with when I click on Link 3a: Link 1 Link 2

[jQuery] Re: Multiple Links, Find which one was clicked?

2009-09-24 Thread Steven
Awesome, I've never heard of or used live() before. Seems handy! Thanks! On Sep 24, 1:07 pm, Charlie Griefer wrote: > Ah, yeah.  I should have checked to see if you were on 1.3. > > Assuming you can move up to 1.3, you can use the live() method (now > built-in). > > I think you'd be able to get

[jQuery] Using addClass to Highlight Errors

2009-09-24 Thread s.ross
I have what I'm certain amounts to a CSS misunderstanding on my part. Here's the reduced problem: CSS input[type='text'], textarea { background-color: #2c2c2c; color: white; } .warning { background-color: "#851728"; } .error { background-color: "#8D580F"; } HTML jQuery

[jQuery] Re: Multiple Links, Find which one was clicked?

2009-09-24 Thread Charlie Griefer
Ah, yeah. I should have checked to see if you were on 1.3. Assuming you can move up to 1.3, you can use the live() method (now built-in). I think you'd be able to get by changing your first line to: $('#pending').live('click', function({ > > On Thu, Sep 24, 2009 at 12:05 PM, Steven wrote: >

[jQuery] Re: Multiple Links, Find which one was clicked?

2009-09-24 Thread Steven
I was running on 1.2 for some reason. :( Anyway, it works perfectly on static pages, but when I load the table in via Ajax none of the links are bound. I'm doing: // Click events to load requests $('#pending').click(function(){ $('#list').hide(600).load('list.php',{

[jQuery] Re: $(':target') and $(location.hash)

2009-09-24 Thread John Resig
jQuery does not support :target. The only reason why it works in Firefox 3.5 is that it provides a native querySelectorAll method. We would have to have an implementation that works in other browser (FF 3.0, IE 8, etc.) and we don't have that right now. You're welcome to file a ticket asking for :t

[jQuery] Re: Multiple Links, Find which one was clicked?

2009-09-24 Thread Charlie Griefer
Steven: It seems to be working here (quick sample thrown together): http://charlie.griefer.com/getRowID.html ? On Thu, Sep 24, 2009 at 11:55 AM, Steven wrote: > > I cannot seem to get that to work, although it does make sense. I'm > using Ajax to load the tables in; I don't know if that is th

[jQuery] Re: Multiple Links, Find which one was clicked?

2009-09-24 Thread Steven
I cannot seem to get that to work, although it does make sense. I'm using Ajax to load the tables in; I don't know if that is the cause. I did try it on a static page and it still did nothing though. On Sep 24, 12:36 pm, Charlie Griefer wrote: > $('a.accept').click(function() { >     alert($(thi

[jQuery] $(':target') and $(location.hash)

2009-09-24 Thread Jack Bates
$(':target') works in Firefox 3.5, but not Firefox 3.0 and some other browsers, http://www.sfu.ca/~jdbates/tmp/qubit/200909231/#aaa ^ in Firefox 3.5, $(':target') selects just the element with id="aaa", so this element appears blue while the other appears red In Firefox 3.0 and some other brows

[jQuery] Re: Multiple Links, Find which one was clicked?

2009-09-24 Thread Charlie Griefer
$('a.accept').click(function() { alert($(this).closest('tr').attr('id')); }); On Thu, Sep 24, 2009 at 11:22 AM, Steven wrote: > > I have a table that looks something like this: > > > Name > E-Mail > Accept - class="deny">Deny > > > With multiple rows. Each row has a unique ID

[jQuery] Re: XHTML or HTML when creating elements?

2009-09-24 Thread Richard D. Worth
On Thu, Sep 24, 2009 at 1:36 PM, Bertilo Wennergren wrote: > > The question about "" arose when I was demonstrating > how the same inline JS example is supposed to look like in HTML > and in XHTML. When I was changing one version from it's XHTML > incarnation into an HTML incarnation, removing all

[jQuery] Multiple Links, Find which one was clicked?

2009-09-24 Thread Steven
I have a table that looks something like this: Name E-Mail Accept - Deny With multiple rows. Each row has a unique ID (numerical). I need to be able to click on an a.accept, find WHICH one was clicked (which row it is in), and get the ID of that row. I've been looking around and

[jQuery] Re: IE: Cursor still displays hourglass symbol after unblocking

2009-09-24 Thread elubin
Yes, same problem I posted yesterday... funny we both hit it this week. hopefully someone can help?? I know the author of blockUI says he monitors this forum... http://groups.google.com/group/jquery-en/browse_thread/thread/9ea1cad2f7bc2535/9edbec1ce17d17f4?hl=en&lnk=gst&q=hourglass#9edbec1ce17

[jQuery] Re: Deactivating parent link with JQuery

2009-09-24 Thread osu
That's perfect, thanks for that - the second example works a treat. osu On Sep 24, 7:10 pm, Andi23 wrote: > In that case, you can just remove the href attribute of the link(s): > $("li ul").siblings("a").removeAttr("href"); > > or, if you want to leave in the href attribute for future use?, yo

[jQuery] Trouble with backgroundPosition Plugin

2009-09-24 Thread rob
Having some trouble with this plugin. I've tried in both IE8 and FF3, but it doesn't seem to work. Basically the background position isn't moving... the function toArray(strg) is suppose to return the following return [parseFloat(res[1],10),res[2],parseFloat(res[3],10),res[4]]; this is th

[jQuery] Re: Execute jQuery from links

2009-09-24 Thread Andi23
That should work in theory, but your structure is wrong. If you do something like this: Will this work? you will see that it works when you click it. The javascript: protocol is not necessary, but it won't break anything if you leave it in.

[jQuery] Re: XHTML or HTML when creating elements?

2009-09-24 Thread Bertilo Wennergren
Richard D. Worth wrote: On Thu, Sep 24, 2009 at 12:53 PM, Bertilo Wennergren wrote: Richard D. Worth wrote: Best practice, valid HTML, and compatible with XHTML would be $('#whatever').html(''); $('#whatever').html(''); $('#whatever').html(''); Well, not quite "valid" HTML... quite va

[jQuery] Re: XHTML or HTML when creating elements?

2009-09-24 Thread Richard D. Worth
On Thu, Sep 24, 2009 at 12:53 PM, Bertilo Wennergren wrote: > > Richard D. Worth wrote: > > Best practice, valid HTML, and compatible with XHTML would be >> $('#whatever').html(''); >> $('#whatever').html(''); >> $('#whatever').html(''); >> > > Well, not quite "valid" HTML... > quite valid. See

[jQuery] Re: Changing a class name without clicking

2009-09-24 Thread Andi23
Hi there, You say you want to do this by calling a function, not by clicking. But let me ask you something: How are you going to call the function? In other words, when do you want this class change to happen? Do you want it to happen as soon as the page loads? Do you want it to happen 10 second

[jQuery] Re: Deactivating parent link with JQuery

2009-09-24 Thread Andi23
In that case, you can just remove the href attribute of the link(s): $("li ul").siblings("a").removeAttr("href"); or, if you want to leave in the href attribute for future use?, you can do this: $("li ul").siblings("a").click(function(){ return false; }); good luck-

[jQuery] Re: Changing a class name without clicking

2009-09-24 Thread Lleoun
Thanks for answering Jon. I'm a newbie I'm afraid .. so you mean something like this: $('.unselected').ready(function(){ $('.selected').attr('class','unselected'); $(this).attr('class','selected'); }); Thanks again

[jQuery] Re: Way to "convert" DOM event to jQuery event?

2009-09-24 Thread Brett Ritter
On Thu, Sep 24, 2009 at 12:10 PM, Kevin Dalman wrote: > > If you need data for multiple fields, then a 3rd option is to create a > single hash/data object for the page and writing all your data into > that. This makes your data easy to read and debug, and is highly > efficient because you don't h

[jQuery] Re: XHTML or HTML when creating elements?

2009-09-24 Thread Bertilo Wennergren
Richard D. Worth wrote: Best practice, valid HTML, and compatible with XHTML would be $('#whatever').html(''); $('#whatever').html(''); $('#whatever').html(''); Well, not quite "valid" HTML... If you use "" in an HTML 4.01 page, the validator at "w3.org" gives a warning with the following ex

[jQuery] Re: How can i add Buttons?

2009-09-24 Thread Jon Banner
jCarousel ?? did you try this? http://sorgalla.com/projects/jcarousel/examples/static_controls.html 2009/9/21 Pesimist > > hello everyone. > i have a problem. i wanna add left and right buttons but i couldn't i > have tried long time so really i need. > > i am looking for like this for example:

[jQuery] Re: XHTML or HTML when creating elements?

2009-09-24 Thread Richard D. Worth
Best practice, valid HTML, and compatible with XHTML would be $('#whatever').html(''); $('#whatever').html(''); $('#whatever').html(''); - Richard On Thu, Sep 24, 2009 at 12:33 PM, Bertilo Wennergren wrote: > > Richard D. Worth wrote: > > I won't speak to the jQuery documentation, nor jQuery's

[jQuery] Re: Changing a class name without clicking

2009-09-24 Thread Jon Banner
you'll need an event to attach your function call to, whether that's document ready or click or... you might also find toggleClass to be useful here Jon 2009/9/24 Lleoun > > Hi all, > > I have the following: > > content > > I want to change unselected into s

[jQuery] Re: XHTML or HTML when creating elements?

2009-09-24 Thread Bertilo Wennergren
Richard D. Worth wrote: I won't speak to the jQuery documentation, nor jQuery's internal implementation for $(html), only your questions about HTML and XHTML, based on my own knowledge and best practices: [...] Thanks! So if I understand your points, the following examples can be called "be

[jQuery] Changing a class name without clicking

2009-09-24 Thread Lleoun
Hi all, I have the following: content I want to change unselected into selected when calling a function. The ways I'm finding to do a class name change is using a clicking: $('.unselected').click(function(){ $('.selected').attr('class','unselected'); $(this).attr('class','selected'); });

[jQuery] Re: Deactivating parent link with JQuery

2009-09-24 Thread osu
Thanks Andi, Yes, I meant an unordered list as you showed. Rather than remove the tag, is it possible to just 'deactivate' it? i.e. when you click it, nothing happens, but the tag stays in place? I ask, because I'd like to keep the CSS as simple as possible. Thanks, osu On Sep 24, 6:05 pm

[jQuery] Re: Disabling parent link if children present

2009-09-24 Thread Giovanni Battista Lenoci
osu ha scritto: - Link 1 - Link 2 - Link 3 - Link 4 - Link 4a - Link 4b - Link 4c - Link 5 I suppose you have a similar markup: http://www.jquery.com";>Jquery Search Engines http://www.google.com";>Google http://www.bing.com";>Bing This is untested, but should work: $('#mymenu

[jQuery] Re: XHTML or HTML when creating elements?

2009-09-24 Thread Richard D. Worth
I won't speak to the jQuery documentation, nor jQuery's internal implementation for $(html), only your questions about HTML and XHTML, based on my own knowledge and best practices: *Non-void elements (sometimes called non-empty elements, meaning they can contain text and child nodes)* For an empty

[jQuery] (autocomplete)

2009-09-24 Thread Ordos
I am using the jQuery plugin autocomplete on an country input field: I got this php array with countries in dutch: $global_countries = array(); $global_countries['AF'] = 'Afghanistan'; $global_countries['AX'] = 'Ålandseilanden'; $global_countries['AL'] = 'Albanië'; ... Then php implodes the arra

[jQuery] (treeview)

2009-09-24 Thread Michiel
I'm very new a jQuery, and still just learning. I've succesfully implented the treeview plugin on my html list. Only, I don't want it to collapse when I click on a expanded folder. I do want it to collapse when I click on a other folder that's not a child. So that you only have one branch visible

[jQuery] append and selector problem;

2009-09-24 Thread dattu
Hi, I am facing one problem In jquery. For easy understanding, below html code created. Before clicking on CHANGE label if click on 12345, I am getting hiii alert message. After clicking on CHANGE I am not getting alert message.(I am experting hii should come on click of 67890 also). co

[jQuery] jQuery plugin help

2009-09-24 Thread Nalum
Hello All, I'm trying to create a plugin that I want to be able to call like $.pluginname(...) where currently I have to call the plugin like this $ (...).pluginname. Any help would be greatly appreciated. Nalum

[jQuery] Load quicktime as needed

2009-09-24 Thread RealMason
I'm a total jquery newbie and I'm just trying to find out if something is possible. If I have a full album worth of songs that I want to list on a web page, can I use jquery to only embed the quicktime file after the user clicks on a play button for that track. Similar to Amazon's or iTunes play

[jQuery] Re: Way to "convert" DOM event to jQuery event?

2009-09-24 Thread Kevin Dalman
If you need data for multiple fields, then a 3rd option is to create a single hash/data object for the page and writing all your data into that. This makes your data easy to read and debug, and is highly efficient because you don't have to 'parse' anything... var Record = { foo: "db-value-1"

[jQuery] Re: Deactivating parent link with JQuery

2009-09-24 Thread Andi23
First of all, let's clarify the actual HTML. I assume this is what you have: Link 1 Link 2 Link 3 Link 3a Link 3b Link 3c Link 4 When you say "remove the link", I assume you want to turn this: Link 3 into this: Link 3

[jQuery] Deactivating parent link with JQuery

2009-09-24 Thread osu
I wrote this message earlier, but it got unpublished for some reason...? Is there a way of 'knocking out' i.e. removing the link from a parent item in a list of links IF it has children links? For example, 'deactivate' Link 3 only: - Link 1 - Link 2 - Link 3 - Link 3a - Link 3b - Link 3c - L

[jQuery] XHTML or HTML when creating elements?

2009-09-24 Thread Bertilo Wennergren
According to the jQuery documentation we're supposed to write like this: $("") and not like this: $("") http://docs.jquery.com/Core/jQuery#htmlownerDocument That means using XHTML style code for the elements created. Are we supposed to do that even when we are using HTML style code (e.g

[jQuery] Re: jQuery in loaded content doesn't work

2009-09-24 Thread Dave Maharaj :: WidePixels.com
I ran into the same thing. I have the apple style slider that is on a page that gets loaded into a div as content. And it no longer works. I would be interested in following this post to see if any headway is made in this particular topic. Dave -Original Message- From: mstone42 [mailto:

[jQuery] Re: jQuery in loaded content doesn't work

2009-09-24 Thread mstone42
Thanks, Chris! I'll give livequery a try.

[jQuery] Re: .click() fires my callback more than once

2009-09-24 Thread Liam Potter
probably because you have click handlers inside the confirmAction function, which is run on click itself. Fabdrol wrote: Hi guys, I'm facing this little problem, I've got a button toolbar, and users can select rows in a table. When they have selected some row's, they can click one of the butt

[jQuery] complicated form with 'child objects'

2009-09-24 Thread csetzkorn
Hi, I try to implement a form for an item that can have several ‘child objects’ - addresses (let us say with 3 strings: postcode, country, city to keep things simple). The addresses will be send as a stringified JSON array together with the remaining form elements to the server (using the forms p

[jQuery] Re: Jquery and Pop up blockers

2009-09-24 Thread Mike McNally
If you're not popping up new browser windows then you shouldn't have to worry about popup blockers, and it has nothing to do with what Javascript library you're using. On Wed, Sep 23, 2009 at 8:40 PM, SEMMatt2 wrote: > > Does Jquery perform better or worse than other Java library with > regard t

[jQuery] Re: fadeOut callback problem - is this a bug?

2009-09-24 Thread Mike McNally
Are you forgetting that fadeOut takes *two* parameters? The first should be the speed of the effect, and the second is your callback function. On Thu, Sep 24, 2009 at 12:47 AM, cerberos wrote: > > The contents of a fadeOut callback are supposed to be executed after > the fadeOut has completed

[jQuery] Refresh only a section of the page

2009-09-24 Thread Macovei Catalin
Hello, i am trying to use ajax for my site and i have a problem. I have a live radio running on my home page and the rest, and i want to navigate through the website without having to make the buffering again. I've searched multiple forums but no solutions. Can you help me?

[jQuery] Find top-level elements

2009-09-24 Thread Grimace of Despair
Working on WinXP in FireFox 3.0.14 with JQuery 1.3.2, I'm trying the following code: $.ajax({ url: "http://foo.bar/document"; data: 'r=' + Math.random(), success: function(value) { var body = $(value).find('body'); // Always empty var form = $(value).find('form'); // Always empty

[jQuery] Re: Each function gives errors in IE6

2009-09-24 Thread Nick Fitzsimons
2009/9/24 Shane Riley : > > Weird double post. Found the issue. For some reason declaring the > variable worked. So I changed it to: > var  top = (parseInt($(this).height()) / 2) - 6; > That's because "top" is already defined as a synonym for the top-level window object, and IE gets upset if you

[jQuery] validate date regexp

2009-09-24 Thread adexcube
Hi, I'm using the jQuery validation plugin + masked Input 1.2.2 and both works very well. I'd like to add a validation function for dates with the format dd/mm/ I took the regexp from http://bassistance.de/jquery-plugins/jquery-plugin-validation/ specifically from Marco Antonio's post but if

[jQuery] Re: Parse encoded HTML in XML node

2009-09-24 Thread Fabdrol
Hi Jeff, Could you post your JS code and your XML? I'd like to play around with it for you, but things aren't really clear right now ;-) Fabian On 23 sep, 21:36, Jeff wrote: > Hi, > > I'm using $.ajax with a dataType of xml.  The XML document I'm getting > has a node that contains a bunch of

[jQuery] jQuery crashing the page

2009-09-24 Thread Sam Doyle
I've got 2 pages: a current events page and a past events page the current events page loads fine as there is only about 10 events the past events page takes about 30 seconds to load and will crash if u click your mouse in the loading time The pages are near identical the only difference is the

[jQuery] Re: Each function gives errors in IE6

2009-09-24 Thread Shane Riley
Weird double post. Found the issue. For some reason declaring the variable worked. So I changed it to: var top = (parseInt($(this).height()) / 2) - 6; On Sep 24, 7:31 am, Shane Riley wrote: > I've got a simple each function that finds every subnav and assigns it > a vertical position equal to h

[jQuery] Each function gives errors in IE6

2009-09-24 Thread Shane Riley
I've got a simple each function that finds every subnav and assigns it a vertical position equal to half of the subnav's height. This works great in all modern browsers, but in IE6 I get errors from each of the two lines within the function. Here's the problem function: $(".subnav").each(function

[jQuery] Each function gives errors in IE6

2009-09-24 Thread Shane Riley
I've got a simple each function that finds every subnav and assigns it a vertical position equal to half of the subnav's height. This works great in all modern browsers, but in IE6 I get errors from each of the two lines within the function. Here's the problem function: $(".subnav").each(function

[jQuery] [blockUI] IE: Cursor still displays hourglass symbol after unblocking

2009-09-24 Thread Franz Buchinger
I encountered a possible blockUI bug in IE7 and IE8: If you block the ui and don't move your mouse after that, the cursor displays the hourglass symbol UNTIL you move your mouse again. Thus, the .unblock() method doesn't have the desired effect on the mouse cursor. You can easily reproduce the

[jQuery] .click() fires my callback more than once

2009-09-24 Thread Fabdrol
Hi guys, I'm facing this little problem, I've got a button toolbar, and users can select rows in a table. When they have selected some row's, they can click one of the buttons, and it invokes a callback. Problem is, when I click the first time, there's nothing wrong. But when I click the second

[jQuery] Re: Want the submitted data from page loaded in iframe in parent page.

2009-09-24 Thread Xi Shen
so where is your js reside? in the iframe or out side? i think the best way is put your js in the iframe, so your parent frame does not need to operate your iframe at all. On Thu, Sep 24, 2009 at 12:44 PM, Nils wrote: > > Hi all, >         I am relatively starter in php, javascript & jquery. I

[jQuery] Jquery and Pop up blockers

2009-09-24 Thread SEMMatt2
Does Jquery perform better or worse than other Java library with regard to not triggering pop up blockers? Thank you.

[jQuery] Re: Tablesorter is not sorting numbers correct

2009-09-24 Thread Fons
Ok thanks for that advise, the link is broken on that website, but found an updated version on http://plugins.jquery.com/project/metadata Works like a charm now! thanks a lot /Fons On Sep 22, 10:23 pm, jlcox wrote: > You'll need to include the metadata plugin if you want to do like > that. Se

[jQuery] Want the submitted data from page loaded in iframe in parent page.

2009-09-24 Thread Nils
Hi all, I am relatively starter in php, javascript & jquery. I have a web page that loads a signup page from other site. What i want to do is get the signup information entered by user in the page inside iframe on my current page so that i can store the data in my db. The signup form that

[jQuery] document.body is null or not an object

2009-09-24 Thread mshaver
There is a ticket with JQuery,Ticket #5032, which describes a problem where JQuery fails during start-up with the message "document.body is null or not an object". So far the bug is only reproducable in IE6. It seems that a fix is not imminent for this issue, so I may need to patch JQuery. I am c

  1   2   >