[jQuery] tablesorter help?

2009-08-06 Thread jsrobinson
I have two custom parsers, one works on one column but not on another. The second parser is working fine. Example: http://jquery.magiclamp.net/tablesorter.html Cols 2 and 3 have the exact same data, use the same parser, and yet sorting on col 2 works but sorting on col 3 returns Sorting on 3,N

[jQuery] Re: Fade in / Out

2009-08-06 Thread CQuick
You might be able to do something similar to the following: function fadeIn() { $(".myText").fadeIn("slow", function () { window.setTimeout("fadeOut();",5000); } } function fadeOut() { $(".myText").fadeOut("slow"); } On Aug 6, 6:01 pm, "Dave Maharaj :: WidePixels.com" wrote

[jQuery] Resizing a Thickbox

2009-08-06 Thread steves
Hello, I've done a bit of googling and some experimentation but I'm a bit lost. I'm trying to dynamically resize a modal lightbox created with thickbox. So for instance, I draw the div with certain content, say a form with a select box. I'd like to be able to add additional content to the d

[jQuery] Re: Make event happen after a certain amount of time has passed.

2009-08-06 Thread Simon Vansintjan
Alright, that's pretty much exactly what I had in mind, thanks a bunch. On Thu, Aug 6, 2009 at 6:19 PM, James wrote: > > Then you can do something like this: > > Have a setTimeout (say, executes in 20 seconds) with a callback > function, say "moveToLocation". > > Then you need a way to find out

[jQuery] Fade in / Out

2009-08-06 Thread Dave Maharaj :: WidePixels.com
I was wondering how do you make text fade in for a specific amount of time then fade out. I have the fade in / out part..i just cant figure out the duration so it stays there after fading in for 5 seconds then fades out. Dave

[jQuery] Re: a selector does not in safari

2009-08-06 Thread James
That selector works fine in Safari and Chrome (WinXP) for me. Could you post your HTML and any relevant code on what you're doing? On Aug 6, 7:43 am, hobbyman wrote: > I am programming in ASP.NET and using a "hidden" server control which > basically creates a hidden input in the browser. > > The

[jQuery] Re: Make event happen after a certain amount of time has passed.

2009-08-06 Thread James
Then you can do something like this: Have a setTimeout (say, executes in 20 seconds) with a callback function, say "moveToLocation". Then you need a way to find out whether the div has been scrolled to the certain location or not. That can be done by checking either for the user's top/left coord

[jQuery] Re: Make event happen after a certain amount of time has passed.

2009-08-06 Thread Simon Vansintjan
Well, it's pretty theoretical at the moment, so there's no code down, but the idea would be that a div appears, and that the user can click on a button that would scroll the div to a certain location. However, if the user doesn't click, I would still want the div to move to that location (in case h

[jQuery] Re: Make event happen after a certain amount of time has passed.

2009-08-06 Thread James
Use the setTimeout/setInterval functions with some kind of global counter. If some kind of action/event occurs, the counter would be refreshed and the function would not execute. Would you like to specify in more detail what you would like to achieve? On Aug 6, 11:43 am, Simon wrote: > Hey, > >

[jQuery] Re: Click event to load a new page

2009-08-06 Thread Simon
This is something that was bothering me too, and I came to the same conclusion. How is this for SEO though? Redirecting with Javascript that is? Does it recognize the link? Cheers, Simon On Aug 6, 3:52 pm, "paul.mac" wrote: > Thanks guys - came to the same conclusion shortly after posting the >

[jQuery] Make event happen after a certain amount of time has passed.

2009-08-06 Thread Simon
Hey, After a user hasn't triggered an event for a given amount of purple, would it be possible to trigger that event anyway? I have no idea how to even start looking for this. Thanks for any hints/ideas/whatever you can throw my way. Simon

[jQuery] Re: Loading jQuery without blocking

2009-08-06 Thread Eric Garside
Honestly, I'd load jQuery regularly, and use the getScript function to load the rest of the files after domready. I don't know that you're getting a big performance increase in loading the jquery library in this method, and it is causing an unknown error, which isn't an ideal thing to debug. :P U

[jQuery] Re: Remove an element but not it's content

2009-08-06 Thread Eric Garside
If you want a cleaner look, you can always just throw together a quick plugin to handle things: $.unwrap = function(){ return this.each(function(){ var el = $(this); el.before( el.html() ).remove(); }) } Then, simply call: $('a.tester').unwrap(); And it will unwrap all

[jQuery] Re: [autocomplete] Dynamic textboxs

2009-08-06 Thread Jake McGraw
Every time you insert a new text field to the DOM, you have to call autocomplete(). On Wed, Jul 22, 2009 at 10:03 AM, escriba wrote: > > I can't put autocomplete working with dynamic textboxs. I have a > javascript function to add dynamic textboxs, but when i attach the > autocomplete function to

[jQuery] Superfish not embedding

2009-08-06 Thread Jay Sarn
This site: [url]http://www.prodigytech.com[/url] I'm having problems with embedding the Superfish vertical menu. anything found underneath it actually extends to under the superfish menu. couldn't find where in the css it might help. thanks!

[jQuery] Access to variables hidden by scope in a jQuery Javascript function

2009-08-06 Thread Nate
I'm trying to edit an existing jQuery plugin. As a brief explanation, this plugin turns a regular Table into a TreeTable - a table with a hierarchy, similar to a folder browser, except with the additional columns. So there are parameters for which row is the parent of which other row, etc. I'm s

[jQuery] Re: Click event to load a new page

2009-08-06 Thread paul.mac
Thanks guys - came to the same conclusion shortly after posting the question. Thanks Paul On Aug 6, 7:52 pm, "Richard D. Worth" wrote: > Use > window.location > = "index.php?whichPage=slider&whichAct=0&subPage=mixnmingle"; > - Richard > > On Thu, Aug 6, 2009 at 2:35 PM, paul.mac > wrote: > >

[jQuery] Re: IE6 - Ajax onchange error

2009-08-06 Thread James
Please post some example code. On Aug 6, 3:20 am, Matthias Kolbe wrote: > Hello there :o) > > I have a little problem, I have 4 selectboxes with an onchange event. > > Onchange should call an ajax request using jquery and reload those > boxes. > > The problem is, that the selectbox I used for se

