[jQuery] Re: prevent checkbox to check when click

2007-10-18 Thread Erik Beeson
.click(...) and .bind('click', ...) should do the same thing. What version of jQuery are you using? This also works for me, again on FF2/Mac: $(':checkbox').bind('click', function(e) { this.blur(); e.preventDefault(); }); --Erik On 10/18/07, james_027 <[EMAIL PROTECTED]> wrote: > > > is tha

[jQuery] Re: Case-insensitive version of :contains(text) ?

2007-10-18 Thread Erik Beeson
You could add your own expression for it (tested on FF2/Mac): jQuery.extend(jQuery.expr[':'], { containsIgnoreCase: "(a.textContent||a.innerText||jQuery (a).text()||'').toLowerCase().indexOf((m[3]||'').toLowerCase())>=0" }); Usage: $('...:containsIgnoreCase("foo")'); Or you could use a filter

[jQuery] Re: prevent checkbox to check when click

2007-10-18 Thread james_027
is that different if I use .click() instead of .bind()? because it doesn't work for me thanks On Oct 19, 1:57 pm, "Erik Beeson" <[EMAIL PROTECTED]> wrote: > Just return false from a click handler. The box will be focused, which > will change the way it looks a little, so you may also want to blu

[jQuery] Re: prevent checkbox to check when click

2007-10-18 Thread Erik Beeson
Just return false from a click handler. The box will be focused, which will change the way it looks a little, so you may also want to blur it. Something like: $(':checkbox').bind('click', function() { this.blur(); return false; }); Tested on FF2/Mac. --Erik On 10/18/07, james_027 <[EMAIL

[jQuery] prevent checkbox to check when click

2007-10-18 Thread james_027
hi, how do i prevent the checkbox to be check when click if it doesn't meet certain requirements? Thanks

[jQuery] Re: Case-insensitive version of :contains(text) ?

2007-10-18 Thread RichUncleSkeleton
(bump) anyone have any ideas? On Oct 13, 7:01 pm, RichUncleSkeleton <[EMAIL PROTECTED]> wrote: > The selector :contains(text) appears to be case sensitive (though > there's no mention of this in the jQuery docs). Is there a case > insensitive version?

[jQuery] Re: help - Mineral search program

2007-10-18 Thread Cut
Thanks Glen. You're a godsend.

[jQuery] AjaxCFC + jQuery tutorial: part 2

2007-10-18 Thread Chris Jordan
I realize that this is way late in coming, but I've finally put together part two of the AjaxCFC + jQuery tutorial. I feel seriously guilty about not getting it out before now, so I hope anyone who was interested in seeing it still is, will forgive my lateness in getting it published, and will

[jQuery] Re: Superfish: Menu keeps jumping around

2007-10-18 Thread Joel Birch
Hi Dave, Simply apply width:100px (or whatever value) to the .nav element. Joel Birch P.S. sorry to everyone who have posted Superfish help requests lately - I've been so busy and have not had chance to look help out as much as usual. Hopefully this weekend I may find time to answer some.

[jQuery] Re: jQuery.AJAX statement

2007-10-18 Thread Bhaarat Sharma
Hey Thanks a lot. so if my jQuery.ajax is calling mycontent.php page will it also send ? q=test appened to the url? so that my php can pick it up using $_GET kind of confused on that part... sorry i am asking the above before reading the documentation you mentioned. I'll read the documentation

[jQuery] Re: [NEWS] Humanized Messages

2007-10-18 Thread Guy Fraser
Michael Geary wrote: > 1) It displays messages at the top and bottom of the screen at the same > time, fighting for your attention - and the less important message - the one > at the bottom - is more eye-catching because of the animation. > Yeah - it would be nice if it the message log was tur

[jQuery] Re: Tabs and Cookies

2007-10-18 Thread Klaus Hartl
On 17 Okt., 20:48, khinester <[EMAIL PROTECTED]> wrote: > Hello, > I am trying to implement the tabs jquery, but I would like for the > browser to remember the tab selected on page refresh. > > Following details within another post, I have the following: > > > > > > > > > >

[jQuery] Re: jQuery.AJAX statement

2007-10-18 Thread Sergei NZ
Hey man i'm new to jQuery too. N00b to n00b =D .ajax is a calls the overall main call used by all the .load, .get and so on. .ajax has MANY parameter so that you may craft an ajax call really specific to your unique use. .ajax is explained very well in the jquery docs section -> http://docs.jque

[jQuery] Re: PHP variable into jQuery

2007-10-18 Thread choffman
Giving the check boxes the same class helped. Thanks. I've only been using jQuery for a short time, I'm trying to learn the ins and outs of it. I changed the code back to use length. Otherwise, I was just getting the value of the checkboxes. I would like to know how many boxes are checked and

[jQuery] Continuous Animation Firefox Problem

2007-10-18 Thread Shloime
Hi, I came across a weird situation. I would appreciate if someone can help me figure this out. Please see my sample page at http://www.rabbihorowitz.com/index_new.cfm. The way this is supposed to work is that when you hover over the red column it animates and expands over the green column and c

[jQuery] Re: Aaron Gustafson has a great ALA-Article on (Content-)Image Alignment and Consistency

2007-10-18 Thread Ben Spaulding
Hey Remy, thanks for putting this together. But it's not quite working right for me - in Safari it only works when the page is cached. Do you have any ideas what I can do to fix it? Thanks, Ben On Sep 27, 4:29 am, Remy Sharp <[EMAIL PROTECTED]> wrote: > If you're talking about the "If I Told

[jQuery] accordian plugin brings up errors in IE7

2007-10-18 Thread JimD
Using accordian 1.5 and jquery 1.1.2 * $Rev: 3353 $ In IE7 I keep getting the following error when clicking on one of the menu items. it works in FF2 although it stutters a bit. ERRORS: errors at: elem[name] = value; segment of code in jquery: name = name.repl

[jQuery] Re: Image Overlay w/Options

2007-10-18 Thread HVMDesign
Perfect! Thanks! Cheers, Anthony HVMDesign wrote: > > Glen, > > I appreciate your reply. Yes, that is the path I looking for. > > Now, once it has faded, how can I overlay form buttons on top of that? > > > Glen Lipka wrote: >> >> Whipped up a demo. Something like this? >> http://www.co

[jQuery] jQuery.AJAX statement

2007-10-18 Thread Bhaarat Sharma
hi I am very new to jQuery. I am trying to make up a 'load on scroll' function. I have a few questions on the following piece of code. -Is jQuery.ajax a valid call ? or should i be using some other module beside jQuery? -what does dataType: html mean? what other dataTypes could I be returning? -

[jQuery] Re: Image Overlay w/Options

2007-10-18 Thread Glen Lipka
Refresh. :) Glen On 10/18/07, HVMDesign <[EMAIL PROTECTED]> wrote: > > > > Glen, > > I appreciate your reply. Yes, that is the path I looking for. > > Now, once it has faded, how can I overlay form buttons on top of that? > > > Glen Lipka wrote: > > > > Whipped up a demo. Something like this? >

