[jQuery] jQuery Conference (Boston) ticket available.

2009-08-31 Thread Eric
Hi, I found out I can't go to the jQuery conference in Boston on 9/12 and 9/13, so I have one ticket that I'm looking to sell for $150 (original ticket price). Please contact me if you're interested. Thanks.

[jQuery] Looking to sell a jQuery Conference (Boston) ticket

2009-09-01 Thread Eric
Hello, I have a ticket for the jQuery conference in Boston in two weeks that I'm not going to be able to use. I'm looking to sell it for $150 (original ticket price). Please contact me if you're intersted. Thanks.

[jQuery] Hover elements in wrong state once page finishes loading

2009-05-09 Thread Eric
Sorry if this has been addressed before -- it's a hard issue to describe. The page in question: http://testing.ericprice.cc The code in question: $(document).ready(function() { $(".teaser").hover(function() { $(this).addClass("hovered").find(".thumbnail").stop(true, true

[jQuery] Re: ajax append problem

2009-05-26 Thread Eric
When i try this i get an error "object required" in IE6 and 7. any thoughts? On Apr 27, 10:10 pm, Ricardo wrote: > I think you have to separate the selector otherwise it's just a hash: > > $(".content").load("test.html #content"); > > http://docs.jquery.com/Ajax/load > > On Apr 27, 5:14 pm, Char

[jQuery] append()-Param containing

2009-10-09 Thread Eric
d according to jQuery functionality. The crucial thing is: The script is being processed too fast, therefore executed before the input field is known. How can I delay execution until the HTML part is fully loaded? $('input#foo').ready() won't work and I don't consider setTimeout as a solution. Thanks for your help Eric

[jQuery] Fast Table Cell Selection

2009-10-24 Thread Eric
Im trying to manipulate a subset of a table and selecting the elements with my poorly written jquery is orders of magnitude slower than a simple direct DOM access of the elements using for(y;...) for(x;...) table.rows[y].cells[x]._do stuff_ I know both the starting and end

[jQuery] Re: Fast Table Cell Selection

2009-10-24 Thread Eric
My second example isnt right. the selector should include the TD [e.g. $("table tr:lt(endy):gt(starty) td") ] and after further testing, it performs reasonably well except: the lt/gt is non inclusive and I cant access the first row using gt(-1) as it is zero indexed.

[jQuery] $.getScript results in two requests!

2009-11-24 Thread Eric
Accept-Language: de-de,de;q=0.8,en-us;q=0.5,en;q=0.3 Accept-Encoding: gzip,deflate Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7 Keep-Alive: 300 Connection: keep-alive Cookie: (Cookie Contents) The web server runs IIS6. Thanks for your help Eric

[jQuery] Re: $.getScript results in two requests!

2009-11-27 Thread Eric
Hey there, Thanks for your answers. Sorry I didn't reply earlier, been pretty busy. It turned out the problem was caused by an old version of Firebug ( http://code.google.com/p/fbug/issues/detail?id=928 ). I am now using Firebug 1.3 on Firefox 3.5, where the bug is fixed. Eric On 25 Nov.,

[jQuery] How to dynamically add a rel="mylink"?

2007-10-02 Thread Eric
I understand how to add a class to existing href tags, for example $("a").addClass("myclass"); I would also like to be able to add a 'rel' attribute to the href tags, dynamically using jQuery. For example, my html would have existing: The jQuery then adds "myclass" but I also want to add

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

2007-10-17 Thread Eric
ollTop = $('#divname').scrollHeight; Therefore is there a more jquery-like way of doing it other than using plugins perhaps? Thanks. Eric

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

2007-10-18 Thread Eric
ollTop = $('#divname').scrollHeight; Therefore is there a more jquery-like way of doing it other than using plugins perhaps? Thanks. Eric

[jQuery] jquery and youtube's Gdata

2007-10-24 Thread Eric
ut how do i get the contents of media:title and each of the media:thumbnail entries? This doesn't work: $content = $("media:title", $thisentry).text(); Thanks! Eric

[jQuery] Re: What I am I doing wrong? This should be quick.

2008-11-24 Thread Eric
Hi. A test page would be really helpful so we can see the HTML and also the rest of the Javascript. If you can't post a test page, use www.jsbin.com instead. That will help us a lot. Thanks, -E On Nov 24, 5:59 pm, theCrandallSter <[EMAIL PROTECTED]> wrote: > // when the mouse is hovering ove

