[jQuery] Re: Superfish with multicolumn sub navigation

2009-05-13 Thread Ischa Gast
> Have you taken a look at > http://users.tpg.com.au/j_birch/plugins/superfish/#getting-started Yes I looked at it but I can't find an example with a div that has to show. > or tried only using lists with more complex CSS rather than div's? I need to use that element because of the complex co

[jQuery] Re: Clone html and change input value

2009-05-13 Thread oly.yates
Have you tried using the .attr() or .val() functions to modify the value of the cloned node? var node = $("some node").clone(true).val("some value"); var node = $("some node").clone(true).attr("some attr", "some value"); On 14 May, 00:13, rmfjcr wrote: > Hi everybody. > I've got a form where us

[jQuery] Re: New inserted tag won't work with selector

2009-05-13 Thread oly.yates
Try using $("p").after($(this).clone(true)); instead of $("p").after("Hello"); Documentation for the clone function can be found here: http://docs.jquery.com/Manipulation/clone#bool On 14 May, 08:14, cohq82 wrote: > Is anyone aware of this problem? For example, the code below simply > just ins

[jQuery] Re: Autocomplete - Problem accessing php file

2009-05-13 Thread spstieng
Progress! The main script (autosuggest) is triggering now in Wordpress. But now I'm having problems getting the script to locate the "get_labels.php" script. I'm using "user friendly" urls. My permalink is set up to http://www.mysite.com/ %category%/%postname %. So if I'm reading a post called H

[jQuery] Re: .ajax GET not working correctly at webhost

2009-05-13 Thread Nahaz
Ah sorry about that. It doesn't cause an error, it looks like it sends data because ? nick=nick appears in your url but it does not get into the database somehow. If you call /data.php?nick=nick it will work, it's when it's called via $.ajax(); that the issue occurs. I havn't confirmed but it see

[jQuery] New inserted tag won't work with selector

2009-05-13 Thread cohq82
Is anyone aware of this problem? For example, the code below simply just inserts new P tag below the existing P's. When I move mouse over each of the P, I should see color change. Or when I click on new P, I should be able to trigger the P click event. That did not happen. Anyone knows how to fix

[jQuery] declare variable

2009-05-13 Thread runrunforest
Hi, I see this line in a plugin var $thisCell, $tgt = $(event.target); does that mean: var $thisCell = $(event.target); var $tgt = $(event.target);

[jQuery] Re: do I really have to use xml?

2009-05-13 Thread snorkel
doh! items[p].getAttribute("name"); On 14 May, 02:08, snorkel wrote: > I have an array of nodes which are being created in a for loop >  for n 1 to 30 etc etc which makes nodes like this in the html > >  hh_010_0160   > etc > etc >  hh_010_0160 > > so in other words each node has an array ind

[jQuery] Re: jQuery(document).ready() Type error on WebKit based Browsers

2009-05-13 Thread Pappy
I've been hammering on this. I've narrowed it down to line 2238 of jquery-1.3.2.js. if ( div.getElementsByClassName("e").length === 0 ) return; I threw a try/catch block around the code and am receiving this error - NOT_SUPPORTED_ERR: DOM Exception 9 I am currently running Safari Ver

[jQuery] Re: Superfish with multicolumn sub navigation

2009-05-13 Thread andy
Have you taken a look at http://users.tpg.com.au/j_birch/plugins/superfish/#getting-started or tried only using lists with more complex CSS rather than div's?

[jQuery] Re: tablesorter messing with other tables

2009-05-13 Thread andy
I assume your tablesorter is picking up the desired table by an id or class attribute. Does the nested table have the same attribute? If so change the name of the nested table attribute and give it another try. If you would like the nested table to sort independently, give it a unique attribute id

[jQuery] Re: PLease help.. sliding menu?

2009-05-13 Thread andy
jFlow is great - http://www.gimiti.com/kltan/wordpress/?p=32

[jQuery] Re: SuckerFish menus "covered" by main content? please advise

2009-05-13 Thread andy
This is a css issue. After looking at the source code of your site, I noticed that the navigation is setup in table cells. The main nav should be setup in lists, with the subnav in a nested list within the main nav. See suckerfish drop down tutorial on http://www.alistapart.com/articles/dropdowns

[jQuery] Re: jQuery(document).ready() Type error on WebKit based Browsers

