[jQuery] Re: Loop only handling last item in the array

2009-06-09 Thread RobG
On Jun 10, 7:44 am, psc wrote: > I am very new to javascript/jquery so bare with me. I am using this > loop code below with a populated array called "listarray": > >         for(var i in listarray){ Don't use for..in to iterate over an Array, it can be problematic unless you have complete cont

[jQuery] Superfish - solid background

2009-06-09 Thread Rafael Vargas
Hello, which is the setting (and where can I find it) to make the background of a Superfish dropdown menu solid? I like the settings from "A very basic superfish menu example" but I can't see where to override the color. To remove the shadow is easy, but I would like the background to be solid. t

[jQuery] Re: jQuery broken in FF3.5b99 (Preview)

2009-06-09 Thread John Resig
It looks like it may have already been fixed: https://bugzilla.mozilla.org/show_bug.cgi?id=496790 Thanks for the heads-up, though! --John On Tue, Jun 9, 2009 at 6:09 PM, benjam wrote: > > I'm sure support for a beta release is a bad thing to be asking for, > but I mostly just want to make sur

[jQuery] Re: plugins aren't applied on second call

2009-06-09 Thread skunkwerk
thanks Paul, i knew that rule, but didn't realize that was the issue. i just switched to using classes, and its all good now. appreciate it, imran On Jun 9, 3:46 am, Paul Mills wrote: > Hi, > Your HTML is not valid. IDs must be unique - you have used #txtSpin > and #color twice. > > Try ren

[jQuery] Re: Loop only handling last item in the array

2009-06-09 Thread MorningZ
"The script is a very dumbed down version of what I'm working on" Before you get into any complicated script, you need to grasp the concept of "Asynchronous" You main mistake is thinking that the loop is going to "wait" when you make the $.ajax call... *it doesn't*... I don't have the time ri

[jQuery] Re: variable manipulation

2009-06-09 Thread huytoan.pc
Hi Narendra, I'm wondering why you use toString() method here? I think 'value_at_' + i would also work fine On Jun 9, 10:09 pm, Narendra sisodiya wrote: > try to use object like this: > > var myObject={}; > var count=10; > > for(var i=0;i { >   myObject['value_at_'+i.toString()]="value at "+

[jQuery] Re: Subversion and Bugtracking

2009-06-09 Thread Eric Martin
Do you need to host it yourself and does it need to be private? If not, how about Project Hosting on Google Code[1]? [1] http://code.google.com/projecthosting/ -Eric On Jun 9, 4:20 am, Paulodemoc wrote: > Someone here would happen to know a good bugtracking system that I can > start using? It

[jQuery] Re: Drag & Drop to sort categories and post this new sort order to dB?

2009-06-09 Thread huytoan.pc
I think you can make AJAX call everytime user drops an item. Use jquerys' index() method to determine index of the time in the container to update database accordingly. Regards, Toan. On Jun 10, 1:24 am, Erich93063 wrote: > OK so Ive been using jquery for a little bit now and love it. I am a >

[jQuery] Re: Form plugin asynchronous behavior

2009-06-09 Thread dann
Wow -- that answer turned out to be both 100% correct and completely off-topic for this forum! Thanks so much Dutch, I'm incredibly glad you happened to spot this post and comment on it. I'd been barking up the wrong tree and don't even want to think about how long it would have taken me to track

[jQuery] Superfish Height Question

2009-06-09 Thread PelaLusa
I've adopted Superfish as a menu but would like to find out how to change the height of the header items and the subsequent dropdown items. I am the furthest thing from a CSS expert so explicit instructions about what I should change/add would be highly appreciated! Sincerely, Robert Werner htt

[jQuery] Re: jquery Validate - send email failing

2009-06-09 Thread philco
Thanks Jorn - there is a test page at www.pinerock.com/contactNEW.php. the php at the head of the page is if ($_REQUEST['name']!="") { $sendTo = 'phi...@thisworldover.com'; $subject = "Contact Form Submission"; $headers = "MIME-Version: 1.0\n"; $headers .= "Content-type:

[jQuery] Loop only handling last item in the array

2009-06-09 Thread psc
I am very new to javascript/jquery so bare with me. I am using this loop code below with a populated array called "listarray": for(var i in listarray){ var currententry = listarray[i]; var finalurl="phpscript.php?entry="+currententry; jQuer

[jQuery] jQuery broken in FF3.5b99 (Preview)

2009-06-09 Thread benjam
I'm sure support for a beta release is a bad thing to be asking for, but I mostly just want to make sure I'm not going crazy (and to inform the devs of a possible issue). I have the current FF 3.5b99 (Preview Release) and am playing around on a WordPress (v2.7.1) installation on my dev box, and i

[jQuery] Re: Plug-in to display (overlay) DIV element on the page at all times?

2009-06-09 Thread waseem sabjee
on this note of z-index whenever i use an asp.net control ( the dropdown list ) it always appears over my absolutely position element. regardless of z-indexes. this error is occuring only on IE7 ie6, ie8, ff, safari, chrome is fine. just IE7 is being the deamon. i resolved this by doing a standar

[jQuery] Re: Form plugin asynchronous behavior

2009-06-09 Thread Dutch
Are you using php sessions? The start session call blocks untill the other script finishes. Script A: -> session_start(); -> do stuff for 30 sec Script B: -> session_start(); // waits 30 secs untill Script A releases the session -> do stuff for 2 sec Suggestion solution: Script A: -> session_st

[jQuery] Re: Ajax.load doesn't work for element?

2009-06-09 Thread waseem sabjee
What a CMS usually does. ( like joomla ) the contents of the head of a page is stored in a include file. you just call this include file each time. or based on certian variables you can call different include files. if you include parameters in your class for the include file you can edit your he

[jQuery] Re: Ajax.load doesn't work for element?

2009-06-09 Thread waseem sabjee
using document.ready(function() or $(function() means that JQuery only executes after the DOM is ready or fully loaded respectively. if you want to change the title of a page the simple document.title should work else you can have the head of a page load through either php or asp or jsp or any ot

[jQuery] Re: Handling key event in Chrome or Safari during a popup

2009-06-09 Thread waseem sabjee
check this link $("#mytextbox").keyup(function(event){ if (event.keyCode == 27) { $(this).attr({ value:"Escape" }); } }); On Tue, Jun 9, 2009 at 8:59 PM, Thierry wrote: > > I am currently following the image popup example from: > > http://yensdesign.com/2008/09/how-to-create-a-

[jQuery] Re: tabs with cycle crashes in ie6

2009-06-09 Thread waseem sabjee
Degrading is an options if browser is IE6 tabs will not be dynamic. you can use php or ASP to load content on postback however the above method is a last ditch solution On Tue, Jun 9, 2009 at 10:22 PM, Mauricio Vargas wrote: > Hi Everybody, > > i'm doing a site that uses tabs and cycle together

[jQuery] Re: Plug-in to display (overlay) DIV element on the page at all times?

2009-06-09 Thread waseem sabjee
z-index 7001 should be fine ? On Tue, Jun 9, 2009 at 11:25 PM, waseem sabjee wrote: > the was something in the JQuery UI called Overlay. > where it placed a rounder transparent div over some content. > > > On Tue, Jun 9, 2009 at 11:01 PM, Ricardo wrote: > >> >> Did you mean the feedback tab? The

[jQuery] Re: Plug-in to display (overlay) DIV element on the page at all times?

2009-06-09 Thread waseem sabjee
the was something in the JQuery UI called Overlay. where it placed a rounder transparent div over some content. On Tue, Jun 9, 2009 at 11:01 PM, Ricardo wrote: > > Did you mean the feedback tab? The name of the magic is position:fixed > and a high z-index, that's all. > > btw that looks like a r

[jQuery] Re: Plug-in to display (overlay) DIV element on the page at all times?

2009-06-09 Thread Ricardo
Did you mean the feedback tab? The name of the magic is position:fixed and a high z-index, that's all. btw that looks like a rip off from uservoice.com, who seems to have started this "feedback tab" thing On Jun 9, 10:20 am, Mark Livingstone wrote: > Example:http://www.daylife.com/(facebook tab

[jQuery] Ajax.load doesn't work for element?

2009-06-09 Thread hannes
Greetings, I'm trying to replace the of a page with the of another page. For example, in http://docs.jquery.com/Main_Page, I call $("head").load("/About head") expecting to replace the section of the current page with that of http://docs.jquery.com/About. However, the function seems to inse

[jQuery] Re: Form plugin asynchronous behavior

2009-06-09 Thread Dutch
test

[jQuery] Re: jquery Validate - send email failing

2009-06-09 Thread Jörn Zaefferer
In this case there is no apparent reason that the plugin could somehow affect your serverside script. A testpage is necessary to debug it. Jörn On Tue, Jun 9, 2009 at 7:36 PM, philco wrote: > > I am using the following... > > $().ready(function() { >        // validate the comment form when it i

[jQuery] Re: selector question

2009-06-09 Thread mkmanning
Yes you do, if you want to filter by ID. Unless the variable pid = "#some_id". On Jun 9, 1:29 pm, Danny wrote: > You probably don't want the '#' character in there: > $("div:not("+pid+") form span").css("background-color","yellow"); > > On Jun 9, 11:45 am, mkmanning wrote: > > > > > $("div:not(

[jQuery] Re: NEW jQuery Cheat Sheet for 1.3.2

2009-06-09 Thread FRAGgleROX
Thanks Matt! Very nicely done. On May 7, 12:01 pm, Matt Kruse wrote: > I've updated my previous cheat sheet to be in line with jQuery 1.3.2. > I think it's more useful than other cheat sheets that simply dump > method names, but hey, that's personal preference ;) > > http://www.javascripttoolbo

[jQuery] Superfish - solid background

2009-06-09 Thread Rafael Vargas
Hello, which is the setting (and where can I find it) to make the background of a dropdown menu solid? I like the settings from "A very basic superfish menu example" but I can't see where to override the color. I'm attaching an image (hopefully will go through) of how the superfish menu shows up o

[jQuery] iframe and xml

2009-06-09 Thread barton
I have been trying to insert xml into an iframe. I can do it kinda. The problem is the iframe has tags and if the xml has items that look like tags like etc they end up in the head. For example I have a atom file that looks like this: http://purl.org/atom/ns#";> Gmail - Inbox for bartonphill.

[jQuery] Re: jQuery Form Plugin with a submit button outside of the form

2009-06-09 Thread Mike Alsup
> You are able to span a form across a few divs. What I realized though > is that there must be an equel number of divs between the Form tags to > work properly Yeah, valid markup always helps. :-) http://validator.w3.org/

[jQuery] Re: selector question

2009-06-09 Thread Danny
You probably don't want the '#' character in there: $("div:not("+pid+") form span").css("background-color","yellow"); On Jun 9, 11:45 am, mkmanning wrote: > $("div:not(#"+pid+") form span").css("background-color","yellow"); > > On Jun 9, 8:19 am, squalli2008 wrote: > > > Hi, > > > Im trying to

[jQuery] Best Practices

2009-06-09 Thread SamCKayak
The following form is used in several plug-ins... var oGlobalObject; (function( externalObject) { ... code here, setup properties and methods on externalObject })( oGlobalObject ); so variable abc is defined as a global object with properties and methods.. Is the following form equivalent? va

[jQuery] tabs with cycle crashes in ie6

2009-06-09 Thread Mauricio Vargas
Hi Everybody, i'm doing a site that uses tabs and cycle together, cycle inside the tabs.. In Firefox (every version), opera, safari works... But when i go with IE6 into the page "Ambientes", the IE6 Crashes... and is not everytime... i am sending a link with a screenshot... Here is the SS: http:/

[jQuery] Re: jQuery Form Plugin with a submit button outside of the form

2009-06-09 Thread johnHoysa
You are able to span a form across a few divs. What I realized though is that there must be an equel number of divs between the Form tags to work properly for example this will work random content my form elements to submit content content submit button This will not work for me, and t

[jQuery] Re: Page turning effect

2009-06-09 Thread rwalsh
I Like it! It's actually close to something I've been trying to accomplish for a while. Now if only you had zoom in, in-line commenting for the page, and a smoother transition for the flip this would be GOLD! But all in all great work Oscar! On Jun 8, 12:56 pm, Oscar Alderete wrote: > Hi, I jus

[jQuery] Re: Remove links but not images

2009-06-09 Thread alex
Thanks for all the help folks - problem sorted out now - I appreciate it. Take care Alex On 9 June, 16:11, mkmanning wrote: > For the example markup you give it's very simple, just do this: > > $('ul li a').each(function(){ >         $(this).replaceWith( $(this).children() ); > > }); > > On Jun

[jQuery] Re: Remove links but not images

2009-06-09 Thread alex
Thanks for all the help folks - problem sorted out now - I appreciate it. Take care Alex On 9 June, 16:11, mkmanning wrote: > For the example markup you give it's very simple, just do this: > > $('ul li a').each(function(){ >         $(this).replaceWith( $(this).children() ); > > }); > > On Jun

[jQuery] Handling key event in Chrome or Safari during a popup

2009-06-09 Thread Thierry
I am currently following the image popup example from: http://yensdesign.com/2008/09/how-to-create-a-stunning-and-smooth-popup-using-jquery/ The demo is at: http://yensdesign.com/tutorials/popupjquery/ If I run the demo on Windows XP on Chrome or Safari, the escape key doesn't close the popup wi

[jQuery] Drag & Drop to sort categories and post this new sort order to dB?

2009-06-09 Thread Erich93063
OK so Ive been using jquery for a little bit now and love it. I am a ColdFusion developer. I have a need where I would like to present the user with a list of categories and the user can drag and drop to sort, but then I need to post this new sort order to the database. So I see there are a ton of

[jQuery] Re: Limit if a value can be selected in a drop down list (select) based on other list

2009-06-09 Thread pixelwiz
Hi All, here is a slight improvement and fix. Turns out you also need to check to make sure that the list id you're comparing to is not itself, and that the value is not blank: //check to make sure the slot is not already full var selectedValue; $('.ddl_slots').change(fun

[jQuery] Re: jQuery problem

2009-06-09 Thread GaVrA
You need to put jquery.js above all other .js's. On Jun 9, 2:58 pm, Masinov wrote: > I'm trying to use the autocomplete plugin for jQuery.  I include all > the nessesart .js libraries such as bgiframe.js, > jquery.autocomplete.js and jqury.js (version 1.3.2). I'm attaching the > autocomplete on

[jQuery] Re: jQuery problem

2009-06-09 Thread GaVrA
You need to put jquery.js above all other .js's. On Jun 9, 2:58 pm, Masinov wrote: > I'm trying to use the autocomplete plugin for jQuery.  I include all > the nessesart .js libraries such as bgiframe.js, > jquery.autocomplete.js and jqury.js (version 1.3.2). I'm attaching the > autocomplete on

[jQuery] Re: jquery Validate - send email failing

2009-06-09 Thread philco
I am using the following... $().ready(function() { // validate the comment form when it is submitted $("#commentForm").validate(); }); and the action in the form goes to thankyou.php

[jQuery] Re: UI accordion and appending new items

2009-06-09 Thread Branko Vukelic
On Jun 9, 12:51 pm, Jörn Zaefferer wrote: > Try to restart the accordion: .accordion("destroy").accordion() Thanks. I came to the exact same solution meanwhile. It works like a charm. -- Branko

[jQuery] Re: Pleas help with bug timepickr and validations plugin

2009-06-09 Thread Jörn Zaefferer
Have been working on this today, see http://code.google.com/p/jquery-utils/issues/detail?id=15 for details. I'll be releaseing 1.5.3 soon... Jörn On Tue, Jun 9, 2009 at 6:53 PM, Pitrsonek wrote: > > Hi, i need use jquery time picker: > http://haineault.com/media/jquery/ui-timepickr/page/ > and

[jQuery] Re: variable manipulation

2009-06-09 Thread simon
thanks mark, I knew there was a way as its similar to flash as coding , just I was putting the sqr brackets in wrong place thanks again

[jQuery] Pleas help with bug timepickr and validations plugin

2009-06-09 Thread Pitrsonek
Hi, i need use jquery time picker: http://haineault.com/media/jquery/ui-timepickr/page/ and jquery validation plugin: http://bassistance.de/jquery-plugins/jquery-plugin-validation/ When i link this librarys timepicker dont show time good: http://bug.dvdvnovinachacasopisech.eu/test.htm but when

[jQuery] Re: variable manipulation

2009-06-09 Thread Matt Kruse
On Jun 9, 9:35 am, simon wrote: > $.myvariable1 > $.myvariable3 > $.myvariable2 > now I would like to add the number part of the variable to it > dynamically. var i=1; $['myvariable'+i] === $.myvariable1 See: http://www.javascripttoolbox.com/bestpractices/#squarebracket Matt Kruse

[jQuery] Re: selector question

2009-06-09 Thread mkmanning
$("div:not(#"+pid+") form span").css("background-color","yellow"); On Jun 9, 8:19 am, squalli2008 wrote: > Hi, > > Im trying to select all spans in divs containing forms that dont have > a certain id > > $("div:not([id='#'+pid]) form span").css("background-color", > "yellow"); > > This selec

[jQuery] Re: jQuery's code first lin e (function(){・・・・・

2009-06-09 Thread Matt Kruse
On Jun 9, 7:39 am, darwin liem wrote: > function funcname1(){ /* do something here */ } > now we do something else like setTimeout to trigger the funcname1 > setTimeout("funcname1",1000); <-- this will delay until 1 second to trigger > the function No it won't. This will do nothing, since you

[jQuery] Re: variable manipulation

2009-06-09 Thread simon
what i havev done is constructe my page and all things working etc etc but long winded, then what I do is then begin to reduce the code down that is on that page whether it be asp, php of js, this way I learn more about the script and in future do that method instead and then my coding gets reduce

[jQuery] Re: Limit if a value can be selected in a drop down list (select) based on other list

2009-06-09 Thread pixelwiz
Ok, figured it out, just in case someone else needs it (there is probably a better way yet... //check to make sure the slot is not already full var selectedValue; var revert = false; $('.ddl_slots').change(function() { selectedValue = $(this).val();

[jQuery] Re: Marquee plugin

2009-06-09 Thread bharani kumar
one Good plugin, Thanks , but when i click the left or right side the button , it just showing next section of the images like image 4,5,6 , but am looking when user click left button , need to roll image left side, if clicked right is then move image's right side On Tue, Jun 9, 2009 at 6:37

[jQuery] Re: Limit if a value can be selected in a drop down list (select) based on other list

2009-06-09 Thread pixelwiz
But how do I add in the fact that I need to check that the currently selected value is not already selected in one of the other 50 drop- down lists on the page? Somehow I need to check if $(this).val() == compare to each selected value in every select on the page. Thanks On Jun 9, 11:45 am, was

[jQuery] Re: variable manipulation

2009-06-09 Thread waseem sabjee
what type of updating are you gonna do ? you mean to post these variables ? On Tue, Jun 9, 2009 at 5:43 PM, simon wrote: > > thanks for all the options guys, I did think of arrays but I got a lot > of updating to do if so and just to see if that could be done. > > luckly I only have three variab

[jQuery] Re: Limit if a value can be selected in a drop down list (select) based on other list

2009-06-09 Thread waseem sabjee
$("select").change(function() { var sval = $(this).va(); if(sal == 5) { } else { // do something } }); On Tue, Jun 9, 2009 at 5:35 PM, pixelwiz wrote: > > Hi, I have a little problem. > > I have a page that displays a list of people playing in a > tournament. > > I need to be able to generate

[jQuery] Re: variable manipulation

2009-06-09 Thread simon
thanks for all the options guys, I did think of arrays but I got a lot of updating to do if so and just to see if that could be done. luckly I only have three variables so not too much of an issue. I also was going to use asp scripting but again if others take on my work here it gets more visuall

[jQuery] Re: jQuery's code first lin e (function(){・・・・・

2009-06-09 Thread chris thatcher
Its called an anonymous closure and prevents jquery from leaking variables into the global scope. The anonymous closure is a function that is defined without a name. //named functions a very common //they are just functions assigned to a variable var myfunction = function(){}; //the anonymous fu

[jQuery] Limit if a value can be selected in a drop down list (select) based on other list

2009-06-09 Thread pixelwiz
Hi, I have a little problem. I have a page that displays a list of people playing in a tournament. I need to be able to generate a Leaderboard based on which players are manually selected by the admin. Next to each person there is a drop-down list. An admin can go in and select a "slot" that a

[jQuery] Re: jquery Validate - send email failing

2009-06-09 Thread Jörn Zaefferer
Are you using the submitHandler-option? There is an open issue that prevents the submitting button being send in combination with that option, that may cause your code to fail. Jörn On Tue, Jun 9, 2009 at 5:25 PM, Narendra sisodiya wrote: > what kind of validations are you using and on which eve

[jQuery] selector question

2009-06-09 Thread squalli2008
Hi, Im trying to select all spans in divs containing forms that dont have a certain id $("div:not([id='#'+pid]) form span").css("background-color", "yellow"); This selects all spans regardless of the ID.. Any suggestions would be great! Thanks in advance...

[jQuery] Re: jquery Validate - send email failing

2009-06-09 Thread Narendra sisodiya
what kind of validations are you using and on which event use for validation ? ~ N a R e N On Tue, Jun 9, 2009 at 8:48 PM, philco wrote: > > Wondered if anyone could help out. my form is set up to send an email > on submission, and is working correctly. But when i add the > validation, the redi

[jQuery] Re: variable manipulation

2009-06-09 Thread Narendra sisodiya
yeah agree . Its depend on the requirement if some one want to manipulate variable with random number than object is useful otherwise array is good option. ~N a R e N On Tue, Jun 9, 2009 at 8:46 PM, waseem sabjee wrote: > yeah. so its either an array or object. > > > but if you really wanna

[jQuery] Re: variable manipulation

2009-06-09 Thread Narendra sisodiya
try to use object like this: var myObject={}; var count=10; for(var i=0;iwrote: > sorry i had a syntax error > > heres the code > see just declare an array > declare the maximum number you want > > then loop through them one by one asigning a number to each one :) > > > var myVar = new Array();

[jQuery] jquery Validate - send email failing

2009-06-09 Thread philco
Wondered if anyone could help out. my form is set up to send an email on submission, and is working correctly. But when i add the validation, the redirect to the 'thank you' page works but no email is sent. Thanks for your help

[jQuery] Re: variable manipulation

2009-06-09 Thread waseem sabjee
yeah. so its either an array or object. but if you really wanna get messy and have variables like you listed you could echo it out through php script or do an asp response.write however that uses up server side memory to generate JavaScript on run time. so i woul say Array or Object :) On Tue

[jQuery] Re: Remove links but not images

2009-06-09 Thread mkmanning
For the example markup you give it's very simple, just do this: $('ul li a').each(function(){ $(this).replaceWith( $(this).children() ); }); On Jun 9, 6:26 am, Adardesign wrote: > Run a .each() to retrieve the images, and delete .remove() >  the images and place them into a var. > > Th

[jQuery] Re: variable manipulation

2009-06-09 Thread waseem sabjee
sorry i had a syntax error heres the code see just declare an array declare the maximum number you want then loop through them one by one asigning a number to each one :) var myVar = new Array(); // declare array var myvarcount = 10; // maximum vars for(var i = 0; i < myvarcount; i++) { // si

[jQuery] Re: variable manipulation

2009-06-09 Thread waseem sabjee
Why not use an array ? var myVar = new Array(); var myvarcount = 10; for(int i = 0; i < myvarcount; i++) { myVar[i] = "I am number : " + i; } On Tue, Jun 9, 2009 at 4:35 PM, simon wrote: > > I have some simple variables > > $.myvariable1 > $.myvariable3 > $.myvariable2 > > > now I would like

[jQuery] Re: Functions

2009-06-09 Thread simon
thanks for that, the only thing i did not try, I am learning now :-) many thanks Si

[jQuery] variable manipulation

2009-06-09 Thread simon
I have some simple variables $.myvariable1 $.myvariable3 $.myvariable2 now I would like to add the number part of the variable to it dynamically. var i=1 $.myvariable+i and so on, whats the way I could do this, i have tried several like $.myvariable[i] etc but nothing Si

[jQuery] Re: Functions

2009-06-09 Thread MorningZ
yes On Jun 9, 9:20 am, simon wrote: > so I would put my function outside of the $(document).ready(function() > { }? > > Many thanks > Si

[jQuery] Fwd: help for tooltip

2009-06-09 Thread Nader dasuki
please help me !!! -- Forwarded message -- From: Nader dasuki Date: Tue, Jun 9, 2009 at 2:25 PM Subject: help for tooltip To: jquery-en@googlegroups.com hello dears , how can i make same as this tooltip : http://www.alriyadh.com/ see this page at the top , in the above - left

[jQuery] jQuery Cache and AJAX question

2009-06-09 Thread LexHair
I store a jQuery object ($remove=$(’img.remove’);) in global space at document(ready). Later in the script, I use an AJAX get call which removes one of the images with that class and reloads the div container. The reload has a callback function which needs the number of elements with the 'remove'

[jQuery] Re:[validate] Beginners question. How to pass data from remote file to jQuery.format

2009-06-09 Thread leon
anyone that can help me

[jQuery] Re: Remove links but not images

2009-06-09 Thread Adardesign
Run a .each() to retrieve the images, and delete .remove() the images and place them into a var. Then remove all li gt(0) greater then and replace them into one It should be doable... On Jun 9, 9:07 am, Armand Datema wrote: > mm i dont know if this is the best way but you could try > > $("u

[jQuery] Re: Remove links but not images

2009-06-09 Thread Mauricio (Maujor) Samy Silva
1-) The dirty way: $('ul li a').removeAttr('href') 2-) A standard way: image = []; $('ul li a img').each(function(i) { image[i] = $(this).clone(); $(this).parents('li').html(image[i]); }) Maurício On Tue, Jun 9, 2009 at 2:13 PM, alex wrote: Hi folks This has me stumped. I

[jQuery] Plug-in to display (overlay) DIV element on the page at all times?

2009-06-09 Thread Mark Livingstone
Example: http://www.daylife.com/ (facebook tab on the left). Is anyone aware of a jQuery plug-in that would do something similar? Thanks.

[jQuery] Re: Functions

2009-06-09 Thread simon
so I would put my function outside of the $(document).ready(function() { }? Many thanks Si

[jQuery] Re: Remove links but not images

2009-06-09 Thread Armand Datema
mm i dont know if this is the best way but you could try $("ul a#click").onclick = function() { return false; } and then on that link you set a style class with the standard cursor Its a workaround but it works On Tue, Jun 9, 2009 at 2:13 PM, alex wrote: > > Hi folks > > This has me stumpe

[jQuery] Re: Marquee plugin

2009-06-09 Thread Erdwin Lianata
try something like jcaroussel plugins google will help you bharani kumar wrote: Hi All , Can u tell me which plugin satisfy me requirement , Like marquee , BACK *IMAGE1 IMAGE2 IMAGE3* NEXT When i click *back* , then i want to move image from *right *to *left *, If i click the

[jQuery] jQuery problem

2009-06-09 Thread Masinov
I'm trying to use the autocomplete plugin for jQuery. I include all the nessesart .js libraries such as bgiframe.js, jquery.autocomplete.js and jqury.js (version 1.3.2). I'm attaching the autocomplete on my textbox and I'm getting the error "jQuery is undefined". The autocomplete uses (function (

[jQuery] Re: Functions

2009-06-09 Thread MorningZ
function thisismyfunction(){ } $(document).ready(function(){ code in here }); $(document).ready(function(){ thisismyfunction() }); On Jun 9, 6:40 am, simon wrote: > I have some code seperated by  script: > > $(document).ready(function(){ >   code in here > >   function

[jQuery] Re: same effect on multiple objects with same id

2009-06-09 Thread simon
thanks everyone, thats great to here from all the suggestions will give it a go. Much appreciated Si

[jQuery] Re: jQuery's code first lin e (function(){・・・・・

2009-06-09 Thread darwin liem
its javascript, it got nothing to do with jQuery. for example function funcname1(){ /* do something here */ } now we do something else like setTimeout to trigger the funcname1 setTimeout("funcname1",1000); <-- this will delay until 1 second to trigger the function another way to call it setTime

[jQuery] Re: same effect on multiple objects with same id

2009-06-09 Thread Exom
I hope this helps: $(document).ready(function(){ $("#menubar > *").mouseover(function () { $(this).fadeTo("slow", 0.33); }); $("#menubar > *").mouseout(function () { $(this).fadeTo("slow", 1); }); });

[jQuery] Re: same effect on multiple objects with same id

2009-06-09 Thread NickFitz
On Jun 9, 11:56 am, simon wrote: > this works fine but gives me a lot of jquery code as well for each as > i also have a click action after it, but thats another matter, what i > am after is if i just give it the same id as below  then i would like > only to have one hover code that would do the

[jQuery] [Off-Topic (maybe)] Subversion and Bugtracking

2009-06-09 Thread Paulodemoc
Someone here would happen to know a good bugtracking system that I can start using? It can be free or open source. I also use TortoiseSVN, does it work good with any system in particular? If someone here could point me the directions so I could start, I would be highly appreciated. Thanks, Paul

[jQuery] Safari and Chrome code execution problem

2009-06-09 Thread r1u0...@gmail.com
Hi, I'm developing with jQuery quite long right now, but recently I spotted one big problem with execution of jQuery code in Safari and Chrome. So everything is working fine in these browsers until jQuery code is placed in one page. But when using for example tabs plug-in loaded with ajax and on

[jQuery] Re: How to know if div opened or closed

2009-06-09 Thread tij_dev
Thanks a lot I'll try that :) On 9 juin, 13:19, Armand Datema wrote: > Here is part of the code we use to set a min or max image on the collapsed > pane ( check the display property of your element > >                 var visibility = jQuery(this).css('display'); > >                 if (visibili

[jQuery] Re: same effect on multiple objects with same id

2009-06-09 Thread Mauricio (Maujor) Samy Silva
Why not use a class instead of an id in order to target all buttons? Or alternatively something like: $('img[alt="button"]').hover( function () { $(this).fadeTo('fast', .10); }, function () { $(this).fadeTo('fast', 1.0); } ); Maurício -Mensagem Ori

[jQuery] Re: Can jQuery parse XML locally?

2009-06-09 Thread fredriley
Thanks, Kevin - it's nice to know that I'm not alone and not doing anything stupid. I suspect, like you, that it is a security thing, which would be fine if IE actually generated a useful warning or error message. Instead it just doesn't work and generates zilch, nada, niente, bubkes, zip, zero...

[jQuery] help for tooltip

2009-06-09 Thread Nader dasuki
hello dears , how can i make same as this tooltip : http://www.alriyadh.com/ see this page at the top , in the above - left side plz help me regards -- Eng. Nader Dasuqi Project Manager +9665339217533

[jQuery] Re: same effect on multiple objects with same id

2009-06-09 Thread Armand Datema
Hi you cannot have multiple ids ids are unique you need to use a class name instead . end loop So only this loops and i only need the code below once. $(document).ready(function(){ $("img.hoverbutton").hover( function () { $(this).fadeTo('fast', .50); }, function () {

[jQuery] Re: How to know if div opened or closed

2009-06-09 Thread Armand Datema
Here is part of the code we use to set a min or max image on the collapsed pane ( check the display property of your element var visibility = jQuery(this).css('display'); if (visibility == "none") { $image.attr('src', pageurl+"max.png");

[jQuery] same effect on multiple objects with same id

2009-06-09 Thread simon
I basically have several buttons that are created dynamically via a db, so I can have 1 to 40 etc. now at the moment I give each one a unique id and a hover code in the loops. see below: loops goes here.. $(document).ready(function(){ $("#myButton").hover( function () { $(this).f

[jQuery] Re: UI accordion and appending new items

2009-06-09 Thread Jörn Zaefferer
Try to restart the accordion: .accordion("destroy").accordion() Jörn On Tue, Jun 9, 2009 at 8:52 AM, foxbunny wrote: > > Has anyone been successful in appending new items to the jQuery UI > accordion widget? I'm trying all sorts of things, but however I > manipulate the items in the accordion (l

[jQuery] Re: jQuery cycle plugin help

2009-06-09 Thread Mike Alsup
> I have been using jQuery cycle plugin for a banned with some content > that fades in and out in a slideshow sort of thing but I would like to > be able to div individually. Rather than saying all instances of > #projects become a slide, i would like #project_img, #project_title > and #project_de

[jQuery] Re: Front page Slider

2009-06-09 Thread huytoan.pc
http://blueprintds.com/2009/01/20/top-14-jquery-photo-slideshow-gallery-plugins/ On Jun 9, 4:03 am, Nader dasuki wrote: > hello dears . how can i make same as this > :http://www.aljazeera.net/Portal/Aspx/GetSiteNews.aspx?SummaryPagePath... > > regards. > > -- > Eng. Nader Dasuqi > Project Man

[jQuery] Re: Call for contributors: A simple, fast and flexible grid/spreadsheet component.

2009-06-09 Thread Craig G
I too think that we need an example of how to incorporate Ajax/Lazy loading into slickgrid.

  1   2   >