[jQuery] IE Opacity Issue

2008-12-11 Thread Eric
7; }, overlayCSS: { backgroundColor: '##fff', opacity: '.9' } }); This works fine in FF2 & 3. Any ideas? Thanks, Eric

[jQuery] Re: What's the correct way to write this code?

2008-12-12 Thread Eric
If you're looking for a fast, but thorough, intro to Javascript, I recommend Douglas Crockford's "The Javascript Programming Language" video, which can be seen in four parts over at Yahoo Video: http://video.yahoo.com/search/?p=crockford+javascript&t=video Here's a link to part 1: http://video.ya

[jQuery] Trigger Problem? (tablesorter)

2009-01-31 Thread Eric
Hello everyone!! i'm learning and doing a control panel in PHP + Ajax.. i used some plugins: it's all right, but when i add, remove or edit some row it didn't update! i used $("table").trigger('stripe'); to update but nothing happened!! can anyone help me??? xD thanks!!

[jQuery] jquery accordion customization

2009-02-03 Thread Eric
So I'm looking to use the jquery accordion code to expand and collapse content on a page. I was wondering how I would set it up so that when I click on a link in the page like more details, it would expand the div below it. Sorry I am really new to jquery and javascript so any help would be appre

[jQuery] slideDown jumps - even without padding set

2009-02-18 Thread Eric
Has anyone found a solution to this problem: http://groups.google.com/group/jquery-en/browse_thread/thread/a9f3fbb7d4c036f1/de2009dcbe51dd91?lnk=gst&q=slidedown+jumps#de2009dcbe51dd91 jonhobbs set up a great test page here: http://83.138.132.232/test.htm It uses 1.2.6, but I'm getting the exac

[jQuery] Anyone have jQuery emulation of box-sizing: border-box for IE?

2009-03-30 Thread Eric
I've searched around a bit. I can't find any jQuery script/plugin to emulate box-sizing: border-box on IE. Border-box is fantastic for form fields: .input { width: 100%; -moz-box-sizing: border-box; /* plus other vend-specific ones */ padding: 5px; } The inputs still take up 100% width but

[jQuery] Find if a checkbox is ticked or not by user

2009-04-08 Thread Eric
s checked or not. I did this in FFox with FireBug. I also noticed that as user check/ uncheck the box, the underlying html is not updated (always remains initial value), which is probably why the attr function is unable to pick up the value. Can anyone help? Thanks, Eric

[jQuery] Can anyone explain the jitter in my website using the "slide" effect?

2008-08-27 Thread Eric
I am building a website and using the "slide" effect to transition objects in and out of the screen. For some reason, in Firefox 3, the "slide" effect using {direction: "down"} creates a weird jitter at the bottom of the div that is sliding down. The website to see is www.freewebs.com/edauenhaue

[jQuery] Re: Can anyone explain the jitter in my website using the "slide" effect?

2008-08-27 Thread Eric
I appreciate the help, but that doesn't actually address my problem. I'm not trying to be rude, but you'll have to look at my actual website to see the problem (http://www.freewebs.com/edauenhauer). I'm sorry if that is a lot of trouble, but I don't know how to explain my problem better than actu

[jQuery] Re: Can anyone explain the jitter in my website using the "slide" effect?

2008-08-28 Thread Eric
> > Get that element to stop changing in height and it should help. Is there any way to use the "slide" effect in jQuery without it changing the element's height? There isn't any specific reason I need to use "slide", I just thought it looked cool, but if that effect is going to always jitter be

[jQuery] refreshing clueTip

2008-09-01 Thread Eric
. But I have to move out of the element and hover again to see the new content. I played around for a while but have no clue how to do this. Any ideas? Eric

[jQuery] Re: refreshing clueTip

2008-09-02 Thread Eric
Hm, too easy. Solution is the following: $(element).mouseout().mouseover();

[jQuery] Re: Problem with Tablesorter Pager plugin - there should be an option to turn off absolute positioning of pager container