2009-05-13 Thread Pappy
I am seeing the same error as Sulfura. My page works fine on Firefox and IE, but on Webkit-based browsers, any call to jQuery(function() {}) results in this error on line 83 of jquery-1.3.2.js -- TypeError: Result of expression 'jQuery( document ).ready' [undefined] is not a function I have rem

[jQuery] Re: modal pop-up from inside

2009-05-13 Thread snorkel
I am pretty new to all this, but here goes.. it seems to me you need to have something like window.parent.load (javascript) you need parent because an iframe is a window On May 14, 12:08 am, Red wrote: > I am stuck with an issue of getting my modal to pop up and out of the > iframe and show on

[jQuery] Re: Nested sortable unordered list - parent li moves along with nested list

2009-05-13 Thread andy
Has anyone used the jQuery UI Sortable plugin with nested lists?

[jQuery] Re: Bassistance Tooltip Transparent Text IE7/IE8 problem

2009-05-13 Thread Pappy
Oh, I should have clarified. I am developing on Firefox first. It works just fine there. On May 13, 12:05 pm, Jonathan wrote: > It's gotta be a cascading style getting applied that IE's debugger > misses, I would install firefox and firebug and see if it's also > listing color:black when it's

[jQuery] do I really have to use xml?

2009-05-13 Thread snorkel
I have an array of nodes which are being created in a for loop for n 1 to 30 etc etc which makes nodes like this in the html hh_010_0160 etc etc hh_010_0160 so in other words each node has an array index in the name and some javascript which has items = parent.getElementsByTagName(li); so

[jQuery] New Linux.com and jQuery Group

2009-05-13 Thread Shawn
Hi gang. Linux.com did an upgrade of their website today. I didn't see any hint of jQuery in their community section so I created a group. Feel free to check it out - I'd be happy to pass on the admin reigns to someone a little more active than myself. Until then though Linux.com htt

[jQuery] Re: JQuery and Ajax

2009-05-13 Thread Tom Worster
On 5/13/09 2:23 PM, "nat" wrote: > I am working on adding asynchronous form submission inside a jquery > dialog. I am using .ajax(). > Everything is working correctly, but the submission takes longer than > I would like. > I am new to jquery and am unsure how to debug/optimize this. How do I > d

[jQuery] Re: jQuery cluetip plugin

2009-05-13 Thread Bharat
Hello Karl, My apologies for the hasty post. The plugin works perfectly fine. It was my programming error. I had forgotten to remove the totally vanilla declaration on my shared partial that was overriding the adustments that I has making in my master layout file! I only discovered it after I

[jQuery] Re: SlideMenu & ASlideShow conflict

2009-05-13 Thread Mahmoud M. Abdel-Fattah
Thanks a lot man, I really Appreciate your replies, but isn't there any other solution than changing the design ?? On May 13, 10:57 am, weidc wrote: > just do it for ie. > > something like: > > if($.browser.msie && $.browser.version != "8.0") > { >      $("#header").insertAfter("#banner"); >    

[jQuery] modal pop-up from inside

2009-05-13 Thread Red
I am stuck with an issue of getting my modal to pop up and out of the iframe and show on top of the parent page. I am using the jqModal and you seem to have answers for everything but this... I have a parent page, that i can not edit, with an iframe that contains the logic for the modal. When the

[jQuery] Re: jquery cycle plugin - first cycle not in correct position unless you reload the site

2009-05-13 Thread Mike Alsup
2.63 is the latest version of Cycle. And your images do not have width/height attributes. Mike On May 13, 5:42 pm, flyfisherman wrote: > Hello Mike > > I have the newest version 2.34 installed and I also gave a width und > height for the picture id in my css-file (view source code). > So what

[jQuery] Trouble with Suckerfish in Safari

2009-05-13 Thread sparks...@gmail.com
Hi! I've used Suckerfish on one of my sites and I'm experiencing some trouble in Safari. It occurs when you've clicked yourself into a sub menu that has a child sub menu and then click one a different sub menu that does not have a child sub menu. What happens is that the old child don't go away, i

[jQuery] Re: Superfish 1.4.8 w/ Supposition

2009-05-13 Thread Clint T
I'd also like to add a vote for a Supposition update. I'm currently using 1.4.8 with hoverIntent, bgiframe, and supersubs and would really really really like to use the Supposition plugin as well. I'll keep my fingers crossed that Joel or Jesse is still monitoring the forum and can make this happe