[jQuery] Re: Image Overlay w/Options

2007-10-18 Thread HVMDesign
Glen, I appreciate your reply. Yes, that is the path I looking for. Now, once it has faded, how can I overlay form buttons on top of that? Glen Lipka wrote: > > Whipped up a demo. Something like this? > http://www.commadot.com/jquery/hoverFade.php > > I like how the shadow works on the bac

[jQuery] Re: Image Overlay w/Options

2007-10-18 Thread Glen Lipka
Whipped up a demo. Something like this? http://www.commadot.com/jquery/hoverFade.php I like how the shadow works on the background. Glen On 10/18/07, HVMDesign <[EMAIL PROTECTED]> wrote: > > > > Hello, > > How can I make it so when I hover over an image, it turns transparent. > After > it does

[jQuery] Image Overlay w/Options

2007-10-18 Thread HVMDesign
Hello, How can I make it so when I hover over an image, it turns transparent. After it does this, there are two icons on the image, each hyperlinked. I can't seem to find a way to get an overlay with links on my script. http://www.infrontdashboard.com/sitebuilder/templates/*Real%20Estate/RE-1B

[jQuery] Re: How to trigger an event/callback if the class(es) of an Element (e.g. div) changes?

2007-10-18 Thread Wizzud
Maybe I have misunderstood but if you really need to keep constant track of these 'selected' divs what's wrong with ... jQuery(function){ var selectedDivs = $('div.selected'); $( < selector for unselected divs > ).click(function(){ $(this).addClass('selected'); selectedDivs.add(t

[jQuery] Re: setInterval not working

2007-10-18 Thread Josh Nathanson
Ah ha...I see what you are trying to do. I don't think my solution will work for you, because you need to dynamically send new parameters to the function every time the mouse moves. In my solution, the parameters are fixed in the function; once it is bound as the event handler to the datas