2008-09-09 Thread Eric
Try adding the option positionFixed: false, like so: tablesorterPager({container: $("#pager"),positionFixed: false}); Here are the other defaults: this.defaults = { size: 10, offset: 0,

[jQuery] Re: jQuery and Rails Block

2008-09-22 Thread Eric
and toggle it. }); }); The reason this works is because each link hide shows the Next div in the DOM. If your HTML is different, then the code between $(this) and .toggle() will be different. See: http://docs.jquery.com/Traversing for the functions that will help you here. Cheers, -Er

[jQuery] Re: using click() with $(event.target).is(something)

2008-09-22 Thread Eric
Code samples would be really helpful here. I'm assuming that you've already attached a function to the Click event on Button B? $('.buttonB').click( ...some function to attach...); Because, unless you've done that, then running .click() isn't going to have much effect. Can you explain your reaso

[jQuery] Re: How can I make sure one AJAX call returns before another?

2008-09-22 Thread Eric
Well, here's a bit of a hackish solution, but you basically want to keep track of what happens when the first batch of Ajax calls complete. You do this by specifying functions to be called when the Ajax calls finish (succeed). http://docs.jquery.com/Ajax/jQuery.ajax#options Let's say you have th

[jQuery] Re: A better way to animate this list..?

2008-09-22 Thread Eric
You can trim it down a bit by using the index that each() passes to the callback function: $('#jq-secondaryNavigation li').each( function(i) { var that = $(this); setTimeout( function () {that.fadeIn('slow')}, i * 500 ); }); On Sep 22, 11:14 pm, ricardobeat <[EMAIL PROTECTED]> wrote:

[jQuery] Re: no callback for css/addClass?

2008-09-24 Thread Eric
I'm a little concerned by the line: $ ('#produtos_links').fadeIn(resize); Does that work? The Events documentation (http://docs.jquery.com/Effects/ fadeIn#speedcallback) says the signature of the function is: fadeIn( speed, [callback] ) Which would imply to me that the speed is a mandatory argu

[jQuery] Re: no callback for css/addClass?

2008-09-24 Thread Eric
Does #produtos_contato have any padding added to it? If so, IE could be calculating the width of the overall element as more than "350px", causing it to get bumped to the next line. On Sep 24, 5:05 pm, Alex Weber <[EMAIL PROTECTED]> wrote: > sorry i just took a look at the code and its a fadeIn(

[jQuery] Re: no callback for css/addClass?

2008-09-25 Thread Eric
Hmmm... If it's working in FF/Safari but not in IE, I'm still guessing that a browser rendering difference is to blame (rather than jQuery). Do you have any sample pages live on the web that I could check out? On Sep 25, 9:18 am, Alex Weber <[EMAIL PROTECTED]> wrote: > Th

[jQuery] Re: FlexiGrid and JQuery Problems...

2008-09-25 Thread Eric
Hmmm... Well, it's valid JSON (http://www.jsonlint.com/), and valid Javascript. I removed "< %=Html.BuildUrlFromExpression(c => c.UserList(ViewData.Model.ID))%>" from the code (but left the surrounding 'quotes'), and ran it through JSlint (http:// www.jslint.com/) and it only complained about $

[jQuery] Re: Safari Hide() - Everything I am running across fails.

2008-09-25 Thread Eric
You said that this is a "popular bug". Have you found it mentioned on other sites? If so, please let me know what solutions they suggested. My first guess is related to your mention of "The containers". Do you have more than one element with id 'cardsContainer'!? If so, that could be your pro

[jQuery] Re: get html of check box