[jQuery] Clone html and change input value

2009-05-13 Thread rmfjcr
Hi everybody. I've got a form where users can insert ingredients (name, quantity) for recipes. as they need more couples to store all the ingredients, they use the "add ingredient" link to obtain another couple of input fields. Here comes the problem: I need to increment the value of the hidden in

[jQuery] Re: jquery cycle plugin - first cycle not in correct position unless you reload the site

2009-05-13 Thread flyfisherman
Hello Mike I have the newest version 2.34 installed and I also gave a width und height for the picture id in my css-file (view source code). So what else could it be? txs Markus On 13 Mai, 23:01, Mike Alsup wrote: > > I am using the cycle plugin on a start page to cycle 5 pictures in a > > div

[jQuery] Re: When a class is created... preloaded events don't seem to work.

2009-05-13 Thread Liam Byrne
The function existed, but the element didn't exist inside the container, so there was no element to bind the click to. You can check this for yourself by doing alert($(".new_button").length) just after both lines that you have listed. So. 1) Try adding the $(".new_button").click(.)

[jQuery] Re: Autocomplete - Problem accessing php file

2009-05-13 Thread spstieng
Alright. I found the problem. In my get_labels.php, I was . This ahad to change to ../afile.php So now "includes/get_labels.php?json=true&" is working. Now comes the real problem. I need this to work in a template I'm making in Wordpress. So far, it looks lke the main script isn't triggering. I

[jQuery] Re: jquery cycle plugin - first cycle not in correct position unless you reload the site

2009-05-13 Thread Mike Alsup
> I am using the cycle plugin on a start page to cycle 5 pictures in a > div id "picture". The first load of the site the pictures are shown to > small (firefox) or outside the container (opera, safari Win), after a > reload all is ok!! > > I have no clue why this happens. Is there any advice? > >

[jQuery] Re: Problems with rounded corners plugin

