[jQuery] Fix for Giva Labs linkselect plugin

2009-09-25 Thread boermans
We noticed an issue with the jquery.linkselect plugin (version 1.2.08) today. When the container width would cause it to be positioned off the the screen it is repositioned incorrectly if there is no title element. I fixed this in anchorTo function by instead adding the width of the anchor if

[jQuery] Re: Deactivating parent link with JQuery

2009-09-25 Thread osu
Anyone? Thanks osu On Sep 24, 9:26 pm, osu onesiz...@googlemail.com wrote: Ok, I have another question that's related to the first. I need to highlight *only* the top-parent item (the same one I just ran 'return false;' on) with the class 'nav-selected'. This is the code that's being

[jQuery] Re: (autocomplete)

2009-09-25 Thread Cyril Lopez
2009/9/24 Ordos segers.j...@gmail.com But now, when I start to type a country I get ALL special characters like: Belgi� utf8_encode() ? http://fr.php.net/manual/en/function.utf8-encode.php Cyril

[jQuery] Re: Changing a class name without clicking

2009-09-25 Thread Lleoun
You're right, sorry, I didn't explain myself quite well. There's a conditional clause. If it is true the class name change has to be triggered. The class name change could go inside of a function but after a second thought there's no need for it. It would be something like: if(currentvar =

[jQuery] Re: Changing a class name without clicking

2009-09-25 Thread Liam Byrne
Your old code was : $('.unselected').click(function(){ $('.selected').attr('class','unselected'); $(this).attr('class','selected'); }); Which translates to if / when unselected is clicked. Your new code is the exact same principle, replacing the ($('.unselected').click (the trigger)

[jQuery] Re: Deactivating parent link with JQuery

2009-09-25 Thread ryan.j
rather than removing the href you could use the preventDefault function, which will leave the href intact should you want to unbind it at a later date. usage is something like.. $('a.submit-button').click(function(e){ e.preventDefault(); doSubmit( $(this).html() ); }) On Sep

[jQuery] Re: Trying to use fadein and fade out with mouseover and mouseout functions.

2009-09-25 Thread ryan.j
if i'm this right, on the menu button's mouseover function you could call $('#menu').stop() to end any animation effects. http://docs.jquery.com/Effects/stop On Sep 25, 4:55 am, shyhockey...@gmail.com shyhockey...@gmail.com wrote: Hi, I am  using the fade in and fade out  and mouse over and

[jQuery] Re: Trying to use fadein and fade out with mouseover and mouseout functions.

2009-09-25 Thread ryan.j
if i'm reading your question right, on the menu button's mouseover function you could call $('#menu').stop() to end any animation effects. http://docs.jquery.com/Effects/stop copy paste some code in jsbin.com if you can, it's always easier to sort stuff like this with code to look at. On Sep

[jQuery] cycle plugin and dropdown menu

2009-09-25 Thread hcvitto
Hi i'm using the cycle plugin below a dropdown. Problem is that the dropdowns stay behind the slideshow. They have position absolute and higher z-index than the slideshow. Any solution? http://www.francesconizzola.it/_demo/ Thanks Vitto

[jQuery] Re: Validate Text Field onblur (Bassistance Validation Plugin)

2009-09-25 Thread Dave Buchholz - I-CRE8
Not at the moment, sorry Dave Buchholz On Sep 25, 12:51 am, Loony2nz loony...@gmail.com wrote: do you have an example of this somehwere?  I think I could use this for upcoming forms I have in my pipeline. Thanks! On Sep 1, 10:33 am, Dave Buchholz - I-CRE8 off...@i-cre8.com wrote: Got

[jQuery] Every post I make, I get an mail error.

2009-09-25 Thread evo
Everytime I post to this group through thunderbird, I get a undelivered mail message sent back, everytime. This has only started happening recently and I can't find any info about it anywhere. Just want to know if this is happening to anyone else (as it's only when I post to this group) This is

[jQuery] how to get post data from a page loaded in iframe in parent page

2009-09-25 Thread Nils
how to get post data from a page loaded in iframe in parent page

[jQuery] Combining functions?

2009-09-25 Thread maltaphilosopher
Hi all, I'm new jquery. I'm trying to create a photo gallery/slideshow using the cycle plugin. There will be three elements, a large graphic, a text section, and a thumbnail gallery of the large graphics. I have the large graphics and thumbnails connected (so when you click on the thumbnail the

[jQuery] Re: .click() fires my callback more than once

2009-09-25 Thread allenm541
I've run into this problem many times as well. The issue is that your click function is being bound more than once. To fix it, use the .unbind() method. .unbind() without any parameters will unbind everything bound to that element, including your .click() function. However, if you wish to

[jQuery] [autocomplete] auto complete based on additional input value

2009-09-25 Thread Frank
I'm using one of the examples from the demo files as a template. Basically I'd like to auto suggest hospitals based on the zip code that's entered from another input. Can someone recommend how do accomplish this? TIA This is the local data set: var hospitals = [ { name: hospital 1,

[jQuery] jqTransform + validate bassistance plugin

2009-09-25 Thread Alessandro Cimoli
Hi, i've a problem with input radio validation. I've two radio (accept and don't accept) for the privacy and obviously the users have to click accept. Here my code: $(#formContactPage).validate({ errorLabelContainer: $(p.error), rules: {

[jQuery] Re: Load quicktime as needed

2009-09-25 Thread allenm541
I think I can help. What I suggest is that you become familiar with free and excellent Flowplayer and use it to embed your media files. Here is a link: http://flowplayer.org/ Flowplayer has lots of tools for scripters and jQuery developers. It has two methods that I've found that may be of

[jQuery] Re: IE: Cursor still displays hourglass symbol after unblocking

2009-09-25 Thread Mike Alsup
Yes, same problem I posted yesterday... funny we both hit it this week.   hopefully someone can help??  I know the author of blockUI says he monitors this forum... Hmm, anyone have any ideas for how to force IE to honor the new cursor style without having to move the mouse? One that

[jQuery] Re: Load quicktime as needed

2009-09-25 Thread allenm541
Actually, what I think you're looking for is the Flowplayer option autoBuffering, which differs from autoPlay. autoPlay determines whether or not the video will play automatically, but autoBuffering is a different method that will prevent it from buffering as well. You'll have to learn how to

[jQuery] Re: Load quicktime as needed

2009-09-25 Thread Mike Alsup
My ideal solution would be a list of song titles and a play button. When the user clicks the play button, the quicktime play is revealed below the title and ONLY at that moment does the file start downloading. If you are using the media plugin then just invoke media on the desired element

[jQuery] Re: Load quicktime as needed

2009-09-25 Thread allenm541
Actually, after reading over your post again, it looks like what you need is to set autoBuffering: false autoBuffering: false will prevent the media from loading until the play button it presses. It differs from autoPlay: false which simply prevents it from player, but buffers anyhow. So, your

[jQuery] Free SMS Gateway

2009-09-25 Thread bharani kumar
Hi All , If any one know free sms gateway server, Please share the details , Thanks

[jQuery] Re: Deactivating parent link with JQuery

2009-09-25 Thread osu
Thanks Ryan for the alternative, However, I need to do the following now (see message above your last post): I need to highlight *only* the top-parent item (the same one I just ran 'return false;' on) with the class 'nav-selected'. Any idea how I could do that? Thanks, osu On Sep 25,

[jQuery] Re: Free SMS Gateway

2009-09-25 Thread Anthony Brown(Worcester Wide Web)
http://www.zeepmobile.com/ bharani kumar wrote: Hi All , If any one know free sms gateway server, Please share the details , Thanks

[jQuery] Re: Parse encoded HTML in XML content node

2009-09-25 Thread Jeff
Fabian, Here's the js: $(document).ready(function() { $.ajax({ type: GET, url: sample.xml, dataType: xml, success: function(data) { $(data).find('item').each(function() {

[jQuery] Re: Every post I make, I get an mail error.

2009-09-25 Thread Charlie
been getting same thing from same "ekster" domain , also when using Thunderbird. The first time it happened a week or 2 ago the messages it told me couldn't be delivered were 2 months old, now sends back current messages very strange evo wrote: Everytime I post to this group through

[jQuery] Re: Every post I make, I get an mail error.

2009-09-25 Thread Cyril Lopez
evo wrote: Everytime I post to this group through thunderbird, I get a undelivered mail message sent back, everytime. This has only started happening recently and I can't find any info about it anywhere. Just want to know if this is happening to anyone else (as it's only when I post to

[jQuery] Re: Changing a class name without clicking

2009-09-25 Thread Lleoun
Thanks Liam, worked great! And thanks to all for the approach.

[jQuery] Re: Wait until animation completed - callback?

2009-09-25 Thread Merlin
does nobody have an idea? :-( On Sep 23, 5:13 pm, Merlin ngro...@fastmail.fm wrote: Hi there, I am building huge list with subcategories in each category that fade out once the mouse is placed over the category. It works great, BUT the problem is, if your mouse goes down the list

[jQuery] Re: Free SMS Gateway

2009-09-25 Thread bharani kumar
ya its nice..useful one.. Anything other then this... For india supportable one... On Fri, Sep 25, 2009 at 5:33 PM, Anthony Brown(Worcester Wide Web) anth...@worcesterwideweb.com wrote: http://www.zeepmobile.com/ bharani kumar wrote: Hi All , If any one know free sms gateway server,

[jQuery] Re: How to combine event?

2009-09-25 Thread Karl Swedberg
Hi David, You can combine events with a space in the first argument of .bind(): .bind('type1 type2 type3', function(event) { /*do something*/}); Pass the event object into the anonymous function and then determine which event was triggered with event.type. Here is an example:

[jQuery] Re: Fix for Giva Labs linkselect plugin

2009-09-25 Thread Karl Swedberg
Nice one! Thanks for posting this. Chances are good that if you ran into the problem, someone else has, too. --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 25, 2009, at 2:38 AM, boermans wrote: We noticed an issue with the jquery.linkselect plugin

[jQuery] Re: Trouble with backgroundPosition Plugin

2009-09-25 Thread Karl Swedberg
Not having looked at the plugin, this is just a guess, but the problem might be occurring because you have a repeating background. Try changing this line in your CSS: background:url(../gfx/btn_navbg.jpg) 0px 0px; to this: background:url(../gfx/btn_navbg.jpg) no-repeat 0 0; --Karl

[jQuery] Re: Find top-level elements

2009-09-25 Thread Karl Swedberg
Hi Grimace, You should get what you're trying to find by wrapping value in a div. Try this inside the success callback: var $value = $('div + value + '/div'); var body = $value.find('body'); var form = $value.find('form'); var p = $value.find('p'); // Actual paragraphs --Karl

[jQuery] Re: jQuery plugin help

2009-09-25 Thread Karl Swedberg
Hi Nalum, It's pretty straightforward. Instead of doing this: $.fn.pluginname = function(args) { }; You can do this: $.pluginname = function(args) { }: --Karl Karl Swedberg www.englishrules.com www.learningjquery.com On Sep 24, 2009, at 10:59 AM, Nalum wrote: Hello

[jQuery] $(document).resize bug?

2009-09-25 Thread MartinBorthiry
hello: I'm trying to do this: $(document).resize(function(){alert('yea')}); but doesn't work on firefox or chrome, only work fine on IE (WTF!) I'd tryied $('body').resize... but happen the same. $(window).resize work fine but i need to detect when the body's height has been changed

[jQuery] Re: cycle plugin and dropdown menu

2009-09-25 Thread Karl Swedberg
Hi Vitto, Add these declarations to your ul#mainNav rule (main.css, line 149) position: relative; z-index: 50; For IE, you'll probably also need to add these to div#content (main.css, line 26) position: relative; z-index: 1; --Karl Karl Swedberg www.englishrules.com

[jQuery] Re: cycle plugin and dropdown menu [solved]

2009-09-25 Thread hcvitto
great!! Many thanks Karl!! Vitto On 25 Set, 15:45, Karl Swedberg k...@englishrules.com wrote: Hi Vitto, Add these declarations to your ul#mainNav rule (main.css, line 149)    position: relative;    z-index: 50; For IE, you'll probably also need to add these to div#content   (main.css,

[jQuery] Re: XHTML or HTML when creating elements?

2009-09-25 Thread Vincent Robert
Actually, jQuery does some parsing by itself first. The $('span/') syntax is actually a shortcut to document.createElement(span), and yes, the / is required here. So $ ('span/') will be faster than $('span/span') which will have to go through innerHtml. Regards, On Sep 24, 6:33 pm, Bertilo

[jQuery] Re: Wait until animation completed - callback?

2009-09-25 Thread ryan.j
the problem with jquery animation effects is that you can easily chain effects on a single element, but unless you specify a timer of some description or utilise the callback, effects on different elements will execute simultaneously as you're finding. unfortunately you really aren't going to

[jQuery] Re: Wait until animation completed - callback?

2009-09-25 Thread ryan.j
the problem with jquery animation effects is that you can easily chain effects on a single element, but unless you specify a timer of some description or utilise the callback, effects on different elements will execute simultaneously as you're finding. unfortunately you really aren't going to

[jQuery] Convert Image to PDF

2009-09-25 Thread chiru
Hi friends, I need to convert images(.gif/.png) into PDF format in javascript. Can we do that using jQuery. Is there any plugin to solve my problem.

[jQuery] Re: Convert Image to PDF

2009-09-25 Thread ryan.j
there is probably some way of doing it server-side and automatically giving the user a link to that, but not in jquery as far as i know file I/O stuff in javascript pretty much relies on being run on localhost too, is this for an Air app? On Sep 25, 3:45 pm, chiru charmingch...@gmail.com wrote:

[jQuery] Re: Disabling parent link if children present

2009-09-25 Thread Shane Riley
Are you wanting to just hide the anchor element for link 4 but keep links 4a to 4c visible? Here's a quick example of that scenario: $(function() { $(ul#nav li ul).each(function(i) { $(a:first, $(this).parent()).hide();

[jQuery] Re: XHTML or HTML when creating elements?

2009-09-25 Thread Karl Swedberg
On Sep 25, 2009, at 10:21 AM, Vincent Robert wrote: Actually, jQuery does some parsing by itself first. The $('span/') syntax is actually a shortcut to document.createElement(span), and yes, the / is required here. So $ ('span/') will be faster than $('span/span') which will have to go

[jQuery] Re: XHTML or HTML when creating elements?

2009-09-25 Thread Bertilo Wennergren
Vincent Robert wrote: On Sep 24, 6:33 pm, Bertilo Wennergren berti...@gmail.com wrote: I think I read somewhere that jQuery just passes the code along to the innerHTML function of the browser. That would mean that the actual rules are those of the browsers' various implementations of

[jQuery] Re: XHTML or HTML when creating elements?

2009-09-25 Thread Bertilo Wennergren
Karl Swedberg wrote: Internally, jQuery determines whether to use document.createElement by checking the string against a regular expression: rsingleTag = /^(\w+)\s*\/?$/ Unless I'm missing something, allowing for both syntaxes would be trivial. Just change the regex to something like

[jQuery] Re: Every post I make, I get an mail error.

2009-09-25 Thread Bertilo Wennergren
evo wrote: Everytime I post to this group through thunderbird, I get a undelivered mail message sent back, everytime. This has only started happening recently and I can't find any info about it anywhere. Just want to know if this is happening to anyone else (as it's only when I post to this

[jQuery] slidedown menu

2009-09-25 Thread dima_mak
I am trying to do an slidedown menu with hover function: Javascript: Code: $(document).ready(function(){ $(#rightmenu ul li).hover( function () { $(this).find(ul:first).stop(true, true); $(this).find(ul:first).slideDown(); }, function () {

[jQuery] Fancybox from alt text

2009-09-25 Thread casperMC
hi, im trying to wrap a fancybox link around each image on a site, which has an alt tag specified. Right now i have this html markup: p img src=1_s.jpg alt=1_b.jpg title=asdasd / /p And this javascript-code: $(document).ready(function() { $(img[alt]).each(function(){

[jQuery] Tabbed data views, without IDs

2009-09-25 Thread amarquis
Hello, I've looked at a couple of tutorials focused on having some sort of clickable elements that emulate tabs - hiding all but the div associated with that element. Both of those tutorials focus on adding IDs to the elements involved and a handler for each. This is rough on a web app that is

[jQuery] Ajax load function - different php each time?

2009-09-25 Thread thodoris
I am developing a webpage that is jquery powered. Many div-hotspots in the page is ajax powered and they should update dynamically. For example number of ratings average rating number that a video is favoured Now i am doing this: $(#DIV1...).load(some1.php); $(#DIV2...).load(some2.php);

[jQuery] Re: Parse encoded HTML in XML content node

2009-09-25 Thread Bertilo Wennergren
Jeff wrote: I realize that the text() function is returning text, and not the nodes within. How can I return the nodes within, either as a jQuery object or the DOM nodes themselves, rather than the text, so I can actually parse them? The basic problem is probably that there are no nodes

[jQuery] Re: $(document).resize bug?

2009-09-25 Thread Bertilo Wennergren
MartinBorthiry wrote: I'm trying to do this: $(document).resize(function(){alert('yea')}); but doesn't work on firefox or chrome, only work fine on IE (WTF!) I'd tryied $('body').resize... but happen the same. $(window).resize work fine but i need to detect when the body's height

[jQuery] Re: XHTML or HTML when creating elements?

2009-09-25 Thread Karl Swedberg
On Sep 25, 2009, at 11:56 AM, Bertilo Wennergren wrote: Karl Swedberg wrote: Internally, jQuery determines whether to use document.createElement by checking the string against a regular expression: rsingleTag = /^(\w+)\s*\/?$/ Unless I'm missing something, allowing for both syntaxes

[jQuery] Lightbox or PrettyPhoto or Fancybox break when submitting content with jEditable plugin

2009-09-25 Thread kyleduncan
Hi, i have a site that uses a lightbox based image viewer and the jeditable plugin. basically my site has a photo gallery and below each gallery i have the option to set a caption to the photo. i have done the caption using jeditable and i've also tried using the ajaxForm plugin for jquery to

[jQuery] Re: Lightbox or PrettyPhoto or Fancybox break when submitting content with jEditable plugin

2009-09-25 Thread kyleduncan
Just to add a bit more detail: my current setup as of right now is still using the jEditable plugin combined with the prettyPhoto image viewer plugin (which i believe is based on lightbox). exactly what happens with this combination of plugins is: 1. if you enter a caption and save it (jeditable

[jQuery] Re: Lightbox or PrettyPhoto or Fancybox break when submitting content with jEditable plugin

2009-09-25 Thread kyleduncan
sorry just to clarify, the problem CAN still emerge even if you view a prettyPhoto image first, before entering a caption. if you do this, then enter several captions and try to view photos again, it still breaks (sometimes it gets into a weird loop even whereby the first click tries to open the

[jQuery] load callback doesn't wait for completion

2009-09-25 Thread rodeored
How do I get the callback for load() to wait until the load is complete?

[jQuery] (validate) submit form in lightbox?

2009-09-25 Thread Loony2nz
Hello all, I have a form that opens up in a lightbox (shadowbox to be exact). And I'm having a heckuva time to get the form in the iframe to submit. i'm using the submitHandler option within the validate plugin like so: submitHandler: function(form) { form.submit();

[jQuery] jquery slideshow

2009-09-25 Thread Shravan Garlapati
Hi, I want to use jquery slideshow. I have a side menu bar with 15 different options. When I choose an option from menu bar, different slide shows must appear in the same div. I would really appreciate if any body can help me with this. Shravan.

[jQuery] Re: Load quicktime as needed

2009-09-25 Thread RealMason
Thanks. I actually don't want to use Flash at all since it is not iPhone compatible, but thanks. On Sep 25, 7:32 am, allenm541 allenmack...@gmail.com wrote: Actually, after reading over your post again, it looks like what you need is to set autoBuffering: false autoBuffering: false will

[jQuery] Re: Load quicktime as needed

2009-09-25 Thread RealMason
Couldn't get this to work but am using jquery.embedquicktime.js and it seems to help. Thanks. On Sep 25, 7:26 am, Mike Alsup mal...@gmail.com wrote: My ideal solution would be a list of song titles and a play button. When the user clicks the play button, the quicktime play is revealed

[jQuery] Re: $(document).resize bug?

2009-09-25 Thread MartinBorthiry
On 25 sep, 13:13, Bertilo Wennergren berti...@gmail.com wrote: MartinBorthiry wrote:  I'm trying to do this:  $(document).resize(function(){alert('yea')});  but doesn't work on firefox or chrome,  only work fine on IE (WTF!)  I'd tryied $('body').resize...  but happen the same.

[jQuery] marking a link as visited

2009-09-25 Thread RealMason
I'm using jquery.embedquicktime.js to play an mp3. Sometimes I have a dozen different mp3s on a page. When a user clicks on the graphical play button, the button is replaced with the Quicktime controller bar. This is all expected behavior. Since the link doesn't actually go anywhere, the link

[jQuery] getJSON callback not firing?

2009-09-25 Thread Charlie Griefer
Hey all: I've read the docs and googled the heck out of this, but not seeing what the problem is. I'm trying to get some data from the server via the getJSON() method. I do see a response in firebug and I've validated the response data at JSONLint.com. However, the callback function simply

[jQuery] jquery.embedquicktime.js

2009-09-25 Thread RealMason
Anyone know how to contact the author of this plug in? Every time I try to send him a question on his site form, it says it was rejected as spam. Or are there any other experts on this plugin out there? I need to figure out how to reverse the replacement that happens when the quicktime

[jQuery] Re: getJSON callback not firing?

2009-09-25 Thread MorningZ
I'd suggest using the more generic $.ajax method so you can actually catch the error, as the $.getJSON fails silently, which is no good for programmers :-( $.ajax({ type: GET, url: your URL, processData = true, data: {}, dataType: json, success: function(json) {

[jQuery] Re: getJSON callback not firing?

2009-09-25 Thread Charlie Griefer
Z: thanks for the response. I'm making my initial foray into using jQuery for AJAX (up 'til now, had only used it for page manipulations). Given your response... would there ever be a situation where .getJSON() would be preferable to .ajax()? It seems odd that jQuery would have 2 methods that

[jQuery] Documentation Recommendation

2009-09-25 Thread Rick
It should be noted that you are able to pass in jQuery objects to html () (and probably the others append() ...)

[jQuery] $.post cross domain first sends an OPTIONS verb?

2009-09-25 Thread David P
I use $.post like so: $.post(http://mydomain.com/some/webservice;, $.toJSON({ emailAddress: emailAddress }), callback, json); this works great..the response of the POST is a json string and that is used in the callback..now I added https: $.post(https://mydomain.com/some/webservice;, $.toJSON

[jQuery] problem with $('.class').animate({scrollTop: x}) in Safari

2009-09-25 Thread Sergio de la Garza
Hello, I have a problem with safari behaving weird with a custom Slider I'm making, what it does is like reseting the scrollTop value to 0 when jumping from one item to other making the animation look pretty bad, the behavior in FF is as expected. The code is here: http://pastie.org/630593

[jQuery] Convert MooTools to jQuery

2009-09-25 Thread GonzoDesign
I know this is sloppy code, I'm more of a HTML and CSS person than JavaScript person. The thing is this code does exactly what I need it to do. This is done with mootools and it conflicts with some other jQuery things going on, on the page. I would REALLY appreciate any help anyone could give me.

[jQuery] Re: getJSON callback not firing?

2009-09-25 Thread MorningZ
$.getJSON is a convenience/wrapper method around the $.ajax call... so is $.getScript and $.get and $.post just open up the unpacked version of jQuery and search for getJSON and you'll see this first hand On Sep 25, 3:07 pm, Charlie Griefer charlie.grie...@gmail.com wrote: Z: thanks for the

[jQuery] Validation parity client/server (was: Re: getJSON callback not firing?)

2009-09-25 Thread Scott Haneda
What do you think about getJSON for simple is username available type checks? I'm thinking, go with the simple and more compact method. Return your errors in JSON and parse them out. Since these are just quick exists in database lookups, the chances of failure are low. If they do fail,

[jQuery] Re: load callback doesn't wait for completion

2009-09-25 Thread amuhlou
can you post a snippet or test page of how you're using the load method? it's really hard to figure out why it might not be working without any code samples. On Sep 25, 5:07 pm, rodeored in...@reenie.org wrote: How do I get the callback for load() to wait until the load is complete?

[jQuery] Re: Fancybox from alt text

2009-09-25 Thread amuhlou
it looks like you have an extra $ inside your wrap method, and you also may need to add the /a. And it looks like your code may need to account for the space between the href and class attributes. something like: $(this).wrap('a href='+$(this).attr('alt')+' class=fancyBoxImage/a') On Sep 25,

[jQuery] Re: Wait until animation completed - callback?

2009-09-25 Thread Merlin
The timeout sounds logical. I would like to try it, but somehow jquery does not know that function: http://docs.jquery.com/Special:Search?ns0=1search=setTimeoutgo= I am pretty new to jquery. Could you post some code that fits into this one:

[jQuery] Re: Convert MooTools to jQuery

2009-09-25 Thread KeeganWatkins
hi GonzoDesign - this is a straight port. i'm not that familiar with mootools, so one aspect that may be off is the selection of elements. i'm assuming $ ('europe') returns the element with an ID of europe but if not you'll need to change the ported selectors. you can read up on how jQuery

[jQuery] Re: Unlock Documentation

2009-09-25 Thread Scott Haneda
I went through all the plug-ins pages last night. There are a good deal, 10% maybe, that 404 or go to the wrong place. If I go in and delete those, that is all I am going to be doing, deletes. Will these be rolled back since I am only deleting? Should they even be deleted? Should I

[jQuery] Re: Wait until animation completed - callback?

2009-09-25 Thread William Chang
I don't know how complex the user interface you're making, but if you're asking for a callback after completing the slideToggle() animation, then overload the method with a second argument which is the callback function. $('#51').slideToggle('fast, function() { // Do something after

[jQuery] Re: Each function gives errors in IE6

2009-09-25 Thread KeeganWatkins
hey Shane, Nick's comments above simply reinforce the need for explicit variable declaration. ignoring the var keyword, even when picking names that don't collide with properties of the window object, is a dangerous practice. it leads to hard-to-spot bugs, scope issues, and a whole mess of other

[jQuery] Re: validate - if other checked -- require input box

2009-09-25 Thread KeeganWatkins
are you using the validate plugin? i'm not familiar with it at all, but for a simple validation like this you could do: // DOM-ready handler $(function() { // Listen for onsubmit events for the form $(#signupForm).submit(function() { // Get the checkbox

[jQuery] Re: if opera...... else

2009-09-25 Thread KeeganWatkins
hi a1anm, if it's a CSS property, you can always determine that without relying on the deprecated $.browser object... $(function() { // Check for the property you are interested in. Will be a Boolean value var opera = typeof $(body)[0].style[OperaOnlyCSSProp] === undefined;

[jQuery] Re: getJSON callback not firing?

2009-09-25 Thread Rick Faircloth
Hang in there, Charlie! My head was very bloody from banging it against the wall when I first started down the AJAX road. Now I'm finally getting some work done with it! I almost gave up several times. fwiw, I have always used the $.ajax method without any problems and typically

[jQuery] How to rename cloned element id (increase by one)?

2009-09-25 Thread jan1979
Hello. I have following code: function addElement(id) { $(document).ready(function(){ if ( $(#span1) ) { $(id).clone().prependTo(#span1); } }); } How can I rename cloned element? Should be fine to increase its name by one, e.g.:

[jQuery] Re: Trying to use fadein and fade out with mouseover and mouseout functions.

2009-09-25 Thread Aaron
no, the problem I have is that I set a mouseout function from jquery on the menus background. This background is a box blue square. On this square is buttons that once clicked takes you to different pages. These buttons are more linke image links. Well when the mouse moves over to the image

[jQuery] Prevent jagged text in IE

2009-09-25 Thread Dave Maharaj :: WidePixels.com
I have content that loads into a div and in every browser except IE it renders fine. In the wonderful IE it comes in jagged...sometimes it snaps after and looks normal but for the most part its all jagged. The page is a white bg with text rendering into of it. Howcan I fix this so it looks normal?

[jQuery] Re: Prevent jagged text in IE

2009-09-25 Thread Michael Geary
Make sure the text opacity is 100%. Don't fade it in. IE renders non-antialiased text when opacity is less than 100%. If that's not it, post a link to a test page. -Mike On Fri, Sep 25, 2009 at 4:56 PM, Dave Maharaj :: WidePixels.com d...@widepixels.com wrote: I have content that loads into

[jQuery] Re: Prevent jagged text in IE

2009-09-25 Thread Rick Faircloth
I include a reference to a file with this jQuery code in every page to solve that problem, Dave. Best solution I've found so far. I got it from someone, somewhere, but don't remember who. Rick jQuery.fn.fadeIn = function(speed, callback) { return

[jQuery] Re: How to rename cloned element id (increase by one)?

2009-09-25 Thread brian
But what if there's already a #span2 in the document? Perhaps it would be better to give it the ID span1_1 (or similar). On Fri, Sep 25, 2009 at 6:31 PM, jan1979 jan.zitn...@gmail.com wrote: Hello. I have following code:  function addElement(id) {    $(document).ready(function(){      

[jQuery] Re: Prevent jagged text in IE

2009-09-25 Thread Dave Maharaj :: WidePixels.com
Thanks, Will give it a shot. Dave _ From: Rick Faircloth [mailto:r...@whitestonemedia.com] Sent: September-25-09 9:48 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Prevent jagged text in IE I include a reference to a file with this jQuery code in every page to solve

[jQuery] Re: How to rename cloned element id (increase by one)?

2009-09-25 Thread comslash.com
I haven't test this but its modified from another set of code i have that is working to do this var idNumber = 1; function addElement(id){ if($('#span1').html()){ $('#span1').append($('#' + id + idNumber).clone()); $('#span1 #' + id +

[jQuery] Re: marking a link as visited

2009-09-25 Thread James
The CSS visited is triggered by whether it's in the browser history. Since they're not really adding an entry to the history, you'll probably need a workaround. Perhaps saving the link ID (or session ID to data elsewhere) in a persistent cookie, and changing the style of the link based on whether

[jQuery] Elements with similar names

2009-09-25 Thread Carlos Santos
I have in one form, many, many text fields with similar names such as: tx_qtde1 tx_qtde2 tx_qtde3 how i can select all this text fields without using a class, something like: $(tx_qtde * ) where the * is the numbers. Thanks for your time. Carlos Santos

[jQuery] Re: Ajax load function - different php each time?

2009-09-25 Thread James
Pass in certain GET or POST data based on the request. $(#DIV1...).load(some.php?id=dothis); $(#DIV2...).load(some.php?id=dothat); $(#DIV3...).load(some.php?id=monkeyseemonkeydo); On Sep 25, 4:04 am, thodoris tka...@gmail.com wrote: I am developing a webpage that is jquery powered. Many

[jQuery] Re: Elements with similar names

2009-09-25 Thread James
http://docs.jquery.com/Selectors Look at the Attribute filters. Assuming they're all INPUT fields: $(input[name^=tx_qtde]) which means all input fields with NAME that begins with 'tx_qtde' Otherwise you can just drop the 'input' $([name^=tx_qtde]) but it'll look through all element types. On

[jQuery] Re: Elements with similar names

2009-09-25 Thread Charlie Griefer
$('input[name^=tx_qtde]') See Attribute Filters at http://docs.jquery.com/Selectors On Fri, Sep 25, 2009 at 7:12 PM, Carlos Santos carloeasan...@gmail.comwrote: I have in one form, many, many text fields with similar names such as: tx_qtde1 tx_qtde2 tx_qtde3 how i can select all this

[jQuery] Re: Elements with similar names

2009-09-25 Thread comslash.com
try $('input[name^=tx_qtde]') try this page for reference on selectors http://docs.jquery.com/Selectors Chris On Sep 25, 10:12 pm, Carlos Santos carloeasan...@gmail.com wrote: I have in one form, many, many text fields with similar names such as: tx_qtde1 tx_qtde2 tx_qtde3 how i can

[jQuery] Re: Elements with similar names

2009-09-25 Thread comslash.com
wow way to many of us jumped on that post at the same time On Sep 25, 10:19 pm, comslash.com comsl...@gmail.com wrote: try $('input[name^=tx_qtde]') try this page for reference on selectorshttp://docs.jquery.com/Selectors Chris On Sep 25, 10:12 pm, Carlos Santos carloeasan...@gmail.com

  1   2   >