2008-09-25 Thread Eric
Quick, but not dirty MorningZ! Good code :-) Annotation: $(document).ready(function() { // DOM is ready: // when we click on a checkbox $(":checkbox").click(function() { // find the next element and take the text of it. alert($(this).next().

[jQuery] Re: jQuery Developer Day at The Ajax Experience

2008-09-29 Thread Eric
jQuery Day was a grand success. It was great meeting so many people. Thank you to the organizers and the speakers! -Bluegrass&BBQ On Sep 4, 2:29 pm, Rey Bango <[EMAIL PROTECTED]> wrote: > Yep. It will be at MIT. We'll be putting out address details soon. > > Rey > > MorningZ wrote: > > Good d

[jQuery] Re: jquery code works with firefox but not ie.

2008-09-30 Thread Eric
I'm a little concerned by this line: client = $("client",data).get(id); I'd recommend putting a "var" in front so that you have a local, not a global, variable. It also seems to me like $("client",data).get(id) is equivalent to 'this' inside the each. so instead of: client = $("client",data).get

[jQuery] Re: select data in a ignoring the

2008-09-30 Thread Eric
I apologize, I haven't tested this code: $('p').each( function () { alert( $(this).contents().not('span').text() ); }); On Sep 30, 12:20 pm, Pedram <[EMAIL PROTECTED]> wrote: > It didn't work Cause the Text isn't concern as a Children and it is in > No Tag area  so when we call $(this).

[jQuery] Re: jquery code works with firefox but not ie.

2008-10-06 Thread Eric
on(xml) { > > $("#loading").remove(); > > addMessages(xml);}); > > > setTimeout('updateMsg()', 4000);} > > > > > > > #messagewindow { > > height: 250px; > > border: 1px solid; > > padding: 5px; > > overflow: au

[jQuery] Re: simple table filtering?

2008-10-06 Thread Eric
This sounds specialized enough that you'll probably be writing the code yourself. No problem, jQuery will help! Basically, every time the contents of your text fields change, you'll go through every row of the table, check specific cells, and if they don't match the text (http://www.w3schools.com

[jQuery] Re: Un-minify?

2008-10-07 Thread Eric
I'll throw in a plug for Git ( http://git-scm.com/ ). Easily installed on Linux, Windows and OS X 10.5, it can be a great safety net that takes literally 10 seconds to set up for a new project (once the program is on your comp). Nothing puts a smile on my face like erasing a huge chunk of spaghe

[jQuery] Re: Basic problem - using .click and .hover together on elements

2008-10-11 Thread Eric
Great question, jez_p! You've described a common problem. You'll be happy to know that there's a solution, _and_ that it will help you out in a number of other ways as you move forward. The solution involves separating the 'clicked' and 'hovered' states, and then specifying that the link is red o

[jQuery] Re: Impossible challenge: when bg image loads

2008-10-12 Thread Eric
I'm gonna go out on a limb and say, "no". But you might be able to work with the browser cache by loading the bg.jpg in a hidden div. If that causes the image to be cached by the browser, then you can show the background after a significant delay and it *should* appear instantaneously. Not tes

[jQuery] Re: jquery validation

2008-10-12 Thread Eric
Plugins sometimes conflict. One of the mark of a good plugin is a minimum of conflicts. Also, the tricks we sometimes have to play on the DOM can interact in non-intuitive ways. Can you please describe in more detail the problem that you're having? You may also try to use other plugins, such as

[jQuery] Re: JQuery Selector and Java Script Variable

