[jQuery] tbody and jQuery

2008-04-15 Thread Alex Ezell

Is it possible that jQuery would insert tbody tags into the DOM for
tables that do not have them?

I am beginning to suspect that jQuery is the reason these tbody tags
are "appearing" in the rendered source of my pages, despite the tables
not having tbody tags in my code.

/alex


[jQuery] Re: songza.com

2008-01-02 Thread Alex Ezell
Doesn't seem to work in Safari. The request made to Youtube are shown as
"forbidden." Firefox works great.
Pretty cool stuff.

On Jan 2, 2008 1:59 PM, Ty <[EMAIL PROTECTED]> wrote:

>
> songza.com
> so-o-o it's downloading the audio from youtube using the flash player,
> pretty slick.
> Why's everyone so convinced it will be illegal, if the stuff's legal
> on youtube to begin with, then it just may work out. The money get's
> what the money buys, it's an ambitious project!
> thanks Aza Raskin at humanized.com ;)
> Also check this link:
>
> http://ajaxian.com/archives/songza-would-you-like-a-habituatable-pie-menus-with-your-social-music
>
>
> On Nov 19 2007, 8:38 pm, "Jake McGraw" <[EMAIL PROTECTED]> wrote:
> > This is one of the first sites I saw and the following events took
> place:
> >
> > 1. "They've got to have some slick-ass library running underneath"...
> > 2. Click "firebug"...
> > 3. and what do you know jQuery.
> >
> > Enjoy it while it's still legal.
> >
> > - jake
>


[jQuery] Re: Site Submission, finally!! :-)

2007-10-09 Thread Alex Ezell

Congratulations Steve!

It's always nice to finish a project and realize how much you've
learned along the way. I only glanced at the site, but your
description sounds like you really jumpstarted your client's
interaction with the web.

Regardless of any technical stuff we might discuss, the most important
thing is that you've made your client happy, more efficient, and
hopefully more successful.

/alex

On 10/9/07, Steve Finkelstein <[EMAIL PROTECTED]> wrote:
>
> Wow, I feel like I just gave birth.
>
> So there's certainly some bugs left which I'm tweaking out, but I've
> finally delivered not only my first web application -- but also a
> jQuery powered one (using the lovely Code Igniter as my backend)!
>
> A little background and some words of inspiration. On resume, I'm a
> systems administrator / network engineer. I was recently approached by
> an individual I went to highschool with that just remembers me being a
> typical computer geek and asked me if I can program. I told him I'm up
> for any challenge and alas the following was born:
>
> http://www.f1autoimports.com
>
> I've always had a background in programming with my CS education and
> ofcourse, writing automated scripts in any systems/network environment
> I've been thrown at, mostly perl/bash based.
>
> Let me tell you, never have I had more fun before, despite all the
> cross browser frustrations when writing front-end code, than doing web
> development. I'm slowly switching my career to doing development full
> time and hoping I have the opportunity to code more sites. The design
> here has been mostly put together by a colleague of mine -- I did all
> of the javascript/PHP/database design, he did 90% of the CSS/HTML, I
> did the other 10%.
>
> Most of the "juice" for this site is in the administrative lounge. For
> obvious reasons I can't deliver f1auto's, but I do have a
> demonstration site up anyone can login to and have fun with at:
>
> http://devel.phpgeek.org/console
> login: admin
> pass: f1auto
>
> There's a mixture of jQuery+ExtJS objects floating around the site.
> This thing also pushes all of this companies inventory AUTOMAGICALLY
> every morning through a cron job to autotrader.com and cars.com.  They
> no longer have to put in their inventory manually!
>
> I plan on writing an eBay extension soon as well using their API.
>
> Wow, there's still a lot of room for improvement. But I'm excited as
> hell. Nothing like getting paid to do what you love. I can't wait to
> be doing this full time.
>
> Leave some love! :-) If you've got hate, leave it also, it'll give me
> more inspiration to work harder on bug fixes and my next project. :-)
>
> -- Steve Finkelstein
> zuez on EFnet / FreeNode IRC
>


