[jQuery] Re: Jquery + Jquery.layout + Json2007 layout issues

2009-08-06 Thread Nitin
Hi, I am using the jquery.json and jquery.layout now. I still get into the layout issues. When I comment the inclusion of jquery.json library, layout is fine, but as soon as I include it layout is messing up. Any suggestions/pointers to resolve the issue is appreciated. Nitin On Aug 4, 10:25 

[jQuery] [jQMinMax] plugin problem with jQuery 1.3.2

2009-08-06 Thread tom.nov...@googlemail.com
Hi, I have still to support IE6 and developping applications means min-/ max-width is often required. Therefore I used actually the jQMinMax plugin to make this work in IE6. Unfortunately this plugin is not working anymore with jQuery 1.2.6. There seems to be a selector problem. Does anyone

[jQuery] Re: jQuery toggle question

2009-08-06 Thread Peter Edwards
I've reworked your code a little with a working example at: http://jsbin.com/ecumi I have changed classes and ids in the document a little to make it easier to do the selectors, but I know it could probably be done more efficiently. Peter on 06/08/2009 01:13 ripcurlksm said:: For once, I

[jQuery] Loading jQuery without blocking

2009-08-06 Thread north
Hi all, I played around with Steve Souders' techniques of loading JS without blocking a bit (I had already been using jQuery's getScript/ajax to load bigger chunks of code for certain parts of the site only if necessary). I tried to use what Nicolas Zakas calls the best way to load JS

[jQuery] Intercept user submission

2009-08-06 Thread adexcube
Hi, I'm using a bespoke software which I can't access directly into the code that produce. I'm adding functionalities with jquery but I need to intercept all user submissions. At the moment the software produces this function function submitForm() { if (typeof validateIsSingleSubmit ==

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