[jQuery] Re: Click event to load a new page

2009-08-06 Thread Richard D. Worth
Use window.location = "index.php?whichPage=slider&whichAct=0&subPage=mixnmingle"; - Richard On Thu, Aug 6, 2009 at 2:35 PM, paul.mac wrote: > > I want to add a click function to an image to laod a new page > > Tried this but it doesn't work > > $("#i4").click(function(){ >$(document).attr("hr

[jQuery] Re: Malsup Form Plugin and buttons tags

2009-08-06 Thread Mike Alsup
> My buttons are type "submit" and each have values. I believe it could > be because I have a click event on the button and using ajaxSubmit to > submit as I have to dynamically add some values into hidden fields. > How can I submit the button without making another hidden field? Use ajaxForm ins

[jQuery] Re: Click event to load a new page

2009-08-06 Thread James
Do you mean that when someone clicks on an image, it just goes to a different page? (Similar to a normal tag around an image.) If so: $("#i4").click(function() { document.location.href = 'index.php? whichPage=slider&whichAct=0&subPage=mixnmingle'; }); Or did you mean "load" an external page

[jQuery] Floating DIV

2009-08-06 Thread Just Check
I am looking for something similar to what's there at www.monster.com. When you search for a job, it shows you the job list (Single line mode) and when you hover over the Job Title column it pops up an AJAX dialog with links and further details within it. Is there some existing plugin that I can

[jQuery] jQuery PNG Fix Plugin Breaks My Other Javascripts In Internet Explorer

2009-08-06 Thread toddtemple2
LINK TO THE JQUERY PLUGIN THAT I AM USING- http://jquery.andreaseberhard.de/pngFix/ LINK TO THE SITE IN QUESTION- http://www.securehostserver.info/lcwc/ The link to the site in question shows a navigation bar at the top and it looks fine in Safari and Firefox on a PC, but looks incorrect in Inte

[jQuery] Re: Determining if a block is visible

2009-08-06 Thread Richard D. Worth
On Thu, Aug 6, 2009 at 9:27 AM, Joshua Beall wrote: > > On Aug 6, 8:26 am, "Richard D. Worth" wrote: > > You can include the pseudo-selector in the same selector, immediately > after > > the ID, like so: > > > > $("#myDiv:hidden").show(); > > $("#myDiv:visible").hide(); > > > > Another option wo

[jQuery] Click event to load a new page