[jQuery] Re: Code Review: Table filtering...

2007-09-14 Thread Alex Ezell

How big do you expect this table to get?

I'm not sure, but on a really large table, it might be pretty slow to
do a .each() over all the elements on each keypress.

Maybe a better way would be to have a function to parse the table
results and build some sort of data structure (array, JSON object,
etc.) which you might be able to filter quicker. I'm not *sure* that
it would be faster, but it's something to explore.

/alex

On 9/14/07, Andy Matthews <[EMAIL PROTECTED]> wrote:
>
> Yeah...I saw that after I wrote my own actually. Mine is only like 5 lines
> of code, I'm guessing the plugin is far larger than that.
>
> At this point, I'm just looking for feedback to tell me if my code is any
> good.
>
> :)
>
>
> andy
>
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Chris W. Parker
> Sent: Friday, September 14, 2007 11:49 AM
> To: jquery-en@googlegroups.com
> Subject: [jQuery] Re: Code Review: Table filtering...
>
>
> On Friday, September 14, 2007 9:25 AM Bil Corry said:
>
> > Andy Matthews wrote on 9/14/2007 8:11 AM:
> >> Yesterday I asked on the list for suggestions on how to filter the
> >> contents of a table using an autocomplete type interface. Didn't get
> >> any answers so last night I wrote it myself.
> >
> > Sorry, I must have missed your post (I find it difficult to keep up
> > with the traffic on this list).  This is what I've been using for many
> > years, the only tweak I made to it was to make it
> > case-insensitive:
> >
> > 
>
> And if you prefer a jQuery plugin (this is the one I was talking about):
>
> http://ideamill.synaptrixgroup.com/?page_id=16
>
>
>


[jQuery] Re: Looking for a calendar picker that allows for two instances on one page

2007-08-30 Thread Alex Ezell
In particular, see this demo of the v2 of the plugin.

http://kelvinluck.com/assets/jquery/datePicker/v2/demo/datePickerStartEnd.html


[jQuery] Re: Looking for a calendar picker that allows for two instances on one page

2007-08-30 Thread Alex Ezell
Andy,I've used datePicker[1] from Kelvin Luck to do multiple date fields on
the same page. I am still using v1 (because I am too lazy to update it and
test the new v2), but I'm sure v2 would work fine for you.

There are some cool things being done with time and date pickers that work
nicely if you need time.

[1] http://kelvinluck.com/assets/jquery/datePicker

/alex

On 8/30/07, Andy Matthews <[EMAIL PROTECTED]> wrote:
>
>  I'm working on an app which allows users to search against data in our db
> using a date range (start, end).
>
> What I need is a calendar which allows a user to select both dates, then
> click submit. So I need a calendar which allows for two instances of itself
> on one page.
>
> I'm looking at jCalendar: http://tedserbinski.com/jcalendar/index.html which
> looks really great. But does anyone know if there's a better one?
>
> * 
>
> 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: OT: building a CSS-only nav system

2007-08-23 Thread Alex Ezell

Note to self: When demoing code, never use a photo more attractive
than said code.

Cool effect and cool photography.

/alex

On 8/23/07, Andy Matthews <[EMAIL PROTECTED]> wrote:
>
> Phew...that girl is beautiful.
>
> I've got something like that on my photo slideshow. That sort of nav has
> been around for a while. I think it came out with Lightbox.
>
> -Original Message-
> From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
> Behalf Of Stephan Beal
> Sent: Thursday, August 23, 2007 3:07 PM
> To: jQuery (English)
> Subject: [jQuery] OT: building a CSS-only nav system
>
>
> This showed up on digg today and i thought it might interest some of you, or
> inspire some of you to write a plugin:
>
> http://www.pupinc.com/browser/
>
>
>


[jQuery] Re: next anchor tag in list

2007-08-14 Thread Alex Ezell

Looks like Nabble is eating the HTML when you post from there.

/alex