[jQuery] Superfish: Menu keeps jumping around

2007-10-18 Thread [EMAIL PROTECTED]
Hi Superfish experts, If you look at the following page: http://elearningrd.info/portal/test3.php you'll notice that when you roll over the arrow, it moves and the row that it occupies expands. Is there anyway to make it such that the arrow stays fixed in one area, with a fixed width, but the

[jQuery] Re: Release: jQuery Validation plugin 1.1.1

2007-10-18 Thread Jörn Zaefferer
wattaka schrieb: I think something went wrong with the code merging The metadata had a bugix a while back, it was just named metadata.js instead of jquery.metadata The validation plugin has re-introduced the buf with IE again, validation does not work, this was fixed a while back too Thanks

[jQuery] Re: Accordion setting height: 0px and overflow-y: hidden

2007-10-18 Thread Jörn Zaefferer
gregarious schrieb: Do you have any suggestion on how can avoid this problem? Any help will be very appreciated. In that case you should consider not using the accordion plugin at all, and writing your own solution instead. There are a few accordion related tutorials on learningjquery.com wh

[jQuery] Re: setInterval not working

2007-10-18 Thread Alexandre Plennevaux
thanks for hanging on Josh _ this is really driving me nuts. i wrote this code in actionscript2 4 months ago and it worked well (see it in action here (wait that all images be loaded, click on the weird image: http://www.thor.be/creation.php?id=3) then move around your mouse, and you 'll see

[jQuery] Re: Bind event that should be executed first

2007-10-18 Thread Jörn Zaefferer
Fabien Meghazi schrieb: When using validator.form() the error messages are shown but the first error input is not focussed. Is this the normal behaviour ? If yes, is there a method I can call for validator so it will focus the first error field in case validate fails ? Just call validator.fo

[jQuery] Re: [NEWS] Humanized Messages

2007-10-18 Thread Michael Geary
I think this kind of approach is a great idea, but this implementation has serious usability problems: 1) It displays messages at the top and bottom of the screen at the same time, fighting for your attention - and the less important message - the one at the bottom - is more eye-catching because

[jQuery] Re: How does $(document).ready() work?

2007-10-18 Thread Michael Geary
jQuery isn't a black box - it is Open Source. Just get the jQuery source code and copy the bits you need. Search for "ready" and you'll find the code. Get the latest code from svn, not one of the released versions - there were some recent bug fixes in the IE version of the code that you want. K

[jQuery] Re: binding dynamically inserted DOM elements

2007-10-18 Thread James Dempster
I suggest using liveQuery as mentioned and like you've found. On Oct 18, 9:03 pm, schmingle <[EMAIL PROTECTED]> wrote: > nevermind, i think i found the solution: > > http://brandonaaron.net/docs/livequery/ > > are there any other known methods? > > On Oct 18, 12:59 pm, schmingle <[EMAIL PROTECTED

[jQuery] Re: PHP variable into jQuery

2007-10-18 Thread James Dempster
If all these checkboxes are in the same container where no other checkboxes are you can use somthing like this $('#id input:checkbox:checked').length Or if there are other checkboxes in the way you can give all these checkboxes the same class name and do $('#id input.classname:checkbox:checked').

[jQuery] Re: setInterval not working

2007-10-18 Thread Josh Nathanson
Alexandre, just to clarify: moveDatascape = function(el,mouseX,scrollSteps,stageWidth,frameWidth,maxX,minX) { return (function() { // rest of function follows }); // close the anonymous function } You need the parentheses before and after the anonymous functi

[jQuery] Re: Release: jQuery Validation plugin 1.1.1

2007-10-18 Thread wattaka
I think something went wrong with the code merging The metadata had a bugix a while back, it was just named metadata.js instead of jquery.metadata The validation plugin has re-introduced the buf with IE again, validation does not work, this was fixed a while back too On Oct 18, 5:01 pm, Jörn

[jQuery] Re: binding dynamically inserted DOM elements

2007-10-18 Thread schmingle
nevermind, i think i found the solution: http://brandonaaron.net/docs/livequery/ are there any other known methods? On Oct 18, 12:59 pm, schmingle <[EMAIL PROTECTED]> wrote: > i have a piece of code that inserts new objects into the DOM. these > objects are of the same class as other objects

[jQuery] Re: PHP variable into jQuery

2007-10-18 Thread Jake McGraw
Could you possibly give each checkbox the same class? $(function(){ $("input.checkMe).click(function(){ if (this.checked) { $("#eventItems").text(/([0-9]+)$/.exec(this.id)[1]); } else { $("#eventItems").empty(); } }); }); On 10/18/07, choffman <[EMAIL PROTECTED]>

[jQuery] Re: binding dynamically inserted DOM elements

2007-10-18 Thread Richard D. Worth
You've got 2 options: 1. Call .click on the new element(s) after adding to the DOM 2. Use the Live Query plugin See http://docs.jquery.com/Frequently_Asked_Questions#Why_do_my_events_stop_working_after_an_Ajax_request.3F for more info on both. - Richard On 10/18/07, schmingle <[EMAIL PROTECTE

[jQuery] Re: setInterval not working

2007-10-18 Thread Alexandre Plennevaux
hi Josh, i tried your suggestion but that does not work. all the function parameters get lost somewhere in the cascade of functions... -Original Message- From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Josh Nathanson Sent: jeudi 18 octobre 2007 18:03 To: jquery-

[jQuery] binding dynamically inserted DOM elements

2007-10-18 Thread schmingle
i have a piece of code that inserts new objects into the DOM. these objects are of the same class as other objects already in the DOM to which jquery has bound. how do i get these new objects to bind the same as the existing ones? in other words... let's say i have this: $('.foo').click(functi

[jQuery] PHP variable into jQuery

2007-10-18 Thread choffman
Hello, I have a form where the values are pulled from MySQL and looped through using PHP. The name and id values are create dynamically. For example HTML: Item A Item B For example PHP: Item A Item B I'm using jQuery to count the boxes that get checked. How can I get jQuery to see my PHP v

[jQuery] Re: 2007 Web Design Survey

2007-10-18 Thread SterlingK
Wow. I'm not only a white male, but also fall into the highest percentage of just about every other category. I had no idea I was so disappointingly ordinary!

[jQuery] Re: show/hide based on list selection

2007-10-18 Thread Karl Swedberg
Hi Belinda, As of jQuery 1.2, the "@" symbol is deprecated (unless you're using the XPath plugin). So, pre-1.2, use the "@", and 1.2+, do not use it. The quotes inside the square brackets are optional. --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On

[jQuery] Re: Create link around email anywhere on page?

2007-10-18 Thread Karl Swedberg
Hey Andy, Looks great. I had a feeling there would be some edge cases that didn't work with my regex. Nice improvement there. Glad I could help. :-) --Karl _ Karl Swedberg www.englishrules.com www.learningjquery.com On Oct 18, 2007, at 2:54 PM, Andy Matthews wrote: Karl

[jQuery] Re: How to trigger an event/callback if the class(es) of an Element (e.g. div) changes?

2007-10-18 Thread Glen Lipka
There is a plugin called jQuery Live. it listens for changing dom elements. http://brandonaaron.net/docs/livequery/ Glen On 10/18/07, ravenel <[EMAIL PROTECTED]> wrote: > > > Hello, > > is it possible to trigger an event when the class of an Element has > changed? > > > I have an DIV without an

[jQuery] Re: How does $(document).ready() work?

2007-10-18 Thread Glen Lipka
I always thought magic jQuery elves were watching the page and had walkie-talkies. Try this one for research: http://ajaxian.com/archives/ajaxian-featured-tutorial-when-is-your-page-ready or http://dean.edwards.name/weblog/2006/06/again/ or http://ajaxian.com/archives/more-fun-with-domcontentloade

[jQuery] onChange any form field "Unsaved Message"

2007-10-18 Thread Joshua
I'm wanting to use jquery to make a function where whenever someone changes something in any of the input boxes it changes a div to say "Unsaved at #time#" This seems easy but I'm new to jQuery and what I thought would work isn't working. Please advise :( Thanks, Josh

[jQuery] Getting a div with scroll bar to stay scrolled down

2007-10-18 Thread Eric Boo
Sorry if this is a repost, as I can't seem to find my message anywhere... Hi all, I have a div that will refresh itself and the scroll bar just won't stay down. The solution I've found is: var objDiv = document.getElementById("divname"); objDiv.scrollTop = objDiv.scrollHeight;

[jQuery] Re: AJAX problem on Internet Explorer

2007-10-18 Thread HarryKC
You're welcome, I'm glad I could help. Hrvoje

[jQuery] How to trigger an event/callback if the class(es) of an Element (e.g. div) changes?

2007-10-18 Thread ravenel
Hello, is it possible to trigger an event when the class of an Element has changed? I have an DIV without any class="" onclick on that DIV it gets the class="selected" is it possible to listen to this change and trigger a function to get all the divs with the class="selected" I cannot trigger

[jQuery] how can 'load on scroll' be achieved in jquery+php

2007-10-18 Thread Bhaarat Sharma
Hi I finally came across a site that demonstrates how to achieve this in CF and Java script. But i dont know CF at all so I'm unable to pick exactly what is going on. Can some one help me explaining this code and converting it to jquery plugin? http://cfsilence.com/blog/client/index.cfm/2007/8/

[jQuery] Re: number formatting plug-in

2007-10-18 Thread Bhaarat Sharma
Hi Is there a plugin for 'load on scroll' which behaves as this example http://www.coldfusionjedi.com/demos/sharp/ajaxLoadOnScroll/test.cfm Thanks On Oct 18, 2:19 pm, Sean O <[EMAIL PROTECTED]> wrote: > I like the numeric plugin:http://www.texotela.co.uk/code/jquery/numeric/ > > SEAN O > _

[jQuery] How does $(document).ready() work?

2007-10-18 Thread Jim Spath
I am working on a project where using jQuery's $(document).ready() would be extremely useful, but unfortunately I cannot use jQuery. I found this page on determining when a document's DOM is ready: http://www.javascriptkit.com/dhtmltutors/domready.shtml Is this how jQuery does it? Thanks! - J

[jQuery] Re: Humanized Messages

2007-10-18 Thread SterlingK
Oh, fine, Mr Smarty-pants. My numbers are about half yours (roughly 13% - must be a different audience), but (sigh), yes, I agree that I still need to be a good boy and take ie6 users into account. On Oct 18, 3:29 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > I don't know a web programmer

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers & jQuery gurus please)

2007-10-18 Thread micha149
@ mike alsup: I thought you do something special in php... i try your script on my devserver... best regards, mike On 18 Okt., 17:20, Giovanni Battista Lenoci <[EMAIL PROTECTED]> wrote: > Hi mike thank for your answer... now I'm still tryng to make it work > with the progress bar... I think I'

[jQuery] Re: [NEWS] Humanized Messages

2007-10-18 Thread Pyrolupus
I'm thinking of this as a drop-in for alert() messages, and we already have no say where alert() places its dialog. Impromptu, mentioned earlier in this thread, does a great job of improving the basic JavaScript dialogs, already, and I'm thinking of supplementing those dialogs with these "Humaniz

[jQuery] Re: Is this valid JSON?

2007-10-18 Thread bo
That simply means object inside an array On 10/18/07, Frank Peterson <[EMAIL PROTECTED]> wrote: > > > Thanks, I was wondering about those square brackets [ ] at the > start and end, I had never seen JSON start with those before > > -- _ "Jump right ahead in my web"

[jQuery] looking for scrolling plugin

2007-10-18 Thread Bhaarat Sharma
Hi I am wondering if there is a plugin out there that would append more data to the table as the user is about to reach the end of the page (while scrolling). These results can be grabbed from a server uging JSON or locally. An example of this working is at www.dzone.com if you try to scroll do

[jQuery] Sorting links alphabetically with jQuery

2007-10-18 Thread Yansky
Hi, I'm having some problems figuring out how to sort links alphabetically based on their text content and store the reference to the link. I can do it sans jQuery, but I'd really like to be able to use jQuery to do it. This is what I want to do: http://yahoo.com";>Yahoo http://google.com";>Goo

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers & jQuery gurus please)

2007-10-18 Thread micha149
I think it must work. Bu i'n not an yui man. I make it with jQuery: $(document).ready( function() { // define the check progress function var getProgress = function() { $.ajax({ type: "GET", url: document.URL + getUniqueID(), //

[jQuery] Getting a div with scroll bar to stay scrolled down

2007-10-18 Thread Eric
Hi all, I have a div that will refresh itself and the scroll bar just won't stay down. The solution I've found is: var objDiv = document.getElementById("divname"); objDiv.scrollTop = objDiv.scrollHeight; This doesn't work: $('#divname').scrollTop = $('#divname').scrollHeight; The

[jQuery] Re: show/hide based on list selection

2007-10-18 Thread Belinda M. Giardine
Thanks Karl and Olaf. I got 2 methods to work so I feel ready to do the real code now. Just one question, in the tutorials I saw lines like q("[EMAIL PROTECTED]'sweets']") where what works here is q('select[name=sweets]'). When should the @ and quotes be used and when shouldn't they? Belinda

[jQuery] Re: jquery code snippit improvement request

2007-10-18 Thread Yansky
It'll be more efficient if you store the elements you're going to manipulate into a variable. Also, since you're doing the same thing twice, you could make it into a function. e.g. $(document).ready(function() { var getTrs = $('tbody.bevker tr');

[jQuery] Re: jquery code snippit improvement request

2007-10-18 Thread Yansky
It'll be more efficient if you store the elements you're going to manipulate into a variable. Also, since you're doing the same thing twice, you could make it into a function. e.g. $(document).ready(function() { var getTrs = $('tbody.bevker tr');

[jQuery] Sorting links alphabetically with jQuery

2007-10-18 Thread Yansky
Hi, I'm having some problems figuring out how to sort links alphabetically based on their text content and hold the reference to the link. I can do it sans jQuery, but I'd really like to be able to use jQuery to do it. This is what I want to do with jQuery: http://yahoo.com";>Yahoo http://googl

[jQuery] Re: Stopping event propagation on non-standard event types

2007-10-18 Thread Flesler
I don't completely get the point, custom events don't propagate, and don't have default behaviors, so none of those 2 functions should affect the behavior of the handlers. If your intention is to stop the iteration over the handlers, you could add another function as in stopIteration or something

[jQuery] Re: Create link around email anywhere on page?

2007-10-18 Thread Andy Matthews
Karl... I slightly improved your regex: var modMarkup = markup.replace(/([EMAIL PROTECTED],6})/g,'$1<\/a>') some of my emails were like this: [EMAIL PROTECTED] and it was seeing the class="basic"> as part of the email. This also allows for ip emails: [EMAIL PROTECTED] Thanks LOADS for

[jQuery] Re: help - Mineral search program

2007-10-18 Thread Glen Lipka
Some jQuerisms: Instead of var rightdiv =document.getElementById(curdiv); use var rightdiv = $("#" + curdiv + ""); Instead of onClick="createRockDescSearch();" use $("#addRockButton").click( function() { createRockDescSearch() } ); Instead of Use: $(document).ready(function(){ createRockDescSea

[jQuery] Re: number formatting plug-in

2007-10-18 Thread Sean O
I like the numeric plugin: http://www.texotela.co.uk/code/jquery/numeric/ SEAN O ___ http://www.sean-o.com james_027-2 wrote: > > > hi, > > is there a number formatting plugin for jQuery? > > Thanks > > > -- View this message in context: http://www.nabble.com/number

[jQuery] Re: Create link around email anywhere on page?

2007-10-18 Thread Andy Matthews
Thanks Karl!!! That's WAY better than what I came up with. I knew there was a better way. _ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Karl Swedberg Sent: Thursday, October 18, 2007 12:51 PM To: jquery-en@googlegroups.com Subject: [jQuery] Re: Create link arou

[jQuery] Re: changing the adressbar with javascript

2007-10-18 Thread Sean O
For obvious security reasons you (thankfully) cannot "fake" the address bar field using JavaScript. Scammers & spammers would have a field day with that. You can, as Jonathan mentioned, update it using hashes. See the history plugin: http://stilbuero.de/jquery/history/ SEAN O _ ht

[jQuery] Re: jquery code snippit improvement request

2007-10-18 Thread Frank Tudor
Jesus Christ?! Thanks for all the variations...AND explanations! Frank On 10/18/07, Michael Geary <[EMAIL PROTECTED]> wrote: > > > First, combine duplicate code into a single function: > > $(document).ready(function() { > zebra(); > $('th').click( zebra ); > }); > > function zebra() { >

[jQuery] Re: jquery code snippit improvement request

2007-10-18 Thread Frank Tudor
P.S. Here is what my final script looks like. After the below function example, I started to get lost in obscurity. $(document).ready(function() { zebra(); $('th').click( zebra ); function zebra() { $('tbody.bevker tr:odd').removeClass().addClass('row0 od

[jQuery] Re: Create link around email anywhere on page?

2007-10-18 Thread Karl Swedberg
Hi Andy, Although I'm not sure about performance and I'm guessing that the regular expression could be improved, I have a 3-liner that should work in most cases: var markup = $('body').html(); var modMarkup = markup.replace(/([EMAIL PROTECTED],4})/g,'href="mailto\:$1">$1<\/a>') $('body').h

[jQuery] Re: number formatting plug-in

2007-10-18 Thread Jack Killpatrick
This has DecimalFormat and DollarFormat functions that might help: http://cjordan.us/page.cfm/CFJS-function-listing-by-category - Jack james_027 wrote: hi, is there a number formatting plugin for jQuery? Thanks

[jQuery] IE7 smudgy text issues with Superfish/hoverintent

2007-10-18 Thread JimD
Hi all, I just now decided to update to the latest version of jquery which means I had to update some plugin scripts. Everything works fine but I am having an issue specifically with my menu system which is using Joel Birch's great Superfish script. The menu works but in IE7 now the text is fuzz

[jQuery] Re: setInterval not working

2007-10-18 Thread Josh Nathanson
I think you need to do something like this: myfunc = return moveDatascape('#dsViewport',mouseX,scrollSteps,stageWidth,frameWidth,maxX,minX); But, you don't want moveDatascape to actually execute at that point, so you'll need to alter your moveDatascape function a bit: moveDatascape = func

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers & jQuery gurus please)

2007-10-18 Thread Mike Alsup
> What I think I need is to call this function when the submit is > invoked, but before "success" methods of your plugin. There's a way I > can achieve it? No, I don't think so. The submit-toIFrame approach relies on calling the form element's "submit" method which is a blocking call. Mike

[jQuery] setInterval not working

2007-10-18 Thread Alexandre Plennevaux
hi friends, can someone tell me what i'm doing wrong: i'm implementing a list displayed horizontally, that should position itself according to the user position. if the mouse is in the extreme left, div should move to the left rapidly, if it is in middle left, it should move half the speed,

[jQuery] Re: jquery code snippit improvement request

2007-10-18 Thread Michael Geary
First, combine duplicate code into a single function: $(document).ready(function() { zebra(); $('th').click( zebra ); }); function zebra() { $('tbody.bevker tr:odd').removeClass(); $('tbody.bevker tr:even').removeClass(); $('tbody.bevker tr:odd').addClass('row0 odd'); $('

[jQuery] Re: Create link around email anywhere on page?

2007-10-18 Thread Andy Matthews
This is what I've got so far. I've got the individual strings isolated, but I'm not really sure how to them into the page where they belong. HTML -- [EMAIL PROTECTED] Kilohertz [EMAIL PROTECTED], transistorized. Converter [EMAIL PROTECTED] services extended patch, interface

[jQuery] Re: Create link around email anywhere on page?

2007-10-18 Thread Andy Matthews
Just to clarify, I'm looking to convert this HTML: Logistically remote [EMAIL PROTECTED], infrared extended cable prototype feedback, software, encapsulated port element technician development logistically [EMAIL PROTECTED] to this: Logistically remote mailto:[EMAIL PROTECTED]">[EMAIL PROTEC

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers & jQuery gurus please)

2007-10-18 Thread Giovanni Battista Lenoci
Hi mike thank for your answer... now I'm still tryng to make it work with the progress bar... I think I'm really near to the solution, but I need your help... The code from I'm ispiring is this one: http://progphp.com/progress.phps In this code (that use yui) the function that submit the form v

[jQuery] Create link around email anywhere on page?

2007-10-18 Thread Andy Matthews
My company has some poorly written legacy code that outputs email fields to the page. Problem is that the email field variable named is itself variable. We don't know in advance that any specific field contains an email or not. So what I'd like to do is after the page is rendered, parse through t

[jQuery] Re: Release: jQuery Validation plugin 1.1.1

2007-10-18 Thread Jörn Zaefferer
> the demo page (index.html) from the zip file > (http://jquery.bassistance.de/validate/jquery.validate.zip) > fires up this error : > > jQuery(element).data is not a function > jquery.validate.js (line 875) Thanks for the heads up, fixed! Please just download the package again. -- Jörn

[jQuery] Help with button script

2007-10-18 Thread Priest, James (NIH/NIEHS) [C]
I'm trying to implement some code I found here - basically just trying to learn more about jQuery: http://monc.se/kitchen/59/scalable-css-buttons-using-png-and-background- colors#comment-15755 $('.btn').each(function(){ var b = $(this); var tt = b.text() || b.val(); if ($(':submit,:button',th

[jQuery] Re: number formatting plug-in

2007-10-18 Thread Jeferson Koslowski
I dont know if this is what ur looking for, but... take a look: http://digitalbush.com/projects/masked-input-plugin On 10/18/07, james_027 <[EMAIL PROTECTED]> wrote: > > > hi, > > is there a number formatting plugin for jQuery? > > Thanks > >

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers & jQuery gurus please)

2007-10-18 Thread Mike Alsup
> Small files big files... all the same problem. This files works with > your postet test-script. > Can you post the code? You can "view source" to see the test page (there is no PHP in it even though it's named test.php). The form action points to this file: '; var_dump($_POST); echo 'VAR DUMP

[jQuery] Re: changing the adressbar with javascript

2007-10-18 Thread Jonathan Sharp
You can use hashes (url.php#hash) which won't reload the page. -js On 10/18/07, Simpel <[EMAIL PROTECTED]> wrote: > > > Hi > > I'm almost certain that this one is impossible but maybe someone out > there has a solution > > We just released a site with a lot of ajax functions and now people >

[jQuery] 2007 Web Design Survey

2007-10-18 Thread Andy Matthews
Discuss amongst yourselves. http://alistapart.com/articles/2007surveyresults/ Andy Matthews Senior ColdFusion Developer Office: 877.707.5467 x747 Direct: 615.627.9747 Fax: 615.467.6249 [EMAIL PROTECTED] www.dealerskins.com <>

[jQuery] Re: Is this valid JSON?

2007-10-18 Thread Frank Peterson
Thanks, I was wondering about those square brackets [ ] at the start and end, I had never seen JSON start with those before

[jQuery] jquery code snippit improvement request

2007-10-18 Thread FrankTudor
Here is a bit of code that on page load sets the alternating color of a table. Then there is a table sort tool that loads as well. The th (header) clicks cause the nice alternating line colors to sort as well. So I created this, which works perfect, but it looks clunky/repetitive.. I was thinki

[jQuery] Re: jqGrid new version

2007-10-18 Thread ads_german
ads_german wrote: > > > I am using php to return a json dataset, and have double checked that the > json returned is valid (which it appears to be). > > Hmm, Seems that json that looked valid must have had some errors in it somewhere - I tried populating the grid via local and xml data an

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers & jQuery gurus please)

2007-10-18 Thread micha149
Small files big files... all the same problem. This files works with your postet test-script. Can you post the code?! Or zip it? PHP and HTML... maybe some necessary hiddens? In my last trials the firefox console didn't list the post event??? normal??? Thank you On 18 Okt., 14:42, "Mike Als

[jQuery] Re: Release: jQuery Validation plugin 1.1.1

2007-10-18 Thread Fabien Meghazi
> Plugin page(s): http://jquery.com/plugins/project/validate & > http://bassistance.de/jquery-plugins/jquery-plugin-validation/ the demo page (index.html) from the zip file (http://jquery.bassistance.de/validate/jquery.validate.zip) fires up this error : jQuery(element).data is not a function jq

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers & jQuery gurus please)

2007-10-18 Thread Mike Alsup
Giovanni, The form plugin offers no support for tracking upload progress. But Alexandre has a file upload plugin that uses flash to provides this capability: http://www.pixeline.be/experiments/jqUploader/ Mike On 10/18/07, Giovanni Battista Lenoci <[EMAIL PROTECTED]> wrote: > > On Oct 18, 2:

[jQuery] Re: Drupal Form + jQuery Forms Plugin + File Uploads (Drupallers & jQuery gurus please)

2007-10-18 Thread Giovanni Battista Lenoci
On Oct 18, 2:06 pm, micha149 <[EMAIL PROTECTED]> wrote: > I have the same Problem to The Plugin loads the file succesfully > to the server. I can trac it with the php modul "upload progress" to. > But it doesent appear in $_FILES. All other form fields are listet in > $_POST corectly. Hi Mic

[jQuery] Re: [NEWS] liScroll Plugin

2007-10-18 Thread GianCarlo Mingati
Thanks Karl ;-) GC On Oct 18, 2:54 pm, Karl Swedberg <[EMAIL PROTECTED]> wrote: > Hi GianCarlo, > > Just thought I'd offer clueTip as a resource if you'd like to see one > way to integrate hoverIntent into a plugin: > > docs:http://plugins.learningjquery.com/cluetip/ > js:http://plugins.learningj

[jQuery] Re: continuous action while mouseover

2007-10-18 Thread Alexandre Plennevaux
Brian, thanks a lot for taking the time to explain this. i managed to get it working with setInterval ! there are still a few glitches though, but it's moving all right :) you can see it here: http://m2.lab-au.com/proto_metalab2_datascape.htm now, my last issues: 1/ if the mouse move

  1   2   >