2008-10-13 Thread Eric
Please post a test case which fails in JSBin.com, and we'll be better able to help you out! -E On Oct 13, 12:32 pm, Shadi Almosri <[EMAIL PROTECTED]> wrote: > Hiya, > > I've not been able to find an answer to this online! can someone point > out the correct syntax for this: > > var myRel = $(thi

[jQuery] Re: Thickbox vs jqModal

2008-10-13 Thread Eric
We'll need a larger code sample to help you out. Are you using "Equal To" as an in-html class name? or are you using it as a part of a "Rules" object that's passed to the validate() call? -E On Oct 13, 1:46 pm, bookme <[EMAIL PROTECTED]> wrote: > Thanks to all of you! > > But Now got more congu

[jQuery] Re: jquery validation

2008-10-13 Thread Eric
I recommend posting your code to JSBin.com so that we can collaboratively debug it? -E On Oct 13, 1:48 pm, bookme <[EMAIL PROTECTED]> wrote: > Hi Eric! > >         "data[User][password]": { >                                 required: "Provide a password", &g

[jQuery] Re: jquery validation

2008-10-13 Thread Eric
oops. forgot link to Validation documentation: http://docs.jquery.com/Plugins/Validation/Methods/equalTo On Oct 13, 2:08 pm, Eric <[EMAIL PROTECTED]> wrote: > As described in this section of the Validation documentation, > 'equalTo:' takes an expression which relates t

[jQuery] Re: .html() is rewriting & to &

2008-10-13 Thread Eric
When your code is displayed by Google Groups, it shows a simple ampersand in both cases! I think the difference may be moot. In general, when you're writing HTML, you always want to use & a m p ; (which I have spaced to prevent conversion) instead of simply &. Can you provide a code sample in

[jQuery] Re: Pack or Min | Which is better for faster loading?

2008-10-14 Thread Eric
My personal recommendation is to go with the "min" version of jQuery and any plugins. As Crockford says: "Any transformation carries the risk of introducing a bug." http://yuiblog.com/blog/2006/03/06/minification-v-obfuscation/ A Combo of JSLint and JSMin is about as safe as you can get. -E On

[jQuery] Re: [Treeview] is there a way to extend the click element?

2008-10-14 Thread Eric
I'm sorry, I don't have an answer, but I have edited the subject line of the message so that the people that *can* help can better identify the message. I did notice that there's a "toggle:" callback function. Check out the documentation (click over to the Options tab): http://docs.jquery.com/Plu

[jQuery] [treeview] is there a way to extend the click element?

2008-10-14 Thread Eric
FAIL. :-( On Oct 14, 2:31 pm, Eric <[EMAIL PROTECTED]> wrote: > or at least I tried to change the subject... hrm... > > second try. > > On Oct 14, 2:31 pm, Eric <[EMAIL PROTECTED]> wrote: > > > I'm sorry, I don't have an answer, but I have edited t

[jQuery] Re: Help needed please!

2008-10-14 Thread Eric
Checkout my reply in this other thread to help you get the clicked and hover functionality working: http://tinyurl.com/3lqr7y In terms of hiding and showing the div, it looks like you've got a *lot* of stuff going on there. My first recommendation is to bundle your actions up into "hideSidebar()

[jQuery] [Treeview] is there a way to extend the click element?

2008-10-14 Thread Eric
or at least I tried to change the subject... hrm... second try. On Oct 14, 2:31 pm, Eric <[EMAIL PROTECTED]> wrote: > I'm sorry, I don't have an answer, but I have edited the subject line > of the message so that the people that *can* help can better identify > the

[jQuery] Re: [validate] -- newbie getting started

2008-10-22 Thread Eric
A couple things that probably aren't the problem, but should be fixed anyways: - In the TEXTAREA tag, put quotes around the name. - For the hidden INPUT, remove the space from the name - Give a name to the FORM tag. Are you getting any Javascript errors in Firebug? Can you post a test page so I

[jQuery] Re: Set the positions of buttons in a Dialog

2008-10-22 Thread Eric
As far as I know, there's no way to do it via the .dialog() options. However, you can tweak the CSS to get the desired effect. I'm using a Themeroller theme, and found the following areas to change (line numbers may be different for you): -line 284, .ui-dialog-buttonpane : change tex-align to 'r

[jQuery] [validate] Checking if a form is valid without triggering UI feedback

2008-01-22 Thread eric
Hi there, I'm wondering if there is a way to check if a form is valid without triggering UI feedback for invalid fields in the form? I tried both the $('#myform').valid() and validator.form() methods, but they both trigger the UI. cheers // eric

[jQuery] anonymous callbacks and memory

2008-04-17 Thread Eric
y div element rather than passing a generic callback (by name) to the .each() method. Additionally, I'm creating another function for the bind. Is JQuery doing something special or am I correct that calling a callback by name would be better choice? Thanks for the advice, Eric

[jQuery] Controlling a list box change event that fires faster than ajax can complete.

2008-06-16 Thread Eric
I'm making a web application that will be the front end for a MySQL database. I've got a page that displays a row's data. There are about 20 input fields and a list box. This list box lists the pk of each row and on change loads that row into the fields. Also, one of the fields is the source of an

[jQuery] Using Dimensions Library

2008-06-18 Thread eric
I apologize if this is a dupe- but would this be the way to use the dimensions library. I am having a tough time positioning elements and I can't seem to find too many online demos. $("#insertLink").click(function(){ $("#insertDiv").offset($(this).offset());

[jQuery] Quick question about dimensions

2008-06-18 Thread eric
I've recently been exploring the jquery library and I apologize if this is a silly question. But could someone post a simple example of using the dimension library to position a div directly below a link. I have tried something like this: $("#insertLink").click(function(){

[jQuery] Noob Question: Using Selectors after ajax load

2008-06-25 Thread Eric
I am sure this has been answered before, but I could not find it. I click on a link which loads a second page into a div using the load function $(document).ready( function() { $(".actions a").bind ("click",

[jQuery] Re: Noob Question: Using Selectors after ajax load

2008-06-26 Thread Eric
Thanks a lot for the help! Really appreciate it -Eric

[jQuery] Re: JQuery Cycle Previous / Next Question

2008-07-03 Thread Eric
You're looking for the fx: scrollHorz It's hidden in the list of effects: http://malsup.com/jquery/cycle/begin.html On Jul 3, 8:31 am, Ara <[EMAIL PROTECTED]> wrote: > I'm using JQuery's Cycle plugin to assemble a slide show and enable > next / previous operations.  This is all working fine, my

[jQuery] Cycle Plugin - play/pause button?

2008-07-08 Thread Eric
Hi I am using the Cycle Plugin which is great. I know you can set pause:1 in the function options so that you get a pause on mouse hovering over the image. I was wondering if there is a way to set a play/pause function to some button in the page?

[jQuery] Re: Cycle Plugin - play/pause button?

2008-07-08 Thread Eric
Great thanks alot > Here's a couple demos: > > http://www.malsup.com/jquery/cycle/pause.htmlhttp://www.malsup.com/jquery/cycle/hover.html

[jQuery] Re: Can jQuery perform a generalized getElementById(divid) function without specifying the exact div id?

2008-08-18 Thread Eric
> Sure, there are a number of ways you could do that. But it's hard to suggest > what might be best without seeing the HTML code - can you post an example? > Also, it sounds like you do have control over the HTML code so you can > change it as needed, subject to your layout design requirements, is

[jQuery] Re: Can jQuery perform a generalized getElementById(divid) function without specifying the exact div id?

2008-08-18 Thread Eric
Yes, that works perfectly.

[jQuery] Re: jQuery Powered Sites - More Sites Added.

2007-04-18 Thread Eric Orton
tence that there can only be 1 form per page - datePicker: to select dates :) Only accessible when editing you have an account Thanks for the great libraries, they've certainly made our job a lot easier! Cheers, Eric ____ Eric Orton Development Consultant Areeba Solutions Pty

[jQuery] Re: selecting next/prev element in a table

2007-07-25 Thread Eric C
I had a similar problem, except using inputs rather than checkboxes. I also went forward only, but I think you could modify or at least use it as a starting point. Here is the thread where it was posted: http://groups.google.com/group/jquery-en/browse_thread/thread/d9f526718f3feaa0/d5d137d73d79d

[jQuery] Re: switch between two class - Basic Issue

2007-07-25 Thread Eric C
shouldn't your line: $("collapsibleopen").click(function(){ be $(".collapsibleopen").click(function(){ ? On Jul 25, 3:28 pm, "Mario Moura" <[EMAIL PROTECTED]> wrote: > Hi Folks > > I am trying switch between two class > > Is it possible? > > $(document).ready(function(){ > > $(".collapsible .c

[jQuery] Re: Announce: Masked Input Plugin 1.0

2007-07-26 Thread Eric C
I asked for the custom masks based on a website I'm doing where the customers will have to input their prescription numbers. The numbers are alien to the customer (just like for you) and are prone to errors. The custom masks add lots of flexibility to the plugin: For example, prescriptions go u

[jQuery] Re: alternate next() behavior

2007-07-25 Thread Eric C
Josh: I had a similar issue, in fact using your very own maskedInput plugin. I wanted the :completed callback to tabOver to the next input, regardless of the location. I posted the code that works for me on this thread: http://groups.google.com/group/jquery-en/browse_thread/thread/d9f526718f3fe

[jQuery] Ajax link in docs for 1.2 crashes IE6

2007-09-12 Thread Eric Crull
Going through the Jquery 1.2 release notes using IE6 I couldn't even access the page on Ajax. Everytime I clicked the Ajax Link, the browser folded like a house of cards. A second problem exists under clone(true) found in the Manipulation link. The documentation indicates that each cloned butt

[jQuery] Re: Binding of object

2009-07-21 Thread Eric Garside
In what situation in your code would more than a single event be bound to the element? On Jul 21, 11:22 am, Liam Potter wrote: > Well the way you do it would really do anything, it will just unbind, > then run the function again as it is chained? > > > > sken wrote: > > Would make sense but i th

[jQuery] Re: Looking for some help converting this to jquery

2009-07-23 Thread Eric Garside
function setButtonClass(){ $(':submit,:reset,:button').each(function(){ var el = $(this), val = el.val(), word = (val.split(/[^A-Z\W]/).length/2) + val.length; el.addClass( word >= 12 ? 'mb' : (word > 4 ? 'sb' : (word > 0 ? 'b' : '')) ); }) }

[jQuery] Re: Make width of inner div equal outer

2009-07-23 Thread Eric Garside
$('.secondLevel').css('width', $('#header').width()); On Jul 23, 1:16 pm, Paul Collins wrote: > Hi all, > I've got a problem with IE6 and I need to basically find the width of the > "header" DIV and make the "secondLevel" DIV match it. So, I guess I need to > target IE6 specifically in the code.

[jQuery] Re: consistently unable to get return false to work, why?

2009-07-28 Thread Eric Garside
Try starting off with a simplifying your selectors and the code in general? .live(), in this case, isn't going to provide you much benefit, as you're binding it to an element based on an ID, which means there will only ever be a single element which this function triggers for. Try something like:

[jQuery] Re: Using replaceWith on a instead of a causes text to be deleted

2009-07-28 Thread Eric Garside
The W3C has a list of valid self-closing tags, div of which is not one of them (for the sake of compatibility, I think). http://www.w3schools.com/xhtml/xhtml_ref_byfunc.asp Only the following tags should be self closed: On Jul 28, 11:30 am, "thorasm...@gmail.com" wrote: > Not sure whe

[jQuery] Re: JQuery and XHTML in Firefox

2009-07-28 Thread Eric Garside
What doctype / mimetype are you specifying. If you're doing xhtml+xml, I'm pretty sure if you remove the "+xml" portion, things will play nicely again. On Jul 28, 12:55 pm, ScottSEA wrote: > Until recently, I was humming along happily with my jQuery and HTML... > life was good.  Sadly, the Power

[jQuery] Re: JQuery and XHTML in Firefox

2009-07-28 Thread Eric Garside
Can you give a sample of the output? How different is the result of the transform from valid xhtml? On Jul 28, 2:55 pm, ScottSEA wrote: > On Jul 28, 9:55 am, ScottSEA wrote: > > > Until recently, I was humming along happily with my jQuery and HTML... > > life was good.  Sadly, the Powers That B

[jQuery] Re: Using data(name,value) to store additional information

2009-07-28 Thread Eric Garside
You could also do it with non-styling classes, as an alternative to locating them. $('div:first').data('foo', 'bar').addClass('foo'); $('.foo'); On Jul 28, 3:15 pm, Basdub wrote: > Thanks, that should do the trick. > > On Jul 23, 10:44 pm, Karl Swedberg wrote: > > > > > One way to retrieve th

[jQuery] Re: Loading a Page in an Iframe with BlockUI

2009-07-29 Thread Eric Martin
:"", overlayClose:true, containerCss: {height:450, width:830} }); That's with SimpleModal v1.3. -Eric On Jul 29, 7:24 am, Chris wrote: > How would you load a separate page in an iframe with BlockUI? > > I tried: > forceIframe:true, > iframeSrc:

[jQuery] Re: function running 2X

2009-07-29 Thread Eric Garside
Pretty sure its because the event is bubbling up. Try: $('#cardcharges td').click(function(){ alert('execute once'); return false; }); On Jul 29, 2:38 pm, marksimon wrote: > no stupid ideas here, but changing to $(#cardcharges td).click( didn't > fix the problem. > > On Jul 29, 11:22 am, András

[jQuery] Re: simplemodal scroll problems

2009-07-29 Thread Eric Martin
Do you have a link? Can you disable the scroll in the page. If not, how about disabling it in the modal: $(element).modal({onShow: function (d) { d.wrap.css('overflow','hidden'); }}); -Eric On Jul 29, 8:44 am, junkqwe wrote: > I am using simplemodal 1.3 >

[jQuery] Re: More fun with decrementing on click

2009-08-03 Thread Eric Garside
The problem is in how you're applying the decrement operator. If you put it at the end of the number, as in: number-- Then, the current number will be returned, THEN decremented. That's what's happening here. Simply put the operator before the number, so it is decremented THEN returned. $('.nu

[jQuery] Re: Remove an element but not it's content

2009-08-06 Thread Eric Garside
If you want a cleaner look, you can always just throw together a quick plugin to handle things: $.unwrap = function(){ return this.each(function(){ var el = $(this); el.before( el.html() ).remove(); }) } Then, simply call: $('a.tester').unwrap(); And it will unwrap all

[jQuery] Re: Loading jQuery without blocking

2009-08-06 Thread Eric Garside
Honestly, I'd load jQuery regularly, and use the getScript function to load the rest of the files after domready. I don't know that you're getting a big performance increase in loading the jquery library in this method, and it is causing an unknown error, which isn't an ideal thing to debug. :P U

[jQuery] Re: Simplemodal ajax dialog

2009-08-09 Thread Eric Martin
Michael, You need to initialize any third party scripts in the SimpleModal onShow callback. Here's an example of using Datepicker with SimpleModal: http://www.ericmmartin.com/code/datepicker/ -Eric On Aug 7, 2:34 am, Michael Anckaert wrote: > Hello everyone, > > Using the simple

[jQuery] jQuery Twitter Full API Plugin - Help Needed Testing

2009-08-18 Thread Eric Garside
Hey guys, I've been working on a full implementation of the twitter API through, primarily, jQuery, with a simple relay script server side for securely signing and keeping auth details. I've just finished the library, and am looking for some developers who know either the twitter API and jQuery to

[jQuery] Re: Simplemodal is triggering $(document).ready

2009-08-23 Thread Eric Martin
Luis, Can you be a little more clear on what the problem is? Do you have a link or sample (working) code I can see? -Eric On Aug 23, 6:55 am, lfrodrigues wrote: > Hi, > > I've been using simple modal for quite some time. > > Now I have a problem. I have some code with us

[jQuery] Re: SimpleModal autoresize on demand?

2009-08-26 Thread Eric Martin
te').one('click', function () { dialog.container.animate({height:"+=50", width:"+=50"}, 1000, function () { self.setPosition(); }); }); } [1]: http://www.ericmmartin.com/simplemodal-test/ Hope that hel

[jQuery] Upgrading to 1.3.2 from 1.2.6, selectors that used to return many elements now only returning first

2009-08-28 Thread Eric Winter
I am not trying to upgrade to 1.3.2 and in every case I use a selector that should (used to) return many elements now only returns the first. I checked using the .size() method and it is indeed only returning 1. Any ideas on what went wrong? Thanks, Eric

[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-08-30 Thread Eric Martin
With SimpleModal, you can use the persist option: $(el).modal({persist:true}); There are some known issues in IE though.[1] -Eric [1]: http://www.ericmmartin.com/projects/simplemodal_v12/#othernotes [under Known Issues] On Aug 30, 12:48 pm, "Steffan A. Cline" wrote: > I have

[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-08-31 Thread Eric Martin
If you are referring to the known issues I mentioned - since they are browser issues, you'd need to implement something that woul keep track of state in those browsers. On Aug 31, 6:45 am, "Steffan A. Cline" wrote: > on8/30/09 12:48 PM, Steffan Cline at stef...@hldns.com wrote: > > > > > > > > >

[jQuery] Re: JqModal / simpleModal - maintaining form state

2009-09-01 Thread Eric Martin
> > > If you are referring to the known issues I mentioned - since they are > > browser issues, > > Eric, thanks for the response. What issues did you mention that I missed? http://www.ericmmartin.com/projects/simplemodal_v12/#othernotes [under Known Issues] > >

[jQuery] Re: Looking to sell a jQuery Conference (Boston) ticket

2009-09-01 Thread Eric S.
The ticket has been spoken for. On Sep 1, 11:19 am, Eric wrote: > Hello, > > I have a ticket for the jQuery conference in Boston in two weeks that > I'm not going to be able to use.  I'm looking to sell it for $150 > (original ticket price).  Please contact me if you're intersted. > > Thanks.

[jQuery] Re: Check if function exists

2009-09-02 Thread Eric Paige
unsubscribe me Eric Paige Web Developer On Wed, Sep 2, 2009 at 10:44 AM, shapper wrote: > > Hello, > > I am loading TinyMCE using the new JQuery Plugin: > >

  1   2   3   4   5   6   >