On 8/14/07, b0bd0gz <[EMAIL PROTECTED]> wrote:
>
>
> Sorry about that list it should look like this
>
>  
> full_img/dh0215co4.jpg first link 
> full_img/34220_1605__364lo.jpg second link 
> full_img/122120_7132__239lo.jpg third link 
>  
>
> html of the button
> # next
>
> What I want is when you click the next button is for an alert box to display
> the "href" value of the link that comes after the link with the class
> "selected", which in the list above would be the href value of "second
> link".
>
> Hope that makes a bit more sense.
> b0bd0gz
> --
> View this message in context: 
> http://www.nabble.com/next-anchor-tag-in-list-tf4267089s15494.html#a12147211
> Sent from the JQuery mailing list archive at Nabble.com.
>
>


[jQuery] Re: [Slight OT] Quick straw pole about maps

2007-08-08 Thread Alex Ezell

As someone who has spent months, only moderately successfully,
integrating Google Maps into a web app, I have two things to say:

1) Why is this the first I have heard of this plugin? I use jQuery
throughout the site and would love to use it to handle some of my map
duties.

2) I agree with Glen that focusing on one service is probably smarter
in the long run. I much prefer Google, in part because of the way they
handle driving directions, but also because of the interface
customization possible. I feel like Google is more committed to their
API than Yahoo.

Thanks for your work on this. I might use it if I ever get around to
version 2 of this app I built.

/alex

On 8/8/07, Glen Lipka <[EMAIL PROTECTED]> wrote:
> I never use Yahoo.  I use Google for general quick maps and directions.  I
> use http://local.live.com for the birds-eye-view.  That view is ridiculously
> crazy.
> It sounds like a good idea to go for just one map source and make it more
> feature rich.
>
> Glen
>
>
> On 8/8/07, Tane Piper <[EMAIL PROTECTED]> wrote:
> >
> > Hey folks,
> >
> > I wanted to ask the list a quick straw poll. A bit OT but the subject
> > is one of my plugins.
> >
> > I've just released version 1.4 of my plugin without much fanfair
> > ( http://code.google.com/p/jmaps) and I'm starting to think about the
> > next version.  I wanted to get an idea of what other people want, not
> > just me.
> >
> > So a quick question is, especially to anyone using it is:  What
> > mapping service do you prefer?  Google? or Yahoo?
> >
> > The reason I ask, is I can either keep the plugin on its current
> > course of supporting both map services as equally as possible, or I
> > can scale down or abandon the Yahoo support in going down the route of
> > much more customisation for Google maps.  For example, using jQuery
> > syntax to make things such as custom icons, buttons and layouts more
> > simple, as well as their services (geocoding, traffic info, map ads,
> > etc).
> >
> > If you prefer Yahoo, let me know why.
> >
> > Thanks folks!
> >
> > --
> > Tane Piper
> > http://digitalspaghetti.tooum.net
> >
> > This email is: [ ] blogable [ x ] ask first [ ] private
> >
>
>


[jQuery] Re: How to read value of a file input field?

2007-08-03 Thread Alex Ezell

This is not possible because the image will not yet be on your server.
The browser will have no access to display an image local to the
user's machine within a web page.

You could maybe start uploading it as soon as they select it, then use
Ajax to update the div once the upload is done. Maybe it polls for the
expected file's existence until it finds something.

/alex

On 8/3/07, LSUDVM <[EMAIL PROTECTED]> wrote:
>
> Hi
> I just found the jQuery group and joined. I absolutely jQuery after
> discovering the Thickbox. I need some help with this task. I have an
> asp.net page for uploading photos. I want to show a preview of the
> image once i have browsed for and selected the image using the file
> input. How can get the value of the file input? I then want to pass
> this value to the src of an image. I assume this is possible.
>
> Thank you
> Ashok
>
>


[jQuery] Re: Good Javascript editor or IDE?

2007-08-01 Thread Alex Ezell

+1 for Aptana, quickly becoming a great IDE.

I'm on Mac, so I do most of text-editing in TextMate, but occasionally
I need something more IDE-oriented and pop over to Aptana.

/alex

On 8/1/07, Priest, James (NIH/NIEHS) [C] <[EMAIL PROTECTED]> wrote:
>
> > -Original Message-
> > From: Matt Penner [mailto:[EMAIL PROTECTED]
>
> > What recommendations on JavaScript editors or IDEs does anyone have?
> > Is there something sophisticated enough that can have intellisense
> > with jQuery or my own objects in external js files?
>
> I use Eclipse/CFEclipse to develop my ColdFusion and have lately been
> playing around with Aptana - works great for my CSS and I noticed it has
> jQuery support I think:
>
> http://www.aptana.com/
>
> Jim
>


[jQuery] Re: [ANNOUNCE] New jQuery using Site: jingproject.com

2007-07-31 Thread Alex Ezell

I use this quite a bit at work. I never realized it had jQuery. Didn't
think to look.

Thanks for sharing!

On 7/31/07, Rey Bango <[EMAIL PROTECTED]> wrote:
>
> Added the site! Thanks for the submission. :)
>
> [EMAIL PROTECTED] wrote:
> > Just had this site http://www.jingproject.com/ emailed to me, and
> > apart from it being a fantastic looking tool, it uses jquery :)
> >
> >
>