2009-05-13 Thread Mike Alsup
> Attached is my page code, I'm trying to make the corners rounded on > the div div#LoginArea - but try as I may I'm not able to work out why > this won't work - would be grateful for thought on what I've done > wrong... >     >         function pageLoad() { >             $("div#LoginArea").corn

[jQuery] Re: How to loop iterate through a string of div elements

2009-05-13 Thread Ricardo
Append and animate one at a time. ajax/get callback for a sequential slideDown: function(htmlString){ $(htmlString).find('.post').each(function(i){ var el = this; setTimeout(function(){ $(el).appendTo('#bodylist').slideDown(500); }, i*500); }); } On May 13, 3:1

[jQuery] Re: dealing with a post (json) callback

2009-05-13 Thread Peter Warnock
[ ] is an array literal, like { } is an object literal. var obj = json[0]; You shouldn't use eval on JSON. If you specify 'json' as your return type, jQuery will safely eval valid JSON. - pw On May 12, 9:05 pm, sneaks wrote: > hi, in firebug my callback data(object) is like so: > > [{"produc

[jQuery] Re: Alternating Row Colors: Last row not coloring

2009-05-13 Thread spstieng
The only js code I use is this: jQuery("#myTable tr:even").addClass("even"); Then in my CSS file, I define what background color the .even class will have. Steven On 13 Mai, 22:25, MorningZ wrote: > You have > > -- > $('#event-listing tbod

[jQuery] Re: Newbie Question... Appending multiple items, with the same span name

2009-05-13 Thread Abdullah Rubiyath
Hey there, You could try the following: $(document).ready(function() { $("ul li").each(function() { var thisName = $('.name', this).text(); // get the content inside '.name' class of this element $(this).append(''+ thisName +"'s additional Info" ); }); }); With your approach of $('.nam

[jQuery] Re: Alternating Row Colors: Last row not coloring

2009-05-13 Thread MorningZ
You have -- $('#event-listing tbody tr:odd').css("background-color", "#EFF1F1"); $('#event-listing tbody tr:even').css("background-color", "#A4D1FF"); var html = ''; html += '' + startdate + ''; html += '' + location + ''; html += '' + event_na

[jQuery] Autocomplete - Problem accessing php file

2009-05-13 Thread spstieng
Hi, I have the following script in my index.php file: var options = { script:"get_labels.php?json=true&", varname:"input", minchars: 2, delay: 200, json:true, shownoresults:false,

[jQuery] jquery cycle plugin - first cycle not in correct position unless you reload the site

2009-05-13 Thread flyfisherman
Hi I am using the cycle plugin on a start page to cycle 5 pictures in a div id "picture". The first load of the site the pictures are shown to small (firefox) or outside the container (opera, safari Win), after a reload all is ok!! I have no clue why this happens. Is there any advice? link: htt

[jQuery] Re: jQuery Function - how should I write it?

2009-05-13 Thread Bharat
I am all set. Figured it out. It does take some getting used to, but seems to be quite similar to Java: jQuery.fn.toggleOpposite = function(readonly) { if (readonly && this.val().length > 0) { // reset the value to null this.val(''); } return this.attr('disabled',readonly).css('o

[jQuery] Re: Cross Port Jquery Library Call

2009-05-13 Thread Shadraq
Andy Are you suggesting that I create an exact copy of all scripts I'm using and put them into the ssd? Or are you saying that I should move my scripts folder to the ssd and my cross-port issues will disappear? If you meant the first, I don't think having 2 scripts folders with the same content

[jQuery] Re: Alternating Row Colors: Last row not coloring

2009-05-13 Thread Shadraq
Morning Z, Thanks for the quick reply. I must not be completely understanding what you are saying (though, it sounds very simple). I moved my tr:odd/ even tags to 3 different places: 1. just after the was set 2. after the 3. after " Do I need to add "html +=" to it? Am I missing something? T

[jQuery] Re: JQuery and Ajax

2009-05-13 Thread Michael Lawson
You could try the Yslow addon for firebug. You also might want to check any validation you are performing on the front end, and what you're doing on the backend that might be a bottleneck. cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-828-355-5544 E-mail: mjlaw...@u

[jQuery] IE8 error: Invalid Argument

2009-05-13 Thread Shadraq
I realize that there are numerous posts on this subject. But, alas, I will start with the same phrasing that everyone else does. "This works in FF, but not in IE". So, having said that, I'm not using the .min Jquery file, I'm using the developers file. I debugged it using Firebug Lite in IE8, a

[jQuery] JSONP for REST webservice

2009-05-13 Thread sr
I want to use JSONP to connect to a REST webservice to avoid an additional proxy. But the jquery lib adds the JSONP callback parameter only to the URL if GET is used as request type, but not on DELETE, PUT & POST. I modified the jquery lib to avoid that problem like this: 3409: // Hand

[jQuery] Problems with rounded corners plugin

2009-05-13 Thread RCT_Nitro
Attached is my page code, I'm trying to make the corners rounded on the div div#LoginArea - but try as I may I'm not able to work out why this won't work - would be grateful for thought on what I've done wrong... <%@ Page Language="VB" AutoEventWireup="false" CodeFile="DEV_Login.aspx.vb" Inherits

[jQuery] Newbie Question... Appending multiple items, with the same span name

2009-05-13 Thread Troy
Hello, I'm relatively new to jquery, so I have what I hope will be a simple question. I need to append multiple spans to the line items in an unordered list. Essentially, each line item contains a and I need to grab the content of that span and append it to the bottom of the line item it's conta

[jQuery] Aliasing/Redefining "function"

2009-05-13 Thread ScottSEA
In my environment, JS has a maximum file size as a matter of company policy - jQuery is obviously a great help with this. One of the things I'd like to do (primarily to shrink filesize but also for less typing) is instead of writing this: $(function(){...}); to be able to write this:

[jQuery] How to loop iterate through a string of div elements

2009-05-13 Thread Morgan
Hey, I was wondering how I would be able to convert a string of html into a series of div elements that I can iterate through and perform jquery functions on, specifically .hide() and .slideDown(). For example, I retrieve a string from a jquery ajax call of html that looks something like this,

[jQuery] JQuery and Ajax

2009-05-13 Thread nat
Hi, I am working on adding asynchronous form submission inside a jquery dialog. I am using .ajax(). Everything is working correctly, but the submission takes longer than I would like. I am new to jquery and am unsure how to debug/optimize this. How do I determine if the lag is in the front or bac

[jQuery] passing next & prev through function

2009-05-13 Thread Gijsie
hello, i'm building a portfolio page and i'm trying to pass next or prev through this function to pass the direction. does anyone know how to do this? I already tried passing next and prev and filling them in the right position in the function. this is what i have already: function PortVolgend

[jQuery] When a class is created... preloaded events don't seem to work.

2009-05-13 Thread nick
So, if a user clicks a button, I set a function to create a new class like $("#container").html('Click'); and I preloaded ( which means, this function existed before the button was created) a function like $(".new_button").click(function(){ alert('succeed'}); When I click the button, nothing

[jQuery] Re: slideUp() does not make animation before remove() occurs

2009-05-13 Thread Ricardo
That doesn't make any sense. The callback will only execute after the slideUp finishes, so this gives you a 1s delay. Massimiliano, could you provide a test page? I don't understand why you're animating an element which is invisible (0 opacity). On May 13, 2:22 am, waseem sabjee wrote: > I have

[jQuery] Re: Applying Table Row Sorter to Multiple Tables

2009-05-13 Thread aquaone
this may be what you guys are looking for? dunno, haven't tested it much... I'm sure there's a better way of doing this... but it seems to work. just add a "multisort" class to every table you want linked. var $multisort = $("table.multisort"); $multisort.addClass( "msUnsorted" ); $multisort.bind(

[jQuery] Re: Bassistance Tooltip Transparent Text IE7/IE8 problem

2009-05-13 Thread Jonathan
It's gotta be a cascading style getting applied that IE's debugger misses, I would install firefox and firebug and see if it's also listing color:black when it's clearly not. On May 13, 11:52 am, Pappy wrote: > I'll give this one quick bump... anyone have any ideas what's going > on? > > On May

[jQuery] Re: Bassistance Tooltip Transparent Text IE7/IE8 problem

2009-05-13 Thread Pappy
I'll give this one quick bump... anyone have any ideas what's going on? On May 12, 1:48 pm, Pappy wrote: > I am using a very simple tooltip on my site (just text).  Depending on > where I am on the page, the text renders transparently or white, even > though the css 'color' is set to black.  See

[jQuery] Re: Alternating Row Colors: Last row not coloring

2009-05-13 Thread MorningZ
It's all about the order... you are setting background-color and then adding the row you need to do it the opposite (add then color) On May 13, 1:58 pm, Shadraq wrote: > I have a function that is calling a list of events. Within the > .each is alternating row colors code (see below): > >

[jQuery] Re: remove DIV from form (maybe bug)

2009-05-13 Thread vmoravek
Hi, thanks a lot. It seem works! Vojtech On 13 kvě, 14:55, "oly.ya...@googlemail.com" wrote: > try instead of >$(".lab_"+input_name+" #test").hide(); > this: >$(".lab_"+input_name+" ").children("#test").remove(); > or if you don't want to actually remove them: >$(".lab_"+input_name+

[jQuery] Re: Cross Port Jquery Library Call

2009-05-13 Thread Andy Matthews
Can you put the jQuery file inside the secure server's domain, then reference it from there for both sites? -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of Shadraq Sent: Wednesday, May 13, 2009 1:03 PM To: jQuery (English) Subject: [jQu

[jQuery] Cross Port Jquery Library Call

2009-05-13 Thread Shadraq
I have created a payment system using Jquery. The problem I run into is when I move from http to https. I get the following error: Error: [Exception... "Access to restricted URI denied" code: "1012" nsresult: "0x805303f4 (NS_ERROR_DOM_BAD_URI)" location: "https:// www.stirthewater.com/scripts/j

[jQuery] Re: .ajax GET not working correctly at webhost

2009-05-13 Thread James
Define what "not working correctly" means. Does it cause an error? Does the request get sent but nothing happens? Does the request get sent without the GET data? ... etc. On May 12, 12:00 pm, Nahaz wrote: > I have this snippet: > > function ajaxAdd() { >         $('form').submit(function() { >  

[jQuery] (tablesorter) Globally sort multiple tables on a page

2009-05-13 Thread christopherious
I am using the excellent jquery.tablesorter successfully for a large number of 40-row tables that live together on one page. So far I'm very happy with the plugin. My users also need the ability to apply any column sort they invoke automatically to *all* tables on the pae. They do not wish to s

[jQuery] Alternating Row Colors: Last row not coloring

2009-05-13 Thread Shadraq
I have a function that is calling a list of events. Within the .each is alternating row colors code (see below): function DisplayEventList(info,event_id) { $.post('/url/server.php', { request:info,

[jQuery] Re: Global variables in jQuery

2009-05-13 Thread Mike Nichols
'price' value won't be set until the callback completes, so try this: unction calc_matrix(x, y) { loc = "index.php?module=product"; var price = 0; $.post(loc, { "request":"xmlhttp", "action":"calc_pricematrix", "x":x,

[jQuery] Re: Variable div #menu height - Jquery

2009-05-13 Thread André
Hey jd, Thanks for your reply. I understand what you are trying to achieve, but it does not work with my example, since the child ul was absolutely positioned (to get 'em next to each other). That is why this is such a problem. Thanks anyway ;). Greetings, Andre On 13 mei, 17:25, ehime wrote:

[jQuery] Re: Better way to trim whitespace from input?

2009-05-13 Thread Andy Matthews
If you've got control over the back end, you could do the upper case transform on the server side...but like I said. I think you've got it as stripped down as you can get it. -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegroups.com] On Behalf Of jckos Sent:

[jQuery] Re: How to configure Fade in fade out properly

2009-05-13 Thread Albert Y
Hi there, thanks for your reply, It can work for the link to be shown, however the gif is still fading in and out with the link being show Here's my code. $(window).load(function(){ $("#myloadingbar").hide(); }); function confirmLoading() {

[jQuery] Re: Better way to trim whitespace from input?

2009-05-13 Thread jckos
Thanks. I can't use CSS because it doesn't actually submit the value as uppercase, which is what I need. On May 13, 1:03 pm, "Andy Matthews" wrote: > Well, you could try using a text transform CSS attribute on the text field. > Then you wouldn't have to perform a toUpperCase using JavaScript.

[jQuery] Re: Global variables in jQuery

2009-05-13 Thread Danny
Are you sure the data is coming back the way you expect? Put an alert (data) in the callback function. On May 13, 3:02 am, V wrote: > I can't get global variables work, maybe somebody knows the answer > because this should be very simple. > > The following does not work, the price is not availab

[jQuery] Re: jquery uploader

2009-05-13 Thread Kyle Farris
Use the provided blackbird plugin to debug it. I've used this plugin and it works very well. I wouldn't be able to debug it without using the blackbird thing and writing to my php error log like so: error_log ('failed at this point'); -Kyle On May 12, 5:37 am, Vincent Majer wrote: > no one is u

[jQuery] jQuery Function - how should I write it?

2009-05-13 Thread Bharat
Here is function that I wrote: jQuery.fn.toggleOpposite = function(readonly) { return this.attr('disabled',readonly).css('opacity', readonly ? 0.5 : 1.0).focus(); }; I want to extend it so that it not only toggles the 'disabled' attribute based on readonly paramater's value but also clears ou

[jQuery] Re: Better way to trim whitespace from input?

2009-05-13 Thread Andy Matthews
Well, you could try using a text transform CSS attribute on the text field. Then you wouldn't have to perform a toUpperCase using JavaScript. But other than that, looks about as lean as you can get it. andy -Original Message- From: jquery-en@googlegroups.com [mailto:jquery...@googlegro

[jQuery] Re: Applying Table Row Sorter to Multiple Tables

2009-05-13 Thread christopherious
"Wow, the idea of sorting multiple tables at the same time is interesting. I may check that out, too." Hah, I only just now realized that I totally misunderstood your original post! My users need this because they work with the same data on multiple tables, and don't want to apply sorts on a tab

[jQuery] Better way to trim whitespace from input?

2009-05-13 Thread jckos
Hi, I need to transform all characters entered in an input field to uppercase and trim trailing whitespace. This script works, but I'm wondering if there's a better way to do it. $(document).ready(function(){ $("input").keyup(function (e) { $("#cou

[jQuery] Re: newbie callback failure

2009-05-13 Thread cakenoob
weirder still - if I add an alert after the .ajax then the alert callback fires - ? --- $.ajax({ type: "POST", url: "tajax.php", data: "name=John&headline=blag+blag", //dataType: "html", success: function(msg){ alert( "Data Saved: " + msg ); } alert("si"); }); --- and bot

[jQuery] Re: css syntax

2009-05-13 Thread Michael Lawson
if the bgc equals ffccc, or the bgc equals rgb(255,204,204) then set the backgroundColor to ff, if not, set it to ff cheers Michael Lawson Development Lead, Global Solutions, ibm.com Phone: 1-828-355-5544 E-mail: mjlaw...@us.ibm.com 'Examine my teachings critically, as a gold assayer w

[jQuery] css syntax

2009-05-13 Thread runrunforest
Hi, Can someone help me explain the meaning of these two lines var bgc = $(this).css('backgroundColor'); $(this).css({backgroundColor: bgc == '#ff' || bgc == 'rgb(255, 204, 204)' ? '#ff' : '#ff'});

[jQuery] Re: Variable div #menu height - Jquery

2009-05-13 Thread ehime
use this div#menu {height:100%; min-height: 150px; background:#??? url(images/ backgroundyoureusing.png) 0 0 repeat-x;} or this div#menu { background-color:#???; margin-left:1px; padding-bottom:10px; position:relative; } http://omnisistem.com/ was what I did, the menu is dynamic wi

[jQuery] Re: Ajax and 404 errors.

2009-05-13 Thread bhaveshphoneh...@gmail.com
myrequest.status On Apr 21, 6:38 am, Leanan wrote: > I'm trying to load some javascript files via ajax, and for the life of > me, I can't get it to catch 404 errors.  I've tried searching, but > everything I've found says that I should check the status on the > request object to catch it but i

[jQuery] Re: superfish bg images - almost there!

2009-05-13 Thread gfranklin
You need to add the style for the li.sfHover to match a:hover. .sf-menu ul a:hover { color: #fff !important; background: #005daa !important; } SHOULD BE LIKE THIS: .sf-menu ul a:hover, .sf-menu li.sfHover a { color: #fff !important; background: #005daa !important

[jQuery] Re: Page disappear when validation completes !

2009-05-13 Thread Jörn Zaefferer
Just looked at your page with FF3 and the validation seemed to work fine. I suggest using a to submit your form, instead of the anchor with inline JS. Jörn On Wed, May 13, 2009 at 11:41 AM, antoine wrote: > > Ok finally I've found out that using > > onkeyup: false, > onfocusout: false, > oncli

[jQuery] Re: How to disable all clicks till the page loads

2009-05-13 Thread lorenzo816
with just the regular jquery js file or do we need any plug-ins? On May 13, 6:54 am, Kean wrote: > You can try these. > > $().bind('click.noclick', function(){ >   return false; > > }); > > $(function(){ >   $().unbind('click.noclick'); > > }); > > On May 12, 11:56 pm, bobin wrote: > > > Any o

[jQuery] [Masked Input] type delimiter -> advance caret position

2009-05-13 Thread donb
I was asked by client if it was possible to make the date mask __/__/ advance to the next subfield when the delimiter '/' is typed. Thus they could type 1/1/2009 without having to type the extra digits. I've perused the code and see that's not something it can do currently. In fact, it's no

[jQuery] Re: slideUp() does not make animation before remove() occurs

2009-05-13 Thread hjb
and instead of parents - you should be using closest('.item- container') On May 13, 2:45 pm, hjb wrote: > I'll have a go: > > function removeChekbox(data) > { >     $.each(data, function(i, val) >     { >         $('input[value="'+val+'"]').parents(".item-container").fadeTo > ("slow", 0, funct

[jQuery] Re: How to configure Fade in fade out properly

2009-05-13 Thread weidc
setTimeout("blub()",7000); function blub() { $("#mylink").show(); $("#myloadingbar").hide(); } On 13 Mai, 14:19, Albert Y wrote: > Hi all, > >  I'm Albert, 1st time posting a problem here for you experts out there to > assist me on. Plsthanks in advance. > > OK let me describe

[jQuery] Re: How to configure Fade in fade out properly

2009-05-13 Thread weidc
setTimeout("blub()",7000); function blub() { $("#mylink").show(); $("#myloadingbar").hide(); } On 13 Mai, 14:19, Albert Y wrote: > Hi all, > >  I'm Albert, 1st time posting a problem here for you experts out there to > assist me on. Plsthanks in advance. > > OK let me describe

[jQuery] Re: slideUp() does not make animation before remove() occurs

2009-05-13 Thread hjb
I'll have a go: function removeChekbox(data) { $.each(data, function(i, val) { $('input[value="'+val+'"]').parents(".item-container").fadeTo ("slow", 0, function() { $(this).slideUp(500, function() { $(this).remove(); }

[jQuery] Re: remove DIV from form (maybe bug)

2009-05-13 Thread oly.ya...@googlemail.com
try instead of $(".lab_"+input_name+" #test").hide(); this: $(".lab_"+input_name+" ").children("#test").remove(); or if you don't want to actually remove them: $(".lab_"+input_name+" ").children("p").hide(); Hope this helps On 13 May, 14:02, vmoravek wrote: > Hi all, > I found same str

[jQuery] How to configure Fade in fade out properly

2009-05-13 Thread Albert Y
Hi all, I'm Albert, 1st time posting a problem here for you experts out there to assist me on. Plsthanks in advance. OK let me describe you the problem.. 1) I have a html link (struts) with ID="mylink" and with value="Click on me" to download some files. 2) I have also a pics, loading

[jQuery] Re: New Plugin with IE problem

2009-05-13 Thread floepi
Anyone?? Still can't get it to work and don't know why IE is complaining. Any help appreciated. Cheers On May 7, 2:54 pm, floepi wrote: > Hi all, > > I mainly work in Firefox land and don't have to bother with IE much > (Lucky me). I wanted to share one of my plugins with the public and > the

[jQuery] Re: Menu autoheight on click event

2009-05-13 Thread André
Hello Waseem, I'm really thankful you're willing to help me out! Would you please place it on this message board? Other users might also find it helpful. Awaiting your response. Greetings, Andre On 13 mei, 14:43, waseem sabjee wrote: > Hi Andre, to be honest i found quite a few bugs in the "h

[jQuery] Re: Menu autoheight on click event

2009-05-13 Thread waseem sabjee
Hi Andre, to be honest i found quite a few bugs in the "how it should be". In about 4 hours from now ( after my full time job ) I could write you a menu plugin that will work similar to that. with an auto height feature. and a parent > child > child-to-child support On Wed, May 13, 2009 at 2:15 P

[jQuery] Menu autoheight on click event

2009-05-13 Thread André
Hello all, I posted a question on this board earlier, regarding a menu with a variable height. I got help from someone named Charlie (thanks again), who helped me a lot, but unfortunately he also got stuck. V.1: http://www.opee.nl/jquery/index.html (what it should look like - static) http://www.

[jQuery] remove DIV from form (maybe bug)

2009-05-13 Thread vmoravek
Hi all, I found same strange behavior when I trying hiding, or removing DIVs inside form. Please look on my sample here: http://62.245.92.202/jquery-sample.php Expected behavior is: When I make change inside input field “one” text “lorem ipsum” will be shown between “one” and input:text field.

[jQuery] Re: jQuery too slow on IE!!!

2009-05-13 Thread Joseph Le Brech
You will also struggle with css selection if you are using ie6, there are major compatibility issues. I would recommend you just testing your site on ie6 to see if it degrades well on ie6. I wouldn't count on ie6 being able to handle any new features. > Date: Wed, 13 May 2009 03:59:58

[jQuery] Re: jQuery too slow on IE!!!

2009-05-13 Thread Kean
If speed is paramount to your project and you still want some some abstraction/cross browser functionality, you can checkout some other libraries out there. Here's some comparison on how they perform. http://dante.dojotoolkit.org/taskspeed/ On May 12, 5:42 am, Chandan wrote: > Hi, > > I recentl

[jQuery] Re: How to disable all clicks till the page loads

2009-05-13 Thread Kean
You can try these. $().bind('click.noclick', function(){ return false; }); $(function(){ $().unbind('click.noclick'); }); On May 12, 11:56 pm, bobin wrote: > Any one can please tell me  How to disable all clicks till the page > loads > > Any help wil be appreciated

[jQuery] Re: slideUp() does not make animation before remove() occurs

2009-05-13 Thread Massimiliano Marini
> I have made a slight change in your code. also note you did set the > opacity to 0 before the slideUp that could effect your code [snip] > i just added a 0.5 sec delay the same with your changes, the slideUp() still not working. -- Massimiliano Marini

[jQuery] Re: slideUp() does not make animation before remove() occurs

2009-05-13 Thread Massimiliano Marini
> Maybe it's because opacity is already 0? > > Try using animate({ height:'toggle' }) instead I've tried your code, but the behavior is not what I'm trying to achieve. The slideUp() still not working. -- Massimiliano Marini

[jQuery] jquery.cascade - query about match param

2009-05-13 Thread Jaroslav Urban
thw question about this: match: function(selectedValue) { return this.When == selectedValue; } 1) where does the 'selectedValue' come from? I didnt find any ref anywhere. 2) how could I change it ot 'text' instead of 'value' Thanks for any help. Cheers. J.

  1   2   >