2009-08-06 Thread V
Just when you think you made something beautiful, MSIE screws it all up :( I tried to get values from a input box which works great in Firefox, but not in MSIE; $(input[name=name]).val(); Is there a workaround for MSIE to get this working or am I just doomed to use id's?

[jQuery] Re: Table sorter

2009-08-06 Thread solow
nobody? i kind of, really need a tablesorter for a dynamically loaded page... On 5 aug, 04:21, solow solow.wes...@gmail.com wrote: Hey, I'm using table sorter. http://tablesorter.com/ Now, this is great and all, but it doesn't seem to work in dynamically loaded pages. Does anyone know

[jQuery] Re: getting the height of some div (which contains p having some margin defined)

2009-08-06 Thread ggerri
The Dimensions plugin might help: http://plugins.jquery.com/project/dimensions Regards G On Aug 5, 6:47 pm, ZedroS zedros.schwa...@gmail.com wrote: hi we have just found out the issue. Let's say you have div id=div   pbla/p /div Like this, $('#div').outerHeigth(true) won't care about

[jQuery] Complex form hiding input depending on a tick box

2009-08-06 Thread Francois (Jersey)
I am writing an accounting sofware, and I have difficulties with the form used to enter the debit and credit for a given transaction. I have used the Jquery validation plugin demo, but I don't know how to hide a specific input cell and replace it by blanks. In accounting, you have either a

[jQuery] Re: ajaxForm doesnt work in Internet Explorer

2009-08-06 Thread Mike Alsup
Hi. We have added ajax to our forms by using iframe and it works fine in Firefox. However in Internet Explorer it does not. Can anyone spot why it doesnt work?http://pastebin.com/fe04a2f3 We are using JQuery 1.2.6 Why does your comment say jquery.form.js iframe post doesn't work??? It

[jQuery] Re: Complex form hiding input depending on a tick box

2009-08-06 Thread Jörn Zaefferer
The marketo demo includes something very similar, take a look at that: http://jquery.bassistance.de/validate/demo/marketo/step2.htm Jörn On Thu, Aug 6, 2009 at 10:44 AM, Francois (Jersey)francois.ches...@googlemail.com wrote: I am writing an accounting sofware, and I have difficulties with the

[jQuery] Re: overwriting document.write() with jQuery's append()

2009-08-06 Thread Old Orange Juice
I hate to be so web 1.0 but perhaps using iframe tags for now to load the ad's until the ajax problem is solved? My assumption was that ajax was always asyncronous.. hence the Asyncronus JAvasctipt Xml anacronism (have I got that right?). Didn't know you can do it syncronously as well. Is that

[jQuery] 2 onchange functions - 1 jquery, 1 prototype - not working in safari

2009-08-06 Thread Ram
Hi all, Im using the jNice plugin on a select box in a form of mine in Rails. Im also calling a custom JS function which uses Prototype on the same select box. %= f.collection_select :item_name, Item.all, :item_for_order, :name, { :name = select, :onchange = item_row($(this));} % now both jNice

[jQuery] Apply Jquery Tabs to multiple elements on single page

2009-08-06 Thread Paul Collins
Hi all, I am using this handy tabs script from here: http://jqueryfordesigners.com/jquery-tabs/ My problem is, if I try to use the same function for multiple elements on a page, seperated by a comma, it will only show one of the elements at a time. I am guessing that is due to the tabcontainers

[jQuery] Re: [jquery-ui] Re: Determining if a block is visible

2009-08-06 Thread Richard D. Worth
On Thu, Aug 6, 2009 at 8:19 AM, Joshua Beall joshbe...@gmail.com wrote: On Aug 5, 7:05 am, Richard D. Worth rdwo...@gmail.com wrote: Your question is better suited to the main jQuery list: http://groups.google.com/group/jquery-en http://groups.google.com/group/jquery-ensince it's not

[jQuery] Re: overwriting document.write() with jQuery's append()

2009-08-06 Thread Benedikt
Hi ooj, unfortunatelly, iframes won't work with what we're doing right now. We have several advertisement hacks up and running right now, using iframes is one of them. Mostly we are calling the ads after the main page and reposition them, but the special ad, I was called to help out with, needs

[jQuery] Re: overwriting document.write() with jQuery's append()

2009-08-06 Thread Benedikt
Hi ooj, unfortunatelly, iframes won't work with what we're doing right now. We have several advertisement hacks up and running right now, using iframes is one of them. Mostly we are calling the ads after the main page and reposition them, but the special ad, I was called to help out with, needs

[jQuery] Re: overwriting document.write() with jQuery's append()

2009-08-06 Thread Benedikt
Hi ooj, unfortunatelly, iframes won't work with what we're doing right now. We have several advertisement hacks up and running right now, using iframes is one of them. Mostly we are calling the ads after the main page and reposition them, but the special ad, I was called to help out with, needs

[jQuery] Re: Table sorter

2009-08-06 Thread mila
Here is what I had to do to get tablesorter work for me after changin table body: var currSort = $(#myTable)[0].config.sortList; //save current sorting setData(data); //update table with new data $(#myTable).trigger(update); //refresh sorting cache

[jQuery] Re: Optional Buttons in Modal Form Dialog

2009-08-06 Thread Richard D. Worth
You can modify the buttons using the buttons option setter, but it requires you to set all buttons at once: //init $(#myDiv).dialog({ buttons: { Ok: function() { $(this).dialog('close'); } } }); //modify buttons after init $(#myDiv).dialog(option, buttons, { Yes: function() {

[jQuery] Re: Table sorter

2009-08-06 Thread MorningZ
Does anyone know a solution for this problem? Yeah, wire up the Tablesorter code to the table *after* it is placed on the page. because whether the table was there when the page was generate or dynamically pulled in makes no difference, as long as it was there in the DOM when

[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: script type= text/javascript/*![CDATA[*/ $(document).ready(function(){ $('#content').append('div id=load/div'); $('#load').fadeIn('normal'); $('#content').load('/?php echo $url ; ?/profile/');

[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('/?php echo $url ; ?/profile/', function(){ $('#load').fadeOut().remove(); }); On Aug 6, 9:17 am,

[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('div id=load/div'); $('#loadHere').fadeOut('fast', function(){

[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

[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: 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 vincenti...@gmail.com To: jQuery (English) jquery-en@googlegroups.com Sent: Thursday, August 06, 2009 4:21 AM Subject: [jQuery] Attribute selection not working in MSIE; eg

[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] Re: Attribute selection not working in MSIE; eg $(input[name=name]).val()

2009-08-06 Thread MorningZ
is the input box like input name=name / because that is what that selector is after On Aug 6, 10:18 am, Cesar Sanz the.email.tr...@gmail.com wrote: Can you show us your code? this issue is in IE6, IE7 or IE8? - Original Message - From: V vincenti...@gmail.com To: jQuery

[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 pankaj1...@gmail.com wrote: Hi All, After I update JQuery autocomplete plugin (jQuery UI Autocomplete @VERSION), I found one issue.

[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? div***a href=divThis is a test/div/a/div turns into div***divThis is a test/div/div

[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 http://www.google.com/search?q=jquery+unwrap- Richard On Thu, Aug 6, 2009 at 10:42 AM, paulswansea

[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 : div***a class=tester href=divThis is a test/div/a---/ div script type=text/javascript

[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 morni...@gmail.com wrote: Does anyone know a solution for this problem? Yeah, wire up the

[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 I

[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] 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: span class=ISODatemy iso date/span 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

[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 pankaj1...@gmail.com wrote: Hi, I

[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

[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 in

[jQuery] Re: Determining if a block is visible

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

[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);

[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

[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

[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

[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=sliderwhichAct=0subPage=mixnmingle); }); The whichAct variable in the query string gets changed, which is why it isn't just a

[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

[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] 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 a tag around an image.) If so: $(#i4).click(function() { document.location.href = 'index.php? whichPage=sliderwhichAct=0subPage=mixnmingle'; }); Or did you mean load an external page

[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 instead

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

2009-08-06 Thread Richard D. Worth
Use window.location = index.php?whichPage=sliderwhichAct=0subPage=mixnmingle; - Richard On Thu, Aug 6, 2009 at 2:35 PM, paul.mac paul.mcma...@uuconstruct.co.ukwrote: 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(){

[jQuery] Re: IE6 - Ajax onchange error

2009-08-06 Thread James
Please post some example code. On Aug 6, 3:20 am, Matthias Kolbe matko...@web.de 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

[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 joshbe...@gmail.com wrote: On Aug 6, 8:26 am, Richard D. Worth rdwo...@gmail.com wrote: You can include the pseudo-selector in the same selector, immediately after the ID, like so: $(#myDiv:hidden).show(); $(#myDiv:visible).hide();

[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 rdwo...@gmail.com wrote: Use window.location = index.php?whichPage=sliderwhichAct=0subPage=mixnmingle; - Richard On Thu, Aug 6, 2009 at 2:35 PM, paul.mac

[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

[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] 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, escribatiago.garrochi...@gmail.com wrote: I can't put autocomplete working with dynamic textboxs. I have a javascript function to add dynamic textboxs, but when i attach the

[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: 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

[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: 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 paul.mcma...@uuconstruct.co.uk wrote: Thanks guys - came to the same conclusion

[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

[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

[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

[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 lance.pe...@gmail.com wrote: I am programming in ASP.NET and using a hidden server control which basically creates a hidden input in

[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: 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 james.gp@gmail.com 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

[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

[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

[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