[jQuery] Re: Selected Option Value

2007-06-06 Thread Alex Ezell


I sent you that telepathy...didn't you hear me?

Yeah, this is a good one to know. Thanks for reminding me.

/alex

On 6/6/07, Glen Lipka <[EMAIL PROTECTED]> wrote:

AHA!  I wish I knew this 4 hours ago!


function whatisit() {
  alert($("select option:selected").val());
}



test
blah
foo

Why didn't anyone tell me this worked?  Ugh.

Glen



[jQuery] Re: Delete a table row with JQuery

2007-06-04 Thread Alex Ezell


Pablo,
I'm sort of guessing here, but it might be that fadeOut doesn't remove
the element from the DOM. Perhaps try another effect like DropOutUp
like:

jqRow.DropOutUp(500);

/alex

On 6/4/07, infosoft <[EMAIL PROTECTED]> wrote:


Hi

I have a table where I browse the records of the database. I
implemented a delete button in each row. When I press this button, I
send an ajax request to the server. If the response is ok, I need to
delete the row of the table that have the data I was deleted.

By example:

HTML Code:
=


   
  News title
  Delete
   
  [...]
   
  News title
  Delete
   


Javascript Code:
===

function deleteRow(iId, sRowId)
{
   jqRow = $("#" + sRowId);
  /* Change de color of row */
  jqRow.addClass("todelete");
  if (window.confirm("¿Desea borrar esta noticia?"))
  {
 /* Change de color again */
 jqRow.removeClass("todelete");
 jqRow.addClass("deleting");

 if (AJAX_RESPONSE_OK)
 {
jqRow.fadeOut("slow", function()
{
jqRow.remove();
window.alert("Record delete");
});
 }
   }
}

When the code is executed, in the table appears an empty space instead
of the row. If I not use the fadeOut effect, the row disappears
correctly.

Could you Help me?

Thanks in advance

Pablo