2009-08-06 Thread paul.mac
I want to add a click function to an image to laod a new page Tried this but it doesn't work $("#i4").click(function(){ $(document).attr("href","index.php? whichPage=slider&whichAct=0&subPage=mixnmingle"); }); The whichAct variable in the query string gets changed, which is why it isn't

[jQuery] Re: Remove an element but not it's content

2009-08-06 Thread piter
Hi, Not sure if sent the post but Solution is quite easy (I wouldnt even use jQuery for this): For re-use purposes create function: function rmTags(ref){ ref.parentNode.insertBefore( document.createTextNode (ref.innerHTML), ref); return ref.parentNode.re

[jQuery] Re: Using .live and .each

2009-08-06 Thread James
In that case, $.live is not used for that. $.live works for browser events like mouseover, mouse clicks, field focus, etc. For your issue, just put the converter code into a function of its own and run it again after your ajax is completed and the DOM is modified with the new content. Otherwise yo

[jQuery] IE6 - Ajax onchange error

2009-08-06 Thread Matthias Kolbe
Hello there :o) I have a little problem, I have 4 selectboxes with an onchange event. Onchange should call an ajax request using jquery and reload those boxes. The problem is, that the selectbox I used for selection stays open and stops the browser for a view seconds, but just for the first tim

[jQuery] jquery and yii

2009-08-06 Thread kk
hi how to include jquery in yii php framework

[jQuery] Re: Remove an element but not it's content

2009-08-06 Thread piter
?? Why u wanna use jQuery for this? It's simple thing in JS: assuming your rference to link will be: var theLink; just do this: theLink.parentNode.insertBefore( document.createTextNode (theLink.innerHTML), theLink); theLink.paren

[jQuery] Re: Determining if a block is visible

2009-08-06 Thread Joshua Beall
On Aug 5, 7:05 am, "Richard D. Worth" wrote: > Your question is better suited to the main jQuery > list:http://groups.google.com/group/jquery-en > > since it's not about jQuery UI > plugins[*]. I was thinking that because my use case is most directly ti

[jQuery] Re: Determining if a block is visible

2009-08-06 Thread Joshua Beall
On Aug 6, 8:26 am, "Richard D. Worth" wrote: > You can include the pseudo-selector in the same selector, immediately after > the ID, like so: > > $("#myDiv:hidden").show(); > $("#myDiv:visible").hide(); > > Another option would be to use the filter method: > > $("#myDiv").filter(":hidden").show()

[jQuery] a selector does not in safari

2009-08-06 Thread hobbyman
I am programming in ASP.NET and using a "hidden" server control which basically creates a hidden input in the browser. The only problem with that is that the client ID is or can be dynamic. So I have this selector that works in Firefox and IE: $("[id$='_hidCanEdit']").val() This DOES NOT work

[jQuery] Complex licensing questions

2009-08-06 Thread Phil
Hello, The company I am working for is developing a web application layer for a commercial software product. My questions have probably been answered before but I have searched and I can't find a similar scenario to my question. The Web UI will be developed using jQuery and involve using the exc

[jQuery] Re: A script on this page is causing Internet explorer to run slowly

2009-08-06 Thread MorningZ
I'm not sure how you feel someone could help here with absolutely no information or examples but common sense says if you clicked "Yes" to the prompt of "Stop running the script?", then your javascript will, well, stop execution On Aug 6, 12:26 pm, pankaj wrote: > Hi, > > I got this messa

[jQuery] Re: Using .live and .each

2009-08-06 Thread Nic Hubbard
Sorry, I slipped up while typing. I meant I am NOW using ajax as well. Using ajax I bring in new content such as: my iso date Each time I insert these into the DOM they need to be converted. The above script was used to convert them on page load and did not account for content being added usi

[jQuery] Re: Table sorter

