[jQuery] Re: return value of nested functions is always undefined

2009-06-22 Thread anawak82
Hi Rob, thank you for your quick reply! > Add a return statement to getPrice, maybe something like: > > function getPrice(id) { > return $.get('db.xml', function(d){ > ... > }); I am sorry to say that this only return a XMLHttpRequest but not the value of the variable price. Ki

[jQuery] Re: Question on writing a jQuery plugin

2009-06-22 Thread Steven Yang
Hi I am not too sure if you can do that but to my understanding all jQuery plugin returns the selected jQuery object so if you want to do that you have to add plugin function to jQuery directly you might want to see how jQuery ui dialog and datepicker to find out how they do something similar

[jQuery] Re: dataset load

2009-06-22 Thread GRaC
hahaha... thanks oh great Cesar! -GRaC On Jun 23, 2:27 am, "Cesar Sanz" wrote: > jQuery(document).read(...); > > this just ensure all dom is completed loaded, so doesn't wait to images, etc > to be > in the document. > You can make your ajax call here. > > > > - Original Message - > From

[jQuery] jCarousel & Google Chrome

2009-06-22 Thread Raph
I am having an issue with unhiding carousels. When a carousel is initially hidden (like on a tab), then the div in which it resides is set to display:block, the carousel is empty. In IE/FF this is resolved rather easily by not initializing the carousel (calling $("#myObj").jcarousel(...) until i

[jQuery] Re: return value of nested functions is always undefined

2009-06-22 Thread RobG
On Jun 23, 6:24 am, anawak82 wrote: > Hi, > I am just trying to learn a little bit about jQuery. Now I have a > problem with returning a value from a function. > > The following code works fine, when I tested it with alert(price) or > any other way of echoing the value directly. But if I try so

[jQuery] jQuery and Google Chrome

2009-06-22 Thread Raph
I am having an issue with unhiding carousels. When a carousel is initially hidden (like on a tab), then the div in which it resides is set to display:block, the carousel is empty. In IE/FF this is resolved rather easily by not initializing the carousel (calling $("#myObj").jcarousel(...) until i

[jQuery] Trigger jquery event on ajax loaded content

2009-06-22 Thread Steve the Canuck
Hi, I'm using the jquery Star-Rating widget. However, I'm returning the set of input radio elements required to display the widget as the result of an ajax call. In order to convert these widgets to the star rating display I need to call the .rating() function based on the selector. How do I g

[jQuery] Re: Click events handling conflict due to prototype?

2009-06-22 Thread Steve the Canuck
Thanks, yes, I should have mentioned - I do have jQuery.noConflict() declared at the top of each of my scripts to avoid conflicts in general. I've also stepped through the code in a debugger using Firebug. I put a breakpoint on my selector for the anchor tag, and I see in the debugger that it se

[jQuery] Re: Determine if autocomplete returns an empty list and number of records returned

2009-06-22 Thread Dushyant Patel
i foundnd it, but its getting some flicker effect. how to avoid that? do you any idea? please share with me. Thanks On Jun 22, 7:36 pm, Dushyant Patel wrote: > Could you please tell me where exactly added following script block. > >         isEmpty: function(data) { >                 if (data =

[jQuery] Re: jquery-ui dialog and ajax issues updating from 1.2.6 to 1.3.2

2009-06-22 Thread Etienne Robillard
Thanks! I'll upgrade to jQuery UI 1.7+ and retry.. :D Best regards, Etienne Cesar Sanz wrote: > I had the problem too.. > > You must to update jquery and ui too > > - Original Message - > From: "James" > To: "jQuery (English)" > Sent: Monday, June 22, 2009 12:18 PM > Subject: [jQu

[jQuery] Re: Array to JSON?

2009-06-22 Thread Josh Powell
That's okay, javascript doesn't have associative arrays, only arrays with object properties. On Jun 22, 2:45 pm, Ricardo wrote: > before someone complains: that function won't handle arrays (only > objects) > > On Jun 22, 6:39 pm, Ricardo wrote: > > > Usually you'll send out parameters in query

[jQuery] Re: Click events handling conflict due to prototype?

2009-06-22 Thread Charlie
have you tried using jQuery.noConflict();  ? http://docs.jquery.com/Using_jQuery_with_Other_Libraries Steve the Canuck wrote: Thanks, I tried this, but it doesn't seem to work: jQuery('.cancel_posting').click( function(e) { alert("got here"); if (!confirm("Are you sure you want to c

[jQuery] Re: jQuery Autocomplete - After service call if result is NULL then layer should be invisible

2009-06-22 Thread Dushyant Patel
I tried following one: In the request function after the line var data = cache.load(term); I added the following: if (!data) { options.isEmpty(0); } else { options.isEmpty(data.length); } And in my autocomplete code, I adde

[jQuery] Re: Toggle Not Working

2009-06-22 Thread Charlie
appears you are trying to use toggle with 2 functions the same way hover works with it's 'over' function and  'out' function toggle arguments are toggle(speed,[callback]) try this: $('a.toggle').click(function(){                                 $(this).parents('div.portlet').children('.po

[jQuery] Re: Determine if autocomplete returns an empty list and number of records returned

2009-06-22 Thread Dushyant Patel
Could you please tell me where exactly added following script block. isEmpty: function(data) { if (data == 0) { $("#result").html("No match found"); } } I am having same problem, but i don't want to show message, i just want

[jQuery] Re: Array to JSON?

2009-06-22 Thread Nic Hubbard
Yeah, I am not too hot on using a plugin for this. I had hoped there was just a quick function that I could pass in an array and return JSON. On Jun 22, 8:28 am, diogobaeder wrote: > Hmmm... why would one use this plugin if we have Douglas Crockford's > json2.org, which is the original JSON lib

[jQuery] Re: .load() function control

2009-06-22 Thread Charlie
here's a couple of options: add a class to your FAQ only used for the click function, remove the class inside the load success function. change $("FAQ).click..    to $(".newClickClass").click.. after appending content : removeClass("newClickClass") or simpler hide or remove #FAQ if

[jQuery] Re: crazy if... !not working.

2009-06-22 Thread Charlie
you're loading jquery twice. Remove top one, not recommended to  serve it from jquery site, put your animation script below your local  version of jquery should work then umcosta wrote: Ok, here is what I want to do (extracted from: http://docs.jquery.com/Traversing/hasClass): "http://co

[jQuery] Re: basic jQuery/JavaScript pattern

2009-06-22 Thread Scott Sauyet
jerome wrote: (function(){ ... })(); How is this basic to understanding how jQuery works, and how JavaScript works? The basic idea is that global variables are evil. This technique moves what would otherwise be global variables into a closure [1], removing them from the global scope. For

[jQuery] Re: crazy if... !not working.

2009-06-22 Thread umcosta
ok guys... sorry for the inconvenient. Here is the solution in case someone needs: $(document).ready(function(){ $.localScroll(); $("a.thumb").fancybox(); }); On Jun 22, 9:29 pm, umcosta wrote: > Ok,

[jQuery] Re: Array to JSON?

2009-06-22 Thread Ricardo
before someone complains: that function won't handle arrays (only objects) On Jun 22, 6:39 pm, Ricardo wrote: > Usually you'll send out parameters in query strings, only receive data > in JSON, which is what jQuery is equipped to do. If you don't want the > weight of a plugin you could use somet

[jQuery] Re: Array to JSON?

2009-06-22 Thread Ricardo
Usually you'll send out parameters in query strings, only receive data in JSON, which is what jQuery is equipped to do. If you don't want the weight of a plugin you could use something like this: function toJSON(obj){ var json = '({'; $.each(obj, function(k,v){ var q = typeof v == 'string' ?

[jQuery] Re: dataset load

2009-06-22 Thread Cesar Sanz
jQuery(document).read(...); this just ensure all dom is completed loaded, so doesn't wait to images, etc to be in the document. You can make your ajax call here. - Original Message - From: "GRaC" To: "jQuery (English)" Sent: Monday, June 22, 2009 10:10 AM Subject: [jQuery] dataset

[jQuery] Re: jQuery Autocomplete - After service call if result is NULL then layer should be invisible

2009-06-22 Thread tarave
I'm having the same problem today. Looks like another person did to and thier fix was to put a hack into the autocomplete plugin code.

[jQuery] Re: jQuery Autocomplete - After service call if result is NULL then layer should be invisible

2009-06-22 Thread tarave
here is a link... http://groups.google.com/group/jquery-en/browse_thread/thread/9011e7faa57dca06 On Jun 22, 3:18 pm, tarave wrote: > I'm having the same problem today.  Looks like another person did too > and thier fix was to put a hack into the autocomplete plugin code.

[jQuery] Re: Click events handling conflict due to prototype?

2009-06-22 Thread Steve the Canuck
Thanks, I tried this, but it doesn't seem to work: jQuery('.cancel_posting').click( function(e) { alert("got here"); if (!confirm("Are you sure you want to cancel this booking?")) { e.preventDefault(); } });

[jQuery] Re: jQuery Autocomplete - After service call if result is NULL then layer should be invisible

2009-06-22 Thread Dushyant Patel
it return result but its null. and in that case i want to hide layer by calling select.hide(); but where should i call it. where to check that data==null and call select.hide(); Please help me on this. Thanks On Jun 22, 11:10 am, Jörn Zaefferer wrote: > What happens when yourservicedoesn't

[jQuery] Re: Click events handling conflict due to prototype?

2009-06-22 Thread Cesar Sanz
Use jQuery and not $ - Original Message - From: "Steve the Canuck" To: "jQuery (English)" Sent: Monday, June 22, 2009 10:34 AM Subject: [jQuery] Re: Click events handling conflict due to prototype? Btw... I do have a workaround - register my click event on something outside the tabl

[jQuery] Validate

2009-06-22 Thread Mark
HI I am trying to use the Validate plugin for Jquery with .NET. I managed to work it out on one particular page. However I have a minor problem. Let's suppose you have a page with 2 Query tabs. In the first tab the user can add a Person which includes Name, Surname etc. In the other tab the user c

[jQuery] dataset load

2009-06-22 Thread GRaC
My first question and a possible n00b question... I wanna preload a asp.net dataset by firisng a webservice without waiting for the document to complete load ... Images etc I know it will need ajax call... Can xome someone here kindly walk me through the steps to do this ?

[jQuery] jQuery in an eBay auction template? Is it possible?

2009-06-22 Thread eepeterson
Ok, let me start by saying I'm not a great programmer. I can do well with HTML & CSS but don't know a ton about js & jQuery. Anyway, I'd like to include some jQuery in the form of a gallery of images in my eBay auction. However the problem I run into is that when I paste the completed code into t

[jQuery] Jeditable, Should a rebind be necessary after ajax return?

2009-06-22 Thread imm102
Hi, I have 3 fields that im attaching jeditable to. I run my own ajax function to send the form elements to the edit url. All works fine but the controls seem to get unbound when i click the submit button in firefox and chrome. If i submit using the enter key they do not get unbound. I don't thin

[jQuery] documentation

2009-06-22 Thread YugaWebS
Hi! Thanks a lot for this plugin! I've started to explore star-rating plugin today and at this moment I have two notices about the documentation which could be found at http://www.fyneworks.com/jquery/star-rating/#tab-Overview. Firslty, I think that it is not always easy to understand for every

[jQuery] return value of nested functions is always undefined

2009-06-22 Thread anawak82
Hi, I am just trying to learn a little bit about jQuery. Now I have a problem with returning a value from a function. The following code works fine, when I tested it with alert(price) or any other way of echoing the value directly. But if I try something like var test = getPrice(324), the variabl

[jQuery] crazy if... !not working.

2009-06-22 Thread umcosta
Ok, here is what I want to do (extracted from: http://docs.jquery.com/Traversing/hasClass): http://code.jquery.com/jquery-latest.js";> $(document).ready(function(){ $("div").click(function(){ if ( $(this).hasClass("protected") ) $(this).animate({ left: -10 }, 75)

[jQuery] Re: jquery-ui dialog and ajax issues updating from 1.2.6 to 1.3.2

2009-06-22 Thread Cesar Sanz
I had the problem too.. You must to update jquery and ui too - Original Message - From: "James" To: "jQuery (English)" Sent: Monday, June 22, 2009 12:18 PM Subject: [jQuery] Re: jquery-ui dialog and ajax issues updating from 1.2.6 to 1.3.2 When you update jQuery to 1.3+ from an ol

[jQuery] .load() function control

2009-06-22 Thread mojoeJohn
I'm loading content with the .load() method. How do i only allow one click to the link. I don't want future clicks to keep loading the same content. $(document).ready(function(){ $("#FAQ").click(function(){ $('').load("content.htm #faqs" , function(){ $(this).hide()

[jQuery] NyroModal stripping out my JS

2009-06-22 Thread Loony2nz
I have NyroModal plugin pulling in a page with javascript on the page. And NyroModal is stripping out the scripts. < script > header tags are gone. inline JS is gone. What gives? :( Thanks

[jQuery] Toggle Not Working

2009-06-22 Thread Gercek Karakus
Hi everyone, I am having problems with Toggle. You can see the jQuery and XHTML code below. Please let me know if you can see what's going wrong here. Thanks, $(document).ready( function() { $('a.toggle').click(function() {

[jQuery] Show/Hide multiple table rows. Pls help

2009-06-22 Thread Kerry
Hi, I have a problem i've been trying to solve for a while. I have a table that is dynamically generated. I need to be able to hide and show certain table rows. for e.g. DATA1

[jQuery] Re: Error : 'document' is undefined

2009-06-22 Thread nanditha k
Thank you , Charlie On Mon, Jun 22, 2009 at 12:56 PM, Charlie wrote: > > try here: http://jquery.com/ > > if you plan on using jquery much or any web development install Firefox and > Firebug extension. Far more friendly development browser > > if you can't download from above site the following

[jQuery] Re: jquery-ui dialog and ajax issues updating from 1.2.6 to 1.3.2

2009-06-22 Thread James
When you update jQuery to 1.3+ from an older version, you also have to update your UI library to 1.7+ because jQuery 1.3+ is not compatible with older versions of jQuery UI. On Jun 22, 5:25 am, Etienne Robillard wrote: > Hi, > > I'm using jquery-ui 1.6 custom build with jquery 1.2.6 trying to >

[jQuery] Re: basic jQuery/JavaScript pattern

2009-06-22 Thread Charlie
since jquery is _javascript_, and probably the best reference on the web for learning _javascript_ ( and many other languages) is w3schools.com try this link: http://www.w3schools.com/js/js_functions.asp hard to beat their explanations and "try it yourself" examples jerome wrote: I kee

[jQuery] basic jQuery/JavaScript pattern

2009-06-22 Thread jerome
I keep running across this type of pattern in the jquery source code. (function(){ ... })(); How is this basic to understanding how jQuery works, and how JavaScript works? Thanks in advance.

[jQuery] Re: Is this the correct way to get the value of a checked radio input?

2009-06-22 Thread Rick Faircloth
Excellent...thanks, Waseem... Rick On Mon, Jun 22, 2009 at 11:49 AM, waseem sabjee wrote: > remove the @ symbol > > > On Mon, Jun 22, 2009 at 5:40 PM, Rick Faircloth > wrote: > >> $( >> 'inp...@name=deals]:checked').val(), >> I'm having some trouble getting the right results and trying to narro

[jQuery] Re: Error : 'document' is undefined

2009-06-22 Thread Charlie
try here: http://jquery.com/ if you plan on using jquery much or any web development install Firefox and Firebug extension. Far more friendly development browser if you can't download from above site the following is Google hosted jquery and is great way to use it, no file paths or download

[jQuery] Re: Click events handling conflict due to prototype?

2009-06-22 Thread Steve the Canuck
Btw... I do have a workaround - register my click event on something outside the table, such as the body tag, and then check the original event target. I'd prefer to target just the list item and anchor though if possible. On Jun 22, 11:14 am, Steve the Canuck wrote: > Hi, > > I have a simple l

[jQuery] Re: Label disappears on validation

2009-06-22 Thread ypy
Yeah !! Wonderful ! Thank you very much, it works : label.champrequisvide { display: none !important; } On 22 juin, 18:05, Jörn Zaefferer wrote: > Try this: > > .champrequisvide { display: none !important; } > > Jörn > > On Mon, Jun 22, 2009 at 5:17 PM, ypy wrote: > > champrequisvide

[jQuery] Re: Label disappears on validation

2009-06-22 Thread Jörn Zaefferer
Try this: .champrequisvide { display: none !important; } Jörn On Mon, Jun 22, 2009 at 5:17 PM, ypy wrote: > champrequisvide

[jQuery] Re: Problems on IE7

2009-06-22 Thread Charlie
I'm far from an expert but your glossary is using a script to manipulate the DOM. If DOM isn't valid, scripts manipulating it are likely to have problems. A lot of  behind the scenes  repositioning, styling etc  occur to tags in browser when manipulation scripts run so it only makes sense that

[jQuery] Re: How to abort fadein/out processing?

2009-06-22 Thread adamscybot
Just a quick update. I found a better solution. This works 100%: $(document).ready(function() { $('.navbutton').not("#active").siblings(".rollover").css({ opacity:0, display:'block' }); $(".navbutton").not("#active").hover(function(){ $(this).siblings(".rollover"

[jQuery] jquery-ui dialog and ajax issues updating from 1.2.6 to 1.3.2

2009-06-22 Thread Etienne Robillard
Hi, I'm using jquery-ui 1.6 custom build with jquery 1.2.6 trying to set up a dialog window. Unfortunately I can't update to 1.3.2 since this would trigger some unexpected XHR-related bugs like the following: Exception ``TypeError: M.xhr is not a function'' thrown from function anonymous(M=Obje

[jQuery] Click events handling conflict due to prototype?

2009-06-22 Thread Steve the Canuck
Hi, I have a simple list inside a table Cancel I have a ready event handler for click events on the anchor: $j('.cancel_posting').click( function(e) { if (!confirm("Are you sure you want to cancel this booking?")) { e.preventDefault();

[jQuery] Re: Array to JSON?

2009-06-22 Thread diogobaeder
Hmmm... why would one use this plugin if we have Douglas Crockford's json2.org, which is the original JSON library from the same creator of the concept "JSON"? And why load more modules into the main jQuery object, making it heavier, if we don't use DOM element wrappers in the plugin, only convers

[jQuery] Re: Is this the correct way to get the value of a checked radio input?

2009-06-22 Thread waseem sabjee
remove the @ symbol On Mon, Jun 22, 2009 at 5:40 PM, Rick Faircloth wrote: > $( > 'inp...@name=deals]:checked').val(), > I'm having some trouble getting the right results and trying to narrow down > the problem... > Thanks, > > Rick > > > --

[jQuery] Is this the correct way to get the value of a checked radio input?

2009-06-22 Thread Rick Faircloth
$('inp...@name=deals]:checked').val(), I'm having some trouble getting the right results and trying to narrow down the problem... Thanks, Rick "Ninety percent

[jQuery] Re: Potential "blind sql injection" vulnerability with Superfish JS?

2009-06-22 Thread gremlin
The other possibility is that it isn't the suckerfish code, but the actual links you have in your markup that get turned into the menu. If you are handling query string params in any of those links I would start looking there. On Jun 19, 1:45 pm, Olivier Percebois-Garve wrote: > I dont see how s

[jQuery] Re: I am new to this Jquery....i need to display 4 messages(in news sectiiion) one after another in a div tag

2009-06-22 Thread waseem sabjee
I'm just providing alternate ways because i do not have enough information. On Mon, Jun 22, 2009 at 5:11 PM, Charlie wrote: > waseem, why would you make this so complicated for someone just learning > jquery? > > OP didn't provide any info on where messages are coming from. Creating > arrays, c

[jQuery] Re: Problems on IE7

2009-06-22 Thread xoail
Yeah now I see the errors... but what I cant understand is why would it work when I dont click glossary and directly go to search? The issue only occurs when glossary is used first and then search but if I hit search before using glossary, it works fine. If it had to do with validations, I would

[jQuery] Re: Form Validation Plugin: customize input validation

2009-06-22 Thread Loony2nz
OICok. i'm not really good with regular expressions (hell, i'm absolutely horrible at it), but I'll give it a shot. On Jun 22, 1:15 am, Jörn Zaefferer wrote: > You can write a custom > method:http://docs.jquery.com/Plugins/Validation/Validator/addMethod > > Jörn > > On Mon, Jun 22, 2009 at

[jQuery] Re: Label disappears on validation

2009-06-22 Thread ypy
Thank you for your answer. It works !! But know I have another problem : a new unwanted label appears... This field is required. Can you tell me how to hide that one ? errorClass: "champrequisvide", errorContainer: "#messageChampsManquants", // div qui indique

[jQuery] Re: I am new to this Jquery....i need to display 4 messages(in news sectiiion) one after another in a div tag

2009-06-22 Thread Charlie
waseem, why would you make this so complicated for someone just learning jquery? OP didn't provide any info on where messages are coming from. Creating arrays, click counts etc when you don't have enough information to set anything up is very likely going to confuse someone. A couple of simpl

[jQuery] Re: jQuery Autocomplete - After service call if result is NULL then layer should be invisible

2009-06-22 Thread Jörn Zaefferer
What happens when your service doesn't return a result? As long as it returns an empty result (not an error), it should work fine. Jörn On Mon, Jun 22, 2009 at 5:01 PM, Dushyant Patel wrote: > > Hello, > > I am using jQuery Autocomplete Plug-ins(http://bassistance.de/jquery- > plugins/jquery-plu

[jQuery] jQuery Autocomplete - After service call if result is NULL then layer should be invisible

2009-06-22 Thread Dushyant Patel
Hello, I am using jQuery Autocomplete Plug-ins(http://bassistance.de/jquery- plugins/jquery-plugin-autocomplete/). Let me explain my problem: If i am looking for "shirt" and star typing "shi" and it showing me 10 results for shirt, but now after "shi" if i type like "shixyzyz" it should clear l

[jQuery] Re: Label disappears on validation

2009-06-22 Thread Jörn Zaefferer
Because you are adding the error class to your default label, and the validation plugin uses that to identify the generated error labels. Use a different class in your highlight/unhighlight options, with the same styles, and it'll work. Jörn On Mon, Jun 22, 2009 at 4:46 PM, ypy wrote: > > Why do

[jQuery] Re: am searching popup plugin

2009-06-22 Thread bharani kumar
Hi Thanks , useful one , On Mon, Jun 22, 2009 at 6:39 PM, Charlie wrote: > your not liking the answer doesn't constitute someone else not > understanding the question. > > Here's a jqueryUI dialog that floats with scroll. There is another way to > do this by making it position:fixed but require

[jQuery] Re: Label disappears on validation

2009-06-22 Thread ypy
Why do the form's labels disappear once a required field is filled ? I Use the last versions of jquery and validate plugin On 18 juin, 11:52, ypy wrote: > Hi, > > Let me describe the problem I have to solve : > > When a field is unvalid : its label gets the errorClass class. > Allright ! > > Wh

[jQuery] SOT: Transparent AIR apps with custom chrome (using jQuery)

2009-06-22 Thread Andy Matthews
I just released another blog post in my jQuery and AIR series. http://andymatthews.net/read/2009/06/21/jQuery-and-AIR:-Transparent-AIR-appl ications-with-custom-chrome

[jQuery] Re: I am new to this Jquery....i need to display 4 messages(in news sectiiion) one after another in a div tag

2009-06-22 Thread waseem sabjee
I assume you with this done on an on click event use the following html to test Display Message the script for the following html $(function() { // wait for DOM to FULLY load // declare the div with id="object" as our refference point var obj = $("#object"); //get the refference to the

[jQuery] Re: jQuery returns [object Object] on a blank page -- i am a newbie please help

2009-06-22 Thread Joaquim
can anyone please help? On Jun 17, 7:15 pm, Joaquim wrote: > HI, > > i am trying to build a bookmarklet using jQuery to display a form in > an overlay. The overlay displays displays correctly if I execute the > code from a file. But once i move it to the href of a link, it returns > a blank page

[jQuery] Re: I am new to this Jquery....i need to display 4 messages(in news sectiiion) one after another in a div tag

2009-06-22 Thread ryan.j
have a look at .append() and .appendTo() ( http://docs.jquery.com/Manipulation/append and http://docs.jquery.com/Manipulation/appendTo ) append will add some content to the end of an element, append to will append a specified element to another. if that's all g(r)eek to you, here is a brief des

[jQuery] Re: How to abort fadein/out processing?

2009-06-22 Thread adamscybot
I used the slightly better: http://blog.threedubmedia.com/2008/08/eventspecialhover.html Works well. Thanks, Adam

[jQuery] Re: How to abort fadein/out processing?

2009-06-22 Thread adamscybot
Very interesting. Will post back with results.

[jQuery] Re: How to abort fadein/out processing?

2009-06-22 Thread Charlie
take a look at Hover Intent plugin, page explains your problem http://cherne.net/brian/resources/jquery.hoverIntent.html adamscybot wrote: This doesnt work at all, even without the stop(). Nav bar is unresponsive.

[jQuery] I am new to this Jquery....i need to display 4 messages(in news sectiiion) one after another in a div tag

2009-06-22 Thread anjith
i need to display 4 messages(in news sectiiion) one after another in a div tag.as in yahooo.

[jQuery] Re: Problems on IE7

2009-06-22 Thread Charlie
validator shows recurring ID's missing script type's, broken tags , invalid style placements, invalid xhtml tags  etc, http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fpjm.com the errors part can be seen in web dev toolbar in firefox. Mostly they are warnings and these seem to be qu

[jQuery] Re: How to abort fadein/out processing?

2009-06-22 Thread adamscybot
This doesnt work at all, even without the stop(). Nav bar is unresponsive.

[jQuery] Re: How to abort fadein/out processing?

2009-06-22 Thread Liam Potter
ok, try this then $(document).ready(function() { $(".navbutton").not("#active").hover(function(){ $(this).stop().siblings(".rollover").animate({opacity: 1},300); },function(){ $(this).stop().siblings(".rollover").animate({opacity: 0},300); }); }); adamscybot wrote: I tri

[jQuery] Re: How to abort fadein/out processing?

2009-06-22 Thread adamscybot
I tried this but it had no affect. I also tried stop() after siblings(".rollover"). which appears to work but permanently breaks the nav bar if you move your mouse over it quickly.

[jQuery] Re: am searching popup plugin

2009-06-22 Thread Charlie
your not liking the answer doesn't constitute someone else not understanding the question. Here's a jqueryUI dialog that floats with scroll. There is another way to do this by making it position:fixed but requires some position calculation within viewport to offset the positon calculations in

[jQuery] Re: How to abort fadein/out processing?

2009-06-22 Thread Liam Potter
add a stop before animations/fadeIns etc $(document).ready(function() { $(".navbutton").not("#active").hover(function(){ $(this).stop().siblings(".rollover").fadeIn(300); },function(){ $(this).stop().siblings(".rollover").fadeOut(300); });

[jQuery] How to abort fadein/out processing?

2009-06-22 Thread adamscybot
Hi, This is my first time using jquery and Ive designed a small and simple fadein/out script that acts as a rollover on this navigation bar: http://relentless-servers.co.uk/Relentless%20Servers%20v3/ Here is the code: $(document).ready(function() { $(".navbutton").not("#active").hover(

[jQuery] Re: Problems on IE7

2009-06-22 Thread xoail
What tool did you use to see all those errors? I tried firebug and fiddler but they dont show much. Also, I tried on another PC and I got the same problem with IE7. Thanks! On Jun 20, 6:04 pm, Charlie wrote: > i tried this in IE 7 and was able to get to search after closing modal > without com

[jQuery] Re: Undocumented move/copy behavior of append() et al.

2009-06-22 Thread Eyveneena
when i need to clone something and use it in the same document i use this $(element to clone usually (this)).clone().prependTo(whereever); hope that helps Markus Gritsch-2 wrote: > > > Perfect :) > > On Sun, Dec 28, 2008 at 11:45 PM, Dave Methvin > wrote: >> >> Here's what I came

[jQuery] Re: Submenu disappears too fast

2009-06-22 Thread Charlie
try setting delay as in Superfish API  http://users.tpg.com.au/j_birch/plugins/superfish/#options if that doesn't do anything chances are your script isn't firing . Main menu won't appear any differently if script isn't firing non firing script can be for any number of reasons is this a CMS

[jQuery] Re: PDF + Jquery + thickbox is not suppoting to Mozilla

2009-06-22 Thread bharathbhooshan ambati
Yeah you are right... when i used iframes in IE it worked fine(when i clicked a link the pdf will be popup)... where as in mozilla,i am facing the problem of viewing pdfs in both frame as well as iframe thanks for spending time on this..please rep asap Regards, Bharath On Mon, Jun 22, 2009 at 5

[jQuery] Re: Accessing iframe's content

2009-06-22 Thread Paul Peelen
So i've noticed... good to get it confirmed. The weird thing that I noticed is that JSON can get the contents of the page, but in JQuery it tries to read it as an script. I don't know that much about JSON though.. Thanks for you answer! Regards, Paul Peelen On 2 Juni, 15:46, Liam Byrne wrote:

[jQuery] jQuery Form Plugin help

2009-06-22 Thread capnhud
I am having a problem using the jquery Form Plugin. I have a form that is setup to animate the errors when on submits incorrect information or gives you a succes message when you enter correct information. Howvever my problem is that the messages do not animate when being displayed they just pop

[jQuery] Animated Menu Hover doesn't work on Safari and Opera

2009-06-22 Thread Claymenia
Hi all, and thank by advance for your help ! I use the last jquery javascript for working my animated menu with hover function. I've this code in my header: $(document).ready(function(){ $(".menu2 a").append(""); $(".menu2 a").hover(function() {

[jQuery] Re: PDF + Jquery + thickbox is not suppoting to Mozilla

2009-06-22 Thread Peter Edwards
Hi Bharath, Your code would never work on my machine (even in IE) as I have set it up so PDFs display in a standalone reader (i.e. do NOT use the browser plug-in). Is the problem that the PDF does not download at all in Mozilla under some set of circumstances? Peter on 22/06/2009 11:10 jaz

[jQuery] Re: slideToggle doesn't work in IE

2009-06-22 Thread Charlie
it works fine here   http://jsbin.com/ogoni Thavipa wrote: Hmm, thx for your reply.. but, it doesn't work..:( On 20 jun, 18:09, Charlie wrote: IE doesn't seem to recognize option click try this in both FF and IE $("select *").click(function () {   alert(this.tagName);    

[jQuery] Re: jquery cycle - go to image (regardless of position)

2009-06-22 Thread Mike Alsup
> Is there any way to use something like go to and always have it go to > a particular image regardless of the slide's position in the cycle?  I > am adding images to the slideshow and every time I add one - the IDs > change so that go-to #7 is the seventh slide - regardless of what it > actually

[jQuery] Re: PDF + Jquery + thickbox is not suppoting to Mozilla

2009-06-22 Thread Liam Potter
Does this work with any other browser? jazz wrote: Hi Folks, I am facing a severe problem in Mozilla,i.e.i cannot open a pdf in a frame which users Jquery thickbox. is there any solution? Regards, Bharath

[jQuery] Re: jquery accordion inside the jquery tabs

2009-06-22 Thread Henchan
Very similar problems experienced here. As well as accordion, my JQuery sliders were also failing. I fixed it by removing some code from my application. I got this code from D. Crockford. Object.prototype.beget = function () { // thanks Crockford function F() {} F.prototype = this; re

[jQuery] Submenu disappears too fast

2009-06-22 Thread evanj
Hello, I use superfish horizontal nav-bar style. Subcategories appear horizontally below categories. The problem is that when I take the mouse from the category name to reach one of their subcats, the submenu disappears! The subcategories disappear too fast! Is there a way to fix this? Thank you i

[jQuery] PDF + Jquery + thickbox is not suppoting to Mozilla

2009-06-22 Thread jazz
Hi Folks, I am facing a severe problem in Mozilla,i.e.i cannot open a pdf in a frame which users Jquery thickbox. is there any solution? Regards, Bharath

[jQuery] Re: when is what ready?

2009-06-22 Thread Prashant Khanal
$(function() {.}); is shorthand for $(document).ready(function(){. > > }); whoa!..i wasn't aware of that..Thanks anyway. On Mon, Jun 22, 2009 at 3:05 PM, Liam Potter wrote: > > $(function() {.}); is shorthand for > $(document).ready(function(){.}); > > Use this, it will check i

[jQuery] Re: when is what ready?

2009-06-22 Thread Liam Potter
$(function() {.}); is shorthand for $(document).ready(function(){.}); Use this, it will check if the page content is loaded before firing. $(window).load(function() { alert( "hello" ); }); Prashant Khanal wrote: i guess you should use $(document).ready(function(){.}); but keep i

[jQuery] Re: slideToggle doesn't work in IE

2009-06-22 Thread Thavipa
Hmm, thx for your reply.. but, it doesn't work..:( On 20 jun, 18:09, Charlie wrote: > IE doesn't seem to recognize option click > try this in both FF and IE > $("select *").click(function () { >   alert(this.tagName); >     }); > In FF will get alert returning "Option", in IE doesn't fire >

[jQuery] Re: new plugin: miniZoomPan

2009-06-22 Thread GianCarlo Mingati
Hello everyone. I'm glad you liked it. ;-)) GC On Jun 19, 6:19 pm, jake dimano wrote: > I must say...very very nice. > jake > > On Fri, Jun 19, 2009 at 6:16 AM, GianCarlo > > Mingati wrote: > > > Hello everyone, > > during the initial phase in the development of amuch more complex > > zomm&pan

  1   2   >