[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-03 Thread Alex Ezell


Josh,
The code at remysharp.com that you link to is definitely the one I
posted above. Good job digging it up.

Thanks!

/alex

On 6/3/07, Scott Sauyet <[EMAIL PROTECTED]> wrote:


mrcarxpert wrote:
> It's been a long time since I've posted anything.  I've been busy, but
> I did manage to squeeze out another plugin before my vacation.
>
> I'm proud to announce the first Beta of my Watermark Input
> Plugin for jQuery. This is the first public release for this
> plugin which has been used in a few of my other projects.

This is very nice.  I wrote something a bit similar several months ago,
and you might want to incorporate my smaller technique into yours:

 http://tinyurl.com/2vx4n8

Mine uses the label with a "for" attribute pointing to the input box as
the source for the  text to include, similar to the way others on the
mailing list talked about using the title attribute.  This might make a
good addition to what you're doing.

Thanks for sharing it.

   -- Scott




[jQuery] Re: Watermark Input Plugin Beta 1

2007-06-01 Thread Alex Ezell


I use a "plugin" called hint.js to do this. Not sure where I got it
and the original source is on another machine so I can't look it up.

It works by catching all the inputs with a particular CSS class and
setting their values to the HTML title attribute's value.

It's a similar idea but slightly different. The code is here:
http://strtest.alexezell.com/js/hint.js

and the usage would be something like:


Just another option in case it gives you any ideas.

/alex

On 6/1/07, Josh Bush <[EMAIL PROTECTED]> wrote:

That's a cool idea.  Would you want the watermark in this instance to be on
top of the input as you described (and possibly a different color), or
actually inside of the input box and included in the text when you get the
value?

Josh


On 6/1/07, Glen Lipka <[EMAIL PROTECTED]> wrote:
> I love it.  I think I will switch to this one rather than the one I was
using.
> Previously, I had heard this technique being called "OverLabel".  However,
I think Watermark is a much better name.
>
> One feature request:
> Often I have an input that the user should type in their URL or sometimes
its a dollar figure or percentage.
> The way I currently do this is I make a span with the words "http://"; or
"$" or "%" in it, then I position it absolutely over the input and increase
the left or right padding of the input so you don't write over it.
Basically, I am creating a persistent "Watermark" to help the user know NOT
to put in that part.  So they enter 4.05 instead of $4.05.
>
> It seems like this is a natural fit with the watermark plugin, even though
it does something a little differently under the covers.
> $( "#first").Watermark("http://";, "fixed" ); //or something
> What do you think?
>
> Glen
>
>
>
> On 6/1/07, Josh Bush < [EMAIL PROTECTED]> wrote:
> >
> > I haven't had a chance to test any of my plugins with v1.1.3.  I'll be
> > looking into it soon.  Thanks for the response!
> >
> > On Jun 1, 9:28 am, Rey Bango <[EMAIL PROTECTED] > wrote:
> > > Looks great in IE7 and FF 2.0.0.4 Josh. Great work. This is a very
> > > useful plugin.
> > >
> > > Have you tested it with jQuery v1.1.3 as well?
> > >
> > > Rey...
> > >
> > >
> > >
> > > Josh Bush wrote:
> > > > Stupid last minute changes.  I fixed my goof.  Please see if that
> > > > corrects the problem.
> > >
> > > > On Jun 1, 8:45 am, "Dan G. Switzer, II" < [EMAIL PROTECTED]>
> > > > wrote:
> > > >> Josh,
> > >
> > > >>> It's been a long time since I've posted anything.  I've been busy,
but
> > > >>> I did manage to squeeze out another plugin before my vacation.
> > > >>> I'm proud to announce the first Beta of my Watermark
Input
> > > >>> Plugin for jQuery. This is the first public release for this
> > > >>> plugin which has been used in a few of my other projects.
> > > >>> Please let me know if you have any troubles.  I welcome your
feedback.
> > > >> I'm getting errors in both IE6 and FF2:
> > >
> > > >> settings is not
definedhttp://www.digitalbush.com/files/jquery/watermarkinput/beta1/jquery.w...
> > > >> kinput.js
> > > >> Line 60
> > > >> if(input.val()==settings.text )
> > >
> > > >> -Dan
> > >
> > > --
> > > BrightLight Development, LLC.
> > > 954-775- (o)
> > > 954-600-2726 (c)
> > > [EMAIL PROTECTED]://www.iambright.com
> >
> >
>
>
>
>
>




[jQuery] Re: * Important: Repent, Completely trust in God only and, Love Him with all of your heart.

2007-05-15 Thread Alex Ezell


On 5/15/07, Gordon <[EMAIL PROTECTED]> wrote:

I just love fundies.  But I couldn't eat a whole one.


Sure you could. You'll find they're mostly full of hot air.

/alex


[jQuery] Re: Featured Content or Cnet Carousel

2007-05-07 Thread Alex Ezell


This is not an answer, just an observation.

Does it seem odd that a "carousel"or slideshow which is decidedly
horizontal uses a DropOutDown effect? Shouldn't it just fade or at
least slide off to the side?

/alex

On 5/7/07, Dan G. Switzer, II <[EMAIL PROTECTED]> wrote:


>Is anyone familiar with this type of setup:
>http://www.builderau.com.au/program/javascript/soa/Build-a-carousel-with-
>JavaScript/0,339028434,339271770,00.htm
>The demo is at the end of the article on page three or here:
>http://www.builderau.com.au/resources/carousel/example2.htm

Interface already has a DropOutDown effect:

http://interface.eyecon.ro/demos/ifx.html#drop-fx

http://interface.eyecon.ro/docs/fx

It wouldn't be hard to modify that code to do what you want using jQuery.
You could also probably just use the animate() method if you didn't want to
use Interface to get the same effect.

-Dan




[jQuery] Re: Loading PHP via AJAX

2007-04-16 Thread Alex Ezell


Thanks Jake! The part I was missing, I think, was the passing of the
session ID. That was the bit I was missing. I had the form loading
onclick and that thing, but I just couldn't figure out how to get the
session, objects, and such to the PHP page being called. I believe
that will get me to where I need to be. The rest is almost exactly
what I was doing.

Thanks again for taking the time to write this code for me. It will
definitely come in handy.

/alex

On 4/16/07, Jake McGraw <[EMAIL PROTECTED]> wrote:


Alex:

I think you're looking for something a bit simpler. jQuery, without
the aid of any additional plugins, has all of the tools necessary for
developing an AJAX solution to work with any platform, PHP included.
Below, I've included some example code for how you would accomplish
what you originally asked for (delivering different forms based on
click):

JavaScript:

$(function(){ // Same as window.onload

  $('a').click(function(){ // Same as onclick

// Send request to input.ajax.php with variables sid and form, then run the
// following anonymous function on successful completion, 'html' being the
// output of input.ajax.php
$.get('input.ajax.php',{sid:,form:$(this).attr('id')},function(html){

  // Find div with class formwrapper, empty the contents, append 'html'
  $('div.formwrapper').empty().append(html);

}); // End get

// Prevent click propagation
return false;
  }); // End click

}); // End window.onload

HTML:
Form One
Form Two


PHP (input.ajax.php):


Hopefully that helps, you may want to consider reading up on exactly
how AJAX works and the jQuery documentation.

- jake


On 4/16/07, Alex Ezell <[EMAIL PROTECTED]> wrote:
>
> Thanks Richard. I don't know if I am 100% sure how someone puts jqPie
> into action. Would I write my handler.php to include all the objects
> and session information I need and it interfaces with jQuery?
>
> On 4/15/07, Richard Thomas <[EMAIL PROTECTED]> wrote:
> >
> > http://projects.cyberlot.net/trac/jqpie
> >
> > Take a look through there, but basically the ajax calls are browser
> > calls so as long as you stay within the same domain anything the page
> > would have access to the php called through ajax has access to.
> >
> > On 4/15/07, Alex Ezell <[EMAIL PROTECTED]> wrote:
> > >
> > > Is it possible to load a PHP page via AJAX such that the PHP page
> > > being loaded has access to the session, objects and variables which
> > > exist in the calling page?
> > >
> > > My situation is that I would like to load one of several different
> > > forms (written in PHP) based on which link a user clicks. Essentially,
> > > they are selecting what kind of post they want to create and I want to
> > > load the appropriate form via AJAX.
> > >
> > > Those PHP forms use PHP includes, access objects and user in-page
> > > variables, so keeping that stuff intact is the goal.
> > >
> > > Any ideas?
> > >
> > > /alex
> > >
> >
>



[jQuery] Re: Loading PHP via AJAX

2007-04-16 Thread Alex Ezell


Thanks Richard. I don't know if I am 100% sure how someone puts jqPie
into action. Would I write my handler.php to include all the objects
and session information I need and it interfaces with jQuery?

On 4/15/07, Richard Thomas <[EMAIL PROTECTED]> wrote:


http://projects.cyberlot.net/trac/jqpie

Take a look through there, but basically the ajax calls are browser
calls so as long as you stay within the same domain anything the page
would have access to the php called through ajax has access to.

On 4/15/07, Alex Ezell <[EMAIL PROTECTED]> wrote:
>
> Is it possible to load a PHP page via AJAX such that the PHP page
> being loaded has access to the session, objects and variables which
> exist in the calling page?
>
> My situation is that I would like to load one of several different
> forms (written in PHP) based on which link a user clicks. Essentially,
> they are selecting what kind of post they want to create and I want to
> load the appropriate form via AJAX.
>
> Those PHP forms use PHP includes, access objects and user in-page
> variables, so keeping that stuff intact is the goal.
>
> Any ideas?
>
> /alex
>



[jQuery] Loading PHP via AJAX

2007-04-15 Thread Alex Ezell


Is it possible to load a PHP page via AJAX such that the PHP page
being loaded has access to the session, objects and variables which
exist in the calling page?

My situation is that I would like to load one of several different
forms (written in PHP) based on which link a user clicks. Essentially,
they are selecting what kind of post they want to create and I want to
load the appropriate form via AJAX.

Those PHP forms use PHP includes, access objects and user in-page
variables, so keeping that stuff intact is the goal.

Any ideas?

/alex


[jQuery] Re: Bizarre IE Troubles

2007-04-06 Thread Alex Ezell

I got rid of the password hoping someone might be able to help. I'm
thinking maybe it's some conflict between Google Maps and jQuery, but
because of the IE weirdness, I can't even see the page to see if there
is an error.

Thanks!

/alex

On Apr 4, 2:11 pm, "Alex Ezell" <[EMAIL PROTECTED]> wrote:
> I'm not 100% sure that jQuery is causing this issue, but I can't even
> figure out what the error is, so I ask you kind people for help. This
> has been a thorn in my side for a week now.
>
> Whenever anyone executes a search on this page, IE gives an error
> about "Webpage has expired." It works fine in the other browsers I
> have tested. It might be the Google maps, but I think it's a jquery
> issue with the search filtering.
>
> If anyone can just point me to what might be causing the issue, I can
> work on fixing it. The page is behind a password for now because it's
> still a WIP. Sorry to make you jump through hoops.
>
> http://strtest.alexezell.com/search/
>
> user: jquerylist
> pass: jqrocks
>
> Thanks!
>
> /alex



[jQuery] Bizarre IE Troubles

2007-04-04 Thread Alex Ezell


I'm not 100% sure that jQuery is causing this issue, but I can't even
figure out what the error is, so I ask you kind people for help. This
has been a thorn in my side for a week now.

Whenever anyone executes a search on this page, IE gives an error
about "Webpage has expired." It works fine in the other browsers I
have tested. It might be the Google maps, but I think it's a jquery
issue with the search filtering.

If anyone can just point me to what might be causing the issue, I can
work on fixing it. The page is behind a password for now because it's
still a WIP. Sorry to make you jump through hoops.

http://strtest.alexezell.com/search/

user: jquerylist
pass: jqrocks

Thanks!

/alex


[jQuery] Re: Something that bugs me about the google groups messages...

2007-04-03 Thread Alex Ezell


Scratch that. I see what you are saying. Sorry.

It does throw an Re: before the list tag [jquery]. That's a little
counterintuitive to most lists.

/alex

On 4/3/07, Alex Ezell <[EMAIL PROTECTED]> wrote:

I think that's more an issue with Outlook. It seems to work fine
within Thunderbird.

On 4/3/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:
>
> I have Outlook setup to display messages grouped by subject.
>
> That worked fine on the previous mailing list, but now,
> after the original post, each reply has "Re:" at the front,
> which causes Outlook to group all the replies together,
> but separately from the original post.
>
> Annoying...
>
> Rick
>
>
>



[jQuery] Re: Something that bugs me about the google groups messages...

2007-04-03 Thread Alex Ezell


I think that's more an issue with Outlook. It seems to work fine
within Thunderbird.

On 4/3/07, Rick Faircloth <[EMAIL PROTECTED]> wrote:


I have Outlook setup to display messages grouped by subject.

That worked fine on the previous mailing list, but now,
after the original post, each reply has "Re:" at the front,
which causes Outlook to group all the replies together,
but separately from the original post.

Annoying...

Rick





[jQuery] Re: Auto-populating Select Boxes using jQuery & AJAX

2007-04-03 Thread Alex Ezell


This is the way I did it, where fromCityID is the ID of the .

$("option:first", "select#fromCityID").attr("selected","selected");

/alex

On 4/3/07, Shelane Enos <[EMAIL PROTECTED]> wrote:


Remy wrote this:

http://remysharp.com/2007/01/20/auto-populating-select-boxes-using-jquery-aj
ax/

And I used the example to a T.  what I didn't notice is that in the example
and now my code, the last option is always selected.  I even change this
line:
var options = '';
To
var options = '-Select-';

But it still results in the last option being the default selected.

Any insights on how to fix this?

I know I can do the whole document.formname.myselectfield[0].selected =
true;

Is there a way to do it with jQuery since I know the ID of my field?




[jQuery] Re: UPDATE: code review, suggestions for condensing / reuse?

2007-04-03 Thread Alex Ezell


Andy,
Nice work and some great suggestions from Brandon.

I love this list!

/alex

On 4/3/07, Andy Matthews <[EMAIL PROTECTED]> wrote:


Awesome Brandon!!

Those are PRECISELY the sorts of things I'm looking to learn.


andy

-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Brandon Aaron
Sent: Tuesday, April 03, 2007 8:50 AM
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: UPDATE: code review, suggestions for condensing /
reuse?


First off, this is functioning much better than before. Good work.

In the click handler you bind to the h1 you have a few areas where you could
optimize your code.

First you declare a var named outerchild like this:
var outerid = $(this).parent().attr("id"); var outerchild = $('#' + outerid
+ '-details');

Then later you use outerchild again but you wrap it in another jQuery
object.

$(outerchild)

This isn't necessary and I often times name my jQuery object vars with a $
to remind me it is the jQuery object and not just the DOM node.

var outerid = $(this).parent().attr("id"); var $outerchild = $('#' + outerid
+ '-details');

Now you can just use $outerchild.attr(...).

Moving on ... there is a handy method called is that lets you test if the
object is something. So lets look at this particular if statement and see
how it can be written using the is method.

As you have it now:
if ($(outerchild).attr("class").indexOf('outeropen') == -1) {

Using the is method:
if ( !$outerchild.is('.outeropen') ) {

Or you could also use the ':hidden' selector like this:
if ( $outerchild.is(':hidden') ) {

Hope that helps optimize the code a little. :)

--
Brandon Aaron


On 4/3/07, Andy Matthews <[EMAIL PROTECTED]> wrote:
>
> I've made some additions and updates to the code I posted last week:
> http://www.commadelimited.com/uploads/psychic/
>
> I wondered if you all would mind looking over it to see if it can be
> improved. I've got the functionality the way I like it, but you all
> know jQuery way better than I do. So...any suggestions you feel like
> making would be welcomed.
>
>
>
> 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: Interface Slider - Clicks don't trigger onChange event

2007-04-02 Thread Alex Ezell


I just built something with the slider. When I get home this evening,
I'll do some investigating to see what happens on my implementation.

/alex

On 4/2/07, skimber <[EMAIL PROTECTED]> wrote:


Hi all,

Is anybody else experiencing this?  With the Interface "Slider"
plugin, clicking somewhere on the slider, rather than dragging the
handle, does NOT cause the onChange function to be run.

The onSlide function is called under the same circumstances, but I
need to run code only once the user has finished moving the slider.

Cheers

Simon