2009-08-06 Thread Mauricio Vargas
For what i know, in the begining of your Jquery call, you might be using: $(function() { This begin the call when the file is first loaded... but if you use: $(window).load(function(){ The calls will be loaded when your page ends the loading. Sorry about the bad english. Mauricio Vargas ---

[jQuery] A script on this page is causing Internet explorer to run slowly

2009-08-06 Thread pankaj
Hi, I got this message when i try to open the main page of my application pankaj.site in IE 6 or IE 7. This is working fine in Firefox, Safari etc. "Stop running the script? A script on this page is causing IE to run slowly. If it continues to run, your computer may become unresponsive." After

[jQuery] Re: Table sorter

2009-08-06 Thread solow
so basicaly, i have to call for the page, and after calling for the page, i call fo the tablesorter function... but how do i know, that loading the page was finished? On 6 aug, 15:13, MorningZ wrote: > "Does anyone know a solution for this problem? " > > Yeah, wire up the Tablesorter code to the

[jQuery] Re: Remove an element but not it's content

2009-08-06 Thread paulswansea
Hi, Tried both those methods. the plugin ended up deleting all siblings, and replacewith cant replace it with nothing, but made my own quick and dirty solution should anyone ever want to know the solution : ***This is a test--- //

[jQuery] Re: Remove an element but not it's content

2009-08-06 Thread Richard D. Worth
It's not built-in, but there are plugins for it: http://www.google.com/search?q=jquery+unwrap Or you could use replaceWith: http://docs.jquery.com/Manipulation/replaceWith - Richard On Thu, Aug 6, 2009 at 10:42 AM, paulswansea wrote: > > I'm trying

[jQuery] Remove an element but not it's content

2009-08-06 Thread paulswansea
I'm trying to remove a link, but keep the content within, is there a simple way to do this in jquery? ***This is a test turns into ***This is a test

[jQuery] Re: JQuery autocomplete got broke after i update it.

2009-08-06 Thread pankaj sharma
Hi All, Can someone please help me to fix this issue? i am not sure if I am posting in the right alias? Thanks, Pankaj On Wed, Aug 5, 2009 at 9:02 PM, pankaj wrote: > Hi All, > > After I update JQuery autocomplete plugin (jQuery UI Autocomplete > @VERSION), I found one issue. The issue is as f

[jQuery] Re: Attribute selection not working in MSIE; eg $("input[name=name]").val()

2009-08-06 Thread MorningZ
is the input box like because that is what that selector is after On Aug 6, 10:18 am, "Cesar Sanz" wrote: > Can you show us your code? > this issue is in IE6, IE7 or IE8? > > - Original Message - > From: "V" > To: "jQuery (English)" > Sent: Thursday, August 06, 2009 4:21 AM > Subje

[jQuery] Re: jQuery conflicts

2009-08-06 Thread bencharity
Thanks for the reply Charlie! I'm reading up on the NoConflict but am a little confused (this is all still quite new to me). It says "By using this function, you will only be able to access jQuery using the 'jQuery' variable. For example, where you used to do $ ("div p"), you now must do jQuery

[jQuery] Re: Attribute selection not working in MSIE; eg $("input[name=name]").val()

2009-08-06 Thread Cesar Sanz
Can you show us your code? this issue is in IE6, IE7 or IE8? - Original Message - From: "V" To: "jQuery (English)" Sent: Thursday, August 06, 2009 4:21 AM Subject: [jQuery] Attribute selection not working in MSIE; eg $("input[name=name]").val() Just when you think you made some

[jQuery] Re: Malsup Form Plugin and buttons tags

2009-08-06 Thread NickUK
My buttons are type "submit" and each have values. I believe it could be because I have a click event on the button and using ajaxSubmit to submit as I have to dynamically add some values into hidden fields. How can I submit the button without making another hidden field? Nick On Aug 5, 7:40 pm,

[jQuery] Re: xpath not returning objects

2009-08-06 Thread Old Orange Juice
I'm allergic to big red boxes. :-D. Actually I'm color blind. Red just doesn't register. No wonder I didn't see it. Thanks for pointing that out.. my bookmarks are updated! Thanks for the help everyone. I'm glad Jquery has such a wonderful community. On Aug 5, 11:09 am, Liam Potter wrote: > ,

[jQuery] Re: Remove help

2009-08-06 Thread Dave Maharaj :: WidePixels.com
Sorry...missed my morning coffee :( Posted the wrong code But I got it with this: $('a.profile_data').click(function(){ var x_url = $(this).attr('href'); $('#content').append(''); $('#loadHere').fadeOut('fast', function(){ $('#load').fadeIn('normal');

[jQuery] Re: Remove help

2009-08-06 Thread amuhlou
where is the click function in your javascript? I don't see it in the snippet you posted. it may work better to fade out the loading div as a callback to your load method: $('#content').load('//profile/', function(){ $('#load').fadeOut().remove(); }); On Aug 6, 9:17 am, "Dave Maharaj :: Wid

[jQuery] Remove help

2009-08-06 Thread Dave Maharaj :: WidePixels.com
I have append to add a loading div. But once loaded i want to fade it out and remove it. I have: /*