[jQuery] I need WordFilter functionality, but cumulative

2009-04-29 Thread Su

Hi, all.
I've got a bit of a problem I hope is small(ish?) that I was hoping to
get a hand with.

I've got a layout I need to build where a user will initially be
presented with a list of options that they'll then be able to whittle
down by using tag-like terms. To accomplish that, I found the
WordFilter plugin[1] which does everything I need, except for one
problem: it fulfills the requirements in two separate implementations.

The actual wordFilter() function provides for creating a list of links
that will remove items containing the link word. But as far as I can
tell, each term is exclusive.
The autoSearch() function does do filtering, but works via a textbox,
which I don't want.

Given that the underlying /functionality/ is already provided, is
there some way to semi-easily combine the two processes into exactly
what I'm trying to accomplish? I've also found the uiTableFilter
plugin which works like autoSearch() if that's any easier to work with
for any reason.

If this is more involved to make happen than it appears to me, I'm
happy to discuss throwing some money/books/beer your way.

I'd also welcome the suggestion of some other plugin that already
works exactly like this that I may not have found already.
Thanks for any help.




[1] http://people.apache.org/~gmonroe/wordFilter/index.html
[2] http://gregweber.info/projects/demo/flavorzoom.html


[jQuery] Multiple jcarousellite's, one document

2008-11-17 Thread Su
I have the feeling I'm missing something silly, but it should be possible to
have multiple carousels in a single page with this plugin, right?
I'm encountering a problem where some of the carousels are doubling up
images or the loading goes kind of weird(eg, only one chunk shows until one
of the scroller buttons is clicked), and also the prev/next buttons are
controlling *every* carousel on the page whenever clicked.


[jQuery] jQ implementation of CSS3 text-align-last property?

2008-05-02 Thread Su

So, I got it in my head that I wanted to use this effect today, which
is, of course, not supported by any browser.
I was curious if anyone's mashed together a scripted implementation.
Spec details here:
http://www.w3.org/TR/2001/WD-css3-text-20010517/#last-line-alignment-prop
or at css3.com:
http://www.css3.com/css-text-align-last/

Unfortunately, I have a vague suspicion this may just not be possible.

If it is, though, I am not above bribing with beer/books/money.


[jQuery] Re: keeping header at the top of page

2008-01-25 Thread Su
On Jan 24, 2008 10:30 PM, robing <[EMAIL PROTECTED]> wrote:

> i have been asked to build a template that has a  block that
> contains a header image and nav that needs to stay visible at the top
> of the screen even when the user scrolls down the page.
> i know this can be done in frames but i would like to do this with
> jquery,


Not even frames. This can be done with CSS. Start by searching for something
like "fixed header."

Is there a particular weird requirement that's making you look at Javascript
for it?


[jQuery] Re: Announce: jQuery Expander Plugin

2008-01-14 Thread Su
On Jan 14, 2008 7:58 AM, Karl Swedberg <[EMAIL PROTECTED]> wrote:

> > How about making it easy to use an expand/collapse icon in place of
> > the text?
>
> Good idea. I'll examine how to do that as elegantly as possible.
>

This was my one request, but I hadn't had a chance to try and figure out
whether "text" in your description would accept a snippet of HTML anyway.

The only other idea I had, which is getting a bit speculative, was whether
this or more likely a separate plugin could be constructed to work on size
rather than word/character count, so that if a div would be >200px tall, the
content would get truncated such that the div would be ~100px tall, for
example.


[jQuery] Re: Which plug-in resizes photos to max-size according to browser window?

2008-01-09 Thread Su
On Jan 9, 2008 1:06 PM, Liam Byrne <[EMAIL PROTECTED]> wrote:

> If you rely on a totally JavaScript solution, you'll run into problems
> with the images looking blocky.


Seconded. I had to build something like this for a client, but the
blockiness wasn't at issue(they kinda liked it, actually) because the images
in question were running as backgrounds to the overall layout. As main
content, you're going to have to produce some pretty big initial images to
look fine at high resolution, which will get smudgy on smaller screens, or
go for smaller ones that will get choppy on larger ones.


[jQuery] Re: jQuery LightBox issue in IE7

2007-12-21 Thread Su
On Dec 21, 2007 12:13 AM, Rey Bango <[EMAIL PROTECTED]> wrote:

> So there must be something off with my code. Any help would be greatly
> appreciated.


Following from that, the first thing I'd do is just put back the original
styling from his example page to see what happens. In case you hadn't tried
already.

It's also worth noting that the slidedown div isn't /just/ truncated, it's
exactly as wide as the image. Have you seen what happens if you make them,
or even just one of them, bigger? It might hint at something if the behavior
changes.


[jQuery] Re: errors using carousel lite plugin

2007-09-28 Thread Su
jCarouselLite doesn't seem to like only having two elements to swap.

I know it's kind of a silly situation for a carousel to have in the first
place, so this is just FYI in case anyone happens to find themselves running
into this.
It's just the way things were for me at the moment. I'm creating an author
widget for a Movable Type blog, and only had two active accounts in the
system at the moment.
Easily resolved by jamming in an extra item manually for testing/dev
purposes until the rest of the writers get posting.


On 9/25/07, muccy <[EMAIL PROTECTED]> wrote:
>
>
> There are some other errors to correct...the plugin has strange
> behaviours :(
>


[jQuery] Question on using jQuery with other libs

2007-09-25 Thread Su
Is there still the requirement that jQuery be loaded /after/ the other
lib(s)? The wiki page on this[1] doesn't explicitly say so, but I do (now)
remember it being an important point in an earlier version of those docs
when it was on the main site. I just spent a good bit of Angry Time with
some scripting because I'd forgotten this, and pushing the library
(moo.ajaxin this case) above jQuery suddenly fixed my problem.

[1] http://docs.jquery.com/Using_jQuery_with_Other_Libraries


[jQuery] Re: jQuery camp: any closer to a location decision?

2007-09-15 Thread Su
Good enough! Thanks.

On 9/15/07, John Resig <[EMAIL PROTECTED]> wrote:
>
>
> It's very likely that this will be taking place at Harvard University,
> thus, it'll be on any number of bus and subway lines, making for easy
> transportation.
>
> --John
>
> On 9/15/07, Su <[EMAIL PROTECTED]> wrote:
> > Or at any rate, something a little narrower than two possible cities?
> *grin*
> > I want to try and get myself to this, but need to do figure out
> logistics a
> > bit as a car rental is probably out of the question.
> >
>


[jQuery] jQuery camp: any closer to a location decision?

2007-09-15 Thread Su
Or at any rate, something a little narrower than two possible cities? *grin*
I want to try and get myself to this, but need to do figure out logistics a
bit as a car rental is probably out of the question.


[jQuery] Re: Unavoidable Duplicate DOM IDs?

2007-09-07 Thread Su
On 9/7/07, Collin Allen <[EMAIL PROTECTED]> wrote:
>
> working on this project with some PHP engineers at work, and they're
> completely OK with using multiple DOM IDs on a page simply because "it
> works" already, and they can access the IDs by being more specific


There's a subtle difference between "it works" and "you're getting away with
it."


[jQuery] Re: jCarousel w/ larger image sizes

2007-09-06 Thread Su
It'd help if you said what you tried and failed with.
Are you modifying the Javascript, or the stylesheet?

On 9/6/07, JGiotta <[EMAIL PROTECTED]> wrote:
>
>
> I'm trying to manipulate jCarousel in order to support slightly larger
> image dimensions, but the item widths continue to be 77px.
>
> Anyone have any guidance on how I can achieve this goal?
>
>


[jQuery] Re: jQuery 1.1.4: Faster, More Tests, Ready for 1.2

2007-08-24 Thread Su
On 8/24/07, Erik Beeson <[EMAIL PROTECTED]> wrote:
>
>
> I notice the file size has crept up to 21kb from 19kb for 1.1.2.
>

And...?


[jQuery] Re: [Announce] jQuery Reference Guide available for pre-order

2007-07-24 Thread Su

Is there to be a PDF version of this? There's no mention on the page at all,
which is odd.
I'd like the information itself, but I'm not sure this type of book is the
kind of thing I'd want eating up shelfspace(I  have too many books as it is
*grin*).


[jQuery] Re: UPDATED: jQuery moreSelectors plugin adds :color() :colIndex() :hover and more

2007-07-24 Thread Su

On 7/24/07, George Adamson <[EMAIL PROTECTED]> wrote:


"DIV:color(red)" to match DIVs with red text. Also matches #rrggbb and
rgb(r,g,b).



This is weird.
(and really cool *grin)


[jQuery] Re: Cookies with JQuery?

2007-07-20 Thread Su

http://www.stilbuero.de/2006/09/17/cookie-plugin-for-jquery/

On 7/20/07, Danjojo <[EMAIL PROTECTED]> wrote:



Am I able to set client-side cookies with JQuery?

That would be REALLY great!! I could store the Language state in this
cookie.

$(function() {
$("#languages").bind('change', function() {
var country = $(this).val();
if(country) {
$('#countryFlag').attr("src", "images/" + country
+ ".gif");
}
});
});

Believe it or not I never got good or was able to write cookies in
javascript, they seemed incredibly overly-complex for my liking..
being an .asp hacker over the years *if* I needed state I would store
them in the Session object.




[jQuery] Re: Resizable textarea

2007-07-18 Thread Su

On 7/17/07, Mark <[EMAIL PROTECTED]> wrote:


Does anyone could combine a textarea with a Drag and Resize plugin to
create a Resizable Textarea. (A feature like this is available in
TinyMCE).



Did you look at the Resizables demo?
http://interface.eyecon.ro/demos


[jQuery] Re: "Really" removing items from the DOM

2007-07-09 Thread Su

On 7/9/07, Stephan Beal <[EMAIL PROTECTED]> wrote:


How do i permanently remove items from the DOM *and* jQuery object? i
am aware of jQuery(..).remove(), but the docs for remove() say:



Assuming there is one(I'm fairly low-level with JS) have you tried just
using the regular Javascript process for doing this? jQuery makes a lot of
things convenient/easier, but it's not trying to replace things that are
already fine. So, for example if you need to create an element, just use
regular old createElement().


[jQuery] Re: jQuery and IE7?

2007-06-28 Thread Su

This would be a lot easier to check on if we could see the actual document
you're using.

On 6/28/07, Nick <[EMAIL PROTECTED]> wrote:



Sorry if this query has appeared twice but it doesn't seem to be
making it up onto the list.

My problem is:

Implementing a new website and would like to use Thickbox to display
images in popup window.  Have included the jQuery library code
statement as required but when I test the page locally it hangs IE7
for 10-15 secs before displaying.  Have checked websites that I know
use jQuery and Thickbox and they gave same effect.  It's not the
Thickbox script as if I take it out I still get same problem - so must
be the jQuery library execution that's a problem. Also as I'm testing
it on my local machine it's not a downloading issue.

If I test my pages with Firefox (and check those websites I know are
using jQuery) there's no problem with a delay at all.

I've checked the forums, etc and can't find any reference to this sort
of problem - so any help would be much appreciated.

Thanks

Nick




[jQuery] Re: Are there any Wordpress themes using jquery?

2007-06-27 Thread Su

Aquatic Adventures[1]:
http://tomk32.de/2007/04/03/wordpress-theme-aquatic-adventures/
Scanning the post, he says that it uses jQuery "as usual," so I presume he's
done others with it.


[1] http://www.google.com/search?q=wordpress+theme+jquery

On 6/27/07, Kia Niskavaara <[EMAIL PROTECTED]> wrote:




One of my favourite Wordpress themes, Redoable at
http://www.deanjrobinson.com/wordpress/redoable is
using Prototype. I'm also aware of a few other themes using other
libraries. But I haven't found a
single theme that's using jquery. Are there any?

Kia



[jQuery] Re: How to Rotate an Image 90 Degrees

2007-06-26 Thread Su

On 6/26/07, Aaron Heimlich <[EMAIL PROTECTED]> wrote:


On 6/26/07, Su <[EMAIL PROTECTED]> wrote:
>
> swfIR?
> http://www.swfir.com/
>

swfIR, IIRC, is geared towards text, though. The only way I know of to do
image rotation in JavaScript is with



That's sIFR:
http://www.mikeindustries.com/sifr/

The link I provided is for images.


[jQuery] Re: How to Rotate an Image 90 Degrees

2007-06-26 Thread Su

swfIR?
http://www.swfir.com/

Not jQuery at all, but if you're asking for one effect, you're probably
going to end up looking for others, so...

On 6/26/07, cfdvlpr <[EMAIL PROTECTED]> wrote:



Is there any plugin that will rotate an image 90 degrees?  Something
tells me this is difficult if not impossible to do.




[jQuery] Re: toggle min/max effect

2007-06-26 Thread Su

On 6/26/07, Su <[EMAIL PROTECTED]> wrote:


On 6/26/07, Glen Lipka <[EMAIL PROTECTED]> wrote:
>
> Also, what is the reason for
> /* 

[jQuery] Re: toggle min/max effect

2007-06-26 Thread Su

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


Also, what is the reason for
/* 

[jQuery] Re: resize columns!

2007-06-25 Thread Su

On 6/25/07, Simpel <[EMAIL PROTECTED]> wrote:


What I'm after is a way of changing the width of the columns by
dragging some kind of slider, the height of the columns is more or
less irrelevant...



I'm assuming you mean something like the Splitter plugin?:
http://methvin.com/jquery/splitter/

"Slider" to me says this(not jQuery, just for illustration):
http://webfx.eae.net/dhtml/slider/slider.html


[jQuery] Re: Triggering thickbox from a select dropdown

2007-06-23 Thread Su

I think all you'd need to do is launch tb_show and pass it the appropriate
parameters(just view the TB source for this). I'm just not sure what event
you would use on the dropdown. onchange, maybe?

On 6/23/07, Andy Matthews <[EMAIL PROTECTED]> wrote:



I'd like to trigger thickbox from a select box. I've got a list of
images that a user can select from. When they choose one from the
list, I'd like that image to show using the thicbox method.

I can write the rest of the I'm sure but I don't even know:

a) If it's possible
b) what the syntax for this might be

If you've know how to do this, can you chime in please?




[jQuery] Re: ANNOUNCE: zoomi plugin!

2007-06-23 Thread Su

This is neat.

On 6/23/07, Sean Catchpole <[EMAIL PROTECTED]> wrote:


The feature I'm wondering about, is if the zoom2 image should inherit
the classes of the original image. (If what I'm saying makes no sense,
go view the source code of the zoomi page above)



Would it be a pain to make it optional? I ran into this decision when
working on my figures plugin[1], and ended up deciding that whether it was
needed or not was really going to depend upon the user and how their styling
was worked out.

I do have one fairly big objection, though: Your usage of the alt attribute
for the zoomed image is inappropriate and interferes with accessibility.
Using a filename for alt text is considered unacceptable, not to mention
that since you're having it refer to /another/ image, it's just plain wrong.
Why not have Zoomi just look for something like original-filename_zoomed.ext
or something? It would actually cut down on work for the user, for that
matter.


[1] http://pioindustries.com/projects/jquery/figures  --See the "strip"
argument.


[jQuery] Re: Attn. developers. Speed of getElementById

2007-06-22 Thread Su

Weird. It'd provide an interesting guideline if there's an id-length
threshold where that slowdown kicks in.

On 6/22/07, John Resig <[EMAIL PROTECTED]> wrote:


Dimitii -

Those results are really interesting - you should post them to the jQuery
Dev list (where we discuss issues like selector speed).

More information about the list can be found here:
http://docs.jquery.com/Discussion



[jQuery] Re: Could anyone send me a copy of Catfish Advert Plugin 1.3.

2007-06-21 Thread Su

The plugin works(or worked) fine. I've used it. But there's been at least
one release of jQuery since then, which might've introduced an
incompatibility.

On 6/21/07, Logan Cai <[EMAIL PROTECTED]> wrote:




thanks Michael, I got it,
but it has javascript errors when running it with FF & IE7.0
so I am assuming it is not the lastest version, still is a biggy version.
Logan Cai
From http://www.phpletter.com



Michael Price-10 wrote:
>
>
> Su wrote:
>> When you go 24hours without reposting this question, I'll go digging
>> through the archive I'm pretty sure has a copy of it.
>
> I sent him a version I had - not sure it was 1.3 though. The last
> mention of it on Google was only 1.2 anyway.
>
> Regards,
> Michael Price
>
>
>

--
View this message in context:
http://www.nabble.com/Could-anyone-send-me-a-copy-of-Catfish-Advert-Plugin-1.3.-tf3954744s15494.html#a11238385
Sent from the JQuery mailing list archive at Nabble.com.




[jQuery] Re: superfish variable width

2007-06-21 Thread Su

If I recall correctly, suckerfish menus assume each of the items is going to
be the same width.
I've gotten around this by first styling a base width that they'd all get,
and then basically listing a *lot* of very specific selectors(via IDs on
each top-level item) in the stylesheet to override as needed. Which may or
may not be worth the effort in your case. If you do it, make sure you go
through a full round of browser testing, as there were definite quirks that
had to be accounted for.

On 6/21/07, Olivier Percebois-Garve <[EMAIL PROTECTED]> wrote:


Hi

How to get the superfish (or suckerfish) menu to work under IE while using
a variable width ?
(i.e li elements having the width of their content)

On my tests it produces  a strange bug where the dropdown li is
horizontally positionned after the end of the parent li...

Olivier



[jQuery] Re: Could anyone send me a copy of Catfish Advert Plugin 1.3.

2007-06-21 Thread Su

When you go 24hours without reposting this question, I'll go digging through
the archive I'm pretty sure has a copy of it.

Deal?

On 6/21/07, Logan Cai <[EMAIL PROTECTED] > wrote:




help.!

Logan Cai wrote:
>
> Could anyone send me a copy of Catfish Advert Plugin 1.3. its official
> site is offline now.
> I am developing another Jquery based Open Source Project - Ajax Form
> Builder, need it ASAP.
> thanks in advance.
> Logan Cai
> http://www.phpletter.com
>

--
View this message in context:
http://www.nabble.com/Could-anyone-send-me-a-copy-of-Catfish-Advert-Plugin-1.3.-tf3954744s15494.html#a11227263
Sent from the JQuery mailing list archive at Nabble.com.




[jQuery] Re: jquery css not working in IE6

2007-06-19 Thread Su

I'm confused. You've loaded the jQuery script in the head of the document,
but you're not actually /doing/ anything with it.
It looks as if you're trying to use it like Dean Edwards' IE7, which
automatically fixes a bunch of IE behavior. That's not the case with jQuery.

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



For some reason my jquery css isn't working in IE6 - please check
http://hiphop.dk/jquerytest/index.html where I have put together a
very simple example... What am I doing wrong here?




[jQuery] Figures: Small change breaks table case

2007-06-15 Thread Su

After seeing about the load() event yesterday, I made an edit to my figures
plugin to have it work even if the image doesn't specify a width, and it's
caused a problem that doesn't make any obvious sense to me.

Here's the previous version:
http://pioindustries.com/projects/jquery/figures-table-working
The last image(with no width) should be kind of screwed up. If not reload,
and it should happen eventually.

Now, my current working version is here:
http://pioindustries.com/projects/jquery/figures
where I have the objects to be captioned triggering on load. And it works
perfectly for that image at the bottom.

Except that the table isn't being captioned, and I can't see why. The code
makes no assumptions about what it's being fed. There's only one place where
I specifically check for the object being an image, and it's for a case that
would never happen with a table(being wrapped with a link.)

The figures() function itself is untouched between those two docs. The only
difference is the invocation.

Can anybody by chance see what might be causing it to fail on the table?


[jQuery] Re: CNN and Apple Choose Prototype. Why?

2007-06-14 Thread Su

On 6/14/07, AJ <[EMAIL PROTECTED]> wrote:


In both cases, Apple and CNN have gone with Prototype and
Scriptaculous. I should say up front I'm a big fan of jQuery and
Interface, but I'm wondering why two big sites like this would adopt
Prototype when other high-profile sites like Technorati have adopted
jQuery.



Just cuz.


From what I understand, things like this are generally much less of a

"decision" than simply what the developer knows and likes. Feature
requirements will of course trump that if it becomes a factor, but all
things being equal this is pretty arbitrary.
I doubt "Apple" and meetings were involved in the eventual use of Prototype.
They have a team that builds their site, and the ones responsible for the
scripting know Prototype.


[jQuery] Re: how do i wait for the images to be fully downloaded?

2007-06-14 Thread Su

Ooh. So, this would let jQuery get the width of an image, even if that image
doesn't have an /explicit/ width attribute set?
Sorry if I'm being dense, but I wasn't quite following the question above,
and this would solve a problem I'm having with my figures plugin.

On 6/14/07, Erik Beeson <[EMAIL PROTECTED]> wrote:



There is a window.load event, and that's what you want to use:
http://docs.jquery.com/Events#load.28_fn_.29

So you want:

$(window).load(function() {
  // My stuff to do once all images are loaded...
});

--Erik

On 6/14/07, GianCarlo Mingati <[EMAIL PROTECTED]> wrote:
>
> Hi,
> the question may not be clear but what i would like to know is how do
> you get the width of an image AFTER the image has fully downloaded.
> I use this chunk of code: var pictWidth = this.find("img").width();
> where "this" is the jQuery context.
>
> If tested locally (images loads immediately) it works and i have the
> image WIDTH in pixel, but if i search for anew image (not in cache eg:
> on a web server)  the script is executed when the DOM is ready, It's
> to soon, how do i say to jquery "get the width of image#myimage after
> image#myimage ha fully downloaded?
>
> For what i understand jQuery only have a DOM iS Ready function.
> http://demos.mootools.net/DomReadyVS.Load
>
> I would need a window.load function.
>
http://www.gcmingati.net/wordpress/wp-content/lab/jquery/imagestrip/imageslide-plugin.html
> in fact on that page, the gallery won't work correctly if you don't
> REFRESH the page. When reloaded the images are displayed on the fly
> and the trick of getting the width of the images works.
>
>



[jQuery] Re: SlickSpeed CSS Selector TestSuite

2007-06-12 Thread Su

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


This topic comes up every time a speed test emerges.  To me, speed is
totally irrelevant in most circumstances that I use jQuery.



It does, and it is. That was why I tried to open the consideration out a bit
further to the eventuality of something more substantial running into the
filesize cap.

I'm of the opinion that the true goal is keeping the library (as) small (as
possible), except that "small" isn't a number, so an essentially arbitrary
one was chosen. And that's fine, otherwise "small" would continually be open
to interpretation. Some people say they'd allow up to 25 or 30k, you say up
to 50, etc.

But I'm also curious to know that the limit isn't also arbitrarily absolute.
I'm interested what sort of thing it would take to bring about a serious
reconsideration of that limit, without even getting into discussion of the
numbers that would be involved. The differences shown in this test, for
example, don't seem likely to do it.


[jQuery] Re: SlickSpeed CSS Selector TestSuite

2007-06-12 Thread Su

On 6/12/07, Rey Bango <[EMAIL PROTECTED]> wrote:- We can increase selector
speeds at the expense of file size

How about looking at this specifically a little closer? It's already been
pointed out that jQuery could get a lot bigger and /still/ remain the
smallest library. So, the question is why 20k?

I'm not saying damn the filesize, but let's just say that some test comes
out which does illustrated a /significant/ deficiency which is being brought
about by the filesize restriction. What would the argument then be for
staying at 20k?

Is the goal "keep the library small" or "keep the library at 20k?" And if
the latter, what is the basis for that number?


[jQuery] Re: The CSS behind overlays

2007-06-09 Thread Su

Looking at the dimScreen plugin would probably be more focused.


On 6/9/07, Alexandre Plennevaux <[EMAIL PROTECTED]> wrote:


 i suggest you take a look at the css file included with thickbox :



[jQuery] Re: thickbox moves underlying div in ie

2007-06-08 Thread Su

It's not the div shifting. It's that Thickbox 3 removes the scrollbars in IE
when launched. I can't remember /why/ right this moment. I suppose you could
find the bit in the script that does that and remove it, but I'd suggest
finding out the reason first so you can determine whether the results of
having it not happen are acceptable..

On 6/8/07, Tom Shafer <[EMAIL PROTECTED]> wrote:



When a state is pressed on my example. Thickbox opens but the
underlying div moves to the left, but only in ie.

Is there anyway to fix this?

http://thebattalion.tv/firehouses.php

Thanks

-TJ




[jQuery] Re: Jquery wizard plugin?

2007-06-04 Thread Su

Link?

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



Hey just wondering if theres a plugin similar to dojo's wizard plugin?




[jQuery] Re: ImageBox by Matthieu Paineau

2007-06-02 Thread Su

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


Does it do that thing with the line down the middle in FF on Mac?



I don't know if it ever got implemented, but I posted the solution to this
in the prior thread. (I'm on a limited paid hotel connection at the moment
or I'd spend more time digging for you.) The problem is that Fx creates a
dotted outline around links with focus(the :focus pseudo-selector) This is
done for accessibility reasons. If you want to cancel it out, just add
outline : none to the appropriate a:focus selector(might have to add it)
since the image used for the links already provides visual feedback that
something's happening and can take place of the outline.


[jQuery] Re: RFC: jQuery Figures/Cutlines plugin

2007-05-28 Thread Su

On 5/28/07, Michael Geary <[EMAIL PROTECTED]> wrote:


1) Get in the habit of using "var" on all your variable assignments, so
you don't create global variables accidentally.



On the list. I was at one point working with two copies of this(long story),
and it was done on what is obviously the other *grin*  figureParent was
originally named "parent"(Right, just like .parent() ...). IE didn't like
that one bit.


2) Consider using one of the several DOM creator plugins. You can replace

code like this:



Well, the "several" (/lots/, actually) part of that suggestion is one of the
things that bugs me. I'm loathe to spend the time right this moment to
figure out which of them I like or is better and then impose that decision
on users.
Also, it's been a while, but I remember trying out one or two of those and
just not caring for it. The code seems a bit visually (if not meaningfully)
clearer, though frankly not enough for me to care or offset the fact it
creates what I see as a not especially necessary dependancy on outside code.
I've got a couple other projects like this in mind which may eventually
build up into a library, at which point something like this might actually
become a consideration.


[jQuery] RFC: jQuery Figures/Cutlines plugin

2007-05-28 Thread Su

'lo, all. My interests often fall into the range of enabling more
"traditional"(to print) structures/conventions and typography on the web, so
that's where my first shot at a plugin went. It's not particularly
impressive in any programming sense, but I'm fond of it.

See here:
http://pioindustries.com/projects/jquery/jquery-figures

Everything you should need is in the source, including explanation of a few
things that might seem overworked if you don't think of the reasoning, so
please make sure to read before commenting.

Please note this is NOT being offered for production use yet. There are a
couple of issues I need to think about, particularly #1 in the TODO list,
and probably some consolidation to be done. But I wanted to throw it out and
see what people thought or if they broke it.


[jQuery] Re: disable tooltip plugin upon thickbox call and enable when thickbox is closed

2007-05-26 Thread Su

Be more specific? I don't see this in my copies of IE6 or Fx2.

On 5/26/07, Tom Shafer <[EMAIL PROTECTED]> wrote:



I have a page where you select a state and the tooltip plugin displays
the states name. When you click on it thickbox appears with a list of
states. Now when you hover around thickbox the tooltps show up. How
can i prevent this from happening. I tried setting the z-index of the
elements.

Here is the problem page.

http://www.thebattalion.tv/dev/firehouses.php

-Tom

Shafer




[jQuery] Re: Thickbox Reloaded strange problem

2007-05-25 Thread Su

Klaus, I can't follow everything in your explanation below, but it sounds a
lot more complicated than something I just noticed.

Rodrigo's TB declaration reads:
$('div.slot a').thickbox();
...and that applies exactly to the original link in the actual HTML. Also,
if I make a copy of the original div, both of the original HTML links
continue working, though the JS-generated links fail, as has been shown.

When the "add a trigger" link creates a new one, the div created has /two/
classes "slot new" and these aren the links that produce the empty TB
window.

BUT, I removed the "new" class from the generated links and everything
suddenly worked perfectly.
It doesn't actually explain anything directly, but it does seem wrong. From
what I can gather of your comments, what I just described shouldn't have
fixed the problem.


On 5/25/07, Klaus Hartl <[EMAIL PROTECTED]> wrote:


Rodrigo, it's inline content, right?

What currently happens is this: When opening the Thickbox this content
gets captured in a closure and never gets reappended back to its
original location - it is appended to the modal with appendTo, e.g. it
is moved in the DOM. But when the modal gets closed it is emptied
without restoring the content to its origin.

If you then add another Thickbox handler which refers to the same
content, this content is already empty if you've opened the Thickbox
with that content before from another handler.

I don't want to clone the content, because I want to preserve existing
event handlers. I didn't restore the content, because (until now) it
worked the way it is, so I was fine with it. I have never thought about
the case you're talking of, so I will have to think of a way to solve
this.

I guess I need to restore the content when closing the Thickbox...


-- Klaus



[jQuery] Re: Thickbox Reloaded strange problem

2007-05-25 Thread Su

And of course, now I can't seem to duplicate this.
IGNORE

On 5/25/07, Su <[EMAIL PROTECTED]> wrote:


Klaus, I can't follow everything in your explanation below, but it sounds
a lot more complicated than something I just noticed.

Rodrigo's TB declaration reads:
$('div.slot a').thickbox();
...and that applies exactly to the original link in the actual HTML. Also,
if I make a copy of the original div, both of the original HTML links
continue working, though the JS-generated links fail, as has been shown.

When the "add a trigger" link creates a new one, the div created has /two/
classes "slot new" and these aren the links that produce the empty TB
window.

BUT, I removed the "new" class from the generated links and everything
suddenly worked perfectly.
It doesn't actually explain anything directly, but it does seem wrong.
From what I can gather of your comments, what I just described shouldn't
have fixed the problem.


On 5/25/07, Klaus Hartl <[EMAIL PROTECTED]> wrote:

> Rodrigo, it's inline content, right?
>
> What currently happens is this: When opening the Thickbox this content
> gets captured in a closure and never gets reappended back to its
> original location - it is appended to the modal with appendTo, e.g. it
> is moved in the DOM. But when the modal gets closed it is emptied
> without restoring the content to its origin.
>
> If you then add another Thickbox handler which refers to the same
> content, this content is already empty if you've opened the Thickbox
> with that content before from another handler.
>
> I don't want to clone the content, because I want to preserve existing
> event handlers. I didn't restore the content, because (until now) it
> worked the way it is, so I was fine with it. I have never thought about
> the case you're talking of, so I will have to think of a way to solve
> this.
>
> I guess I need to restore the content when closing the Thickbox...
>
>
> -- Klaus
>




[jQuery] Re: thickbox reloaded?

2007-05-15 Thread Su

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


name) heavily there already, and whats in SVN now is stable (could call
it beta).



Oh, yay. I've been holding off on something that would use TB until Reloaded
settled so I could decide on a flavor.


[jQuery] Re: thickbox reloaded?

2007-05-15 Thread Su

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


 hello,

I know thickbox 3 is out. What of the parallel branch "thickbox reladed" ?
Is it still on?





From Klaus in the Thickbox 3 announcement thread:



Sam Collett wrote:
> Will this effect the development of thickbox reloaded (http://
> stilbuero.de/jquery/thickbox_reloaded/) which is designed to be used
> more like a plugin (i.e. $(#myimage").thickbox())?

No, absolutely not! All I can say is that I'm already using Thickbox
Reloaded quite heavily for plazes and it is pretty stable now. There's
only one little bug left in IE 6, then I'll be ready to announce its
beta status.



[jQuery] Re: Thickbox fade in / out...is this possible?

2007-05-15 Thread Su
A while back, I posted how to add the slideDown effect here:
http://codylindley.com/thickboxforum/comments.php?DiscussionID=76

As stated in-thread, things have probably moved, but that should give you an
idea where you likely need to start and what to do.


On 5/15/07, Andy Matthews <[EMAIL PROTECTED]> wrote:
>
>  I'm using thickbox on a site I'm building:
> http://www.commadelimited.com/clients/haven/atkins/photo-gallery.html
>
> The client wants to know if I can fade the thickbox page in and out when
> clicked instead of having it just pop into being. Is this possible? If so,
> how might I accomplish it?
>
> FYI: The large photos are crap right now as the client hasn't given me the
> larger sizes yet
>
> * 
>
> Andy Matthews
> *Senior Coldfusion Developer
>
> Office:  877.707.5467 x747
> Direct:  615.627.9747
> Fax:  615.467.6249
> [EMAIL PROTECTED]
> www.dealerskins.com
>
>

--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"jQuery (English)" group.
To post to this group, send email to jquery-en@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/jquery-en?hl=en
-~--~~~~--~~--~--~---

<>

[jQuery] Re: Wrapping text in several columns

2007-05-14 Thread Su

I would love to see this myself. I've used the cssscripting.com version on a
site already, but I'm not looking forward to the day its IE7 readership gets
high enough to matter. It's totally broken in that browser, and they haven't
touched the code in ages, so I'm guessing it's been abandoned.


On 5/14/07, bohtho <[EMAIL PROTECTED]> wrote:



I tried the search but since English is not my native language my
search may have missed previous posts about this.

I was wondering how to do this
http://www.csscripting.com/css-multi-column/
or preferably this http://www.mindsack.com/uxe/autoflow/ with jquery.
Point is that I want to automatically flow text in several columns on
my web page (a´la www.iht.com in their 3-column view of articles).

I have pre-ordered the Learning JQuery book but I can´t imagine that
anyone haven´t tried this already with jquery or even made a plugin
for it.

Any tips ?




[jQuery] Re: jquery.com - hacked?

2007-05-06 Thread Su

For those who read John's pasting below and didn't actually go to the page,
please note there's also a donation form, for helping cover the cost of the
new server.

On 5/6/07, John Resig <[EMAIL PROTECTED]> wrote:



I've updated the main page of the jQuery site with a description of
what's going on (may, or may not, work depending on your DNS
settings). Sorry for all the vagueness, this whole situation has been
incredibly stressful.

Here's the contents of the page, copy-and-pasted, in case you can't see
it:

   Sat. May 5th 6pm: We suffered our second DDOS attack today and our
host has asked us to no longer host the jQuery site with them.
Effective immediately they have shut down all services on the jQuery
server and asked us to leave. This has taken us completely by surprise
and we're working to adapt.

   Sat. May 5th 11pm: Most of Saturday has been spent scrambling to
offload copies of files onto other servers and to find a new host. All
files have been backed up, so that is promising in-and-of itself.
Thanks to Karl for providing temporary storage during this ordeal.

   Sun. May 6th 1am: An order has been placed with Rimuhosting to
acquire a dedicated server for jQuery. We're hoping that the server
will be ready some time Sunday, or at the latest, Monday. All files
will be immediately moved over and attempts will be made to get
everything in order.

   Sun. May 6th 2pm: No update from Rimu as of yet, here's hoping they
come through in a reasonable amount of time.

--John

On 5/6/07, Brad Perkins <[EMAIL PROTECTED]> wrote:
>
> This was posted yesterday.
>
>
http://groups.google.com/group/jquery-en/browse_thread/thread/a1f207a25636fb41/f9ab9f41809c65fa?lnk=gst&q=site+down&rnum=2#f9ab9f41809c65fa
>
>
> On 5/6/07, Matt Stith <[EMAIL PROTECTED]> wrote:
> >
> > o.O  that doesnt look good...
> >
> > On 5/6/07, MrNase <[EMAIL PROTECTED]> wrote:
> > >
> > > What happened to jquery.com?
> > >
> > >
> >
>



[jQuery] Re: Node

2007-05-05 Thread Su

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


Unfortunately it seems that id is invalid as well:
> http://www.w3.org/TR/html401/struct/global.html#h-7.3
>
>
> -- Klaus
>

So I am back to where I started.  Shouldn't put anything on the HTML tag
and there is no AND operation in CSS.
Seems like a blatant oversight by IE6 developers.  They have OR with the
comma, and no AND.  B IE6.



No. Klaus' link is to the the HTML 4 spec, in which case he is correct. Your
original question indicated  XHTML, in which case an ID on the HTML element
is perfectly valid.


[jQuery] Re: Node

2007-05-04 Thread Su

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


div.foo.bar {} works perfectly in IE6, IE7, and FF.
Holy Cow!  Basic regular CSS.  How did I not know this?  How have I gone
so long and not known this?
This is HUGE.  I have spent so many hours working around this problem.  My
god.  I am doofus!



Any browser worth caring about anymore, and even some of the earlier IE
versions handle multiple classes with no trouble at all. Now that you know,
it's probably going to become one of your favorite tricks. It becomes really
handy for things like blogs that have images positioned left, right, center
with shared styles(like borders), but sometimes the authors need to be able
to cancel out the borders. A standard set of rules for me when building a
site is:

img {basic border/background styling}
img.left {float left, direction-specific margins}
img.center {display as block, top/bottom margins}
img.right {float right, direction-specific margins}
img.noborder {border:none;}

And then the authors just use them as a modular set:



[jQuery] Re: Node

2007-05-04 Thread Su

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


One question.  Two answers here: It is Valid and it is NOT valid.  Which
is the truth?  It seems unorthadox to put an ID on an HTML tag, but I don't
see why it should be avoided if needed. (in rare circumstances)



Not sure if you meant me. I don't think I said it was invalid, just probably
not generally necessary, since There Can Be Only One(HTML element). I
suppose a case could come up at some point.


[jQuery] Re: Node

2007-05-03 Thread Su


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

Can jQuery access the  node and add a class to it?
Is this invalid XHTML?


Class is invalid on the HTML element, but you /can/ assign an ID.
Given that there should never be more than one HTML element in a doc,
this is less a restriction than just proper behavior, if you really
think about it.

I'm curious why you're going up so far, though. What are you doing
that you couldn't just put a class on the body instead?


[jQuery] Re: ANNOUNCE: Another LightBox Option - Interface ImageBox

2007-04-26 Thread Su


Hm. This'll take more poking to make sure, but I think the flash is
/not/ happening in the old Imagebox demo on the Interface site, so
that might be a place to start looking for differences.
I have to look into actually implementing this at the moment, but will
try and have a peek today.

On 4/25/07, Rey Bango <[EMAIL PROTECTED]> wrote:


Yep, I see the flash as well. Not sure what to make of it.

Rey...

Su wrote:
> This is really gorgeous, Rey.
>
> Is anybody else seeing a flash upon loading a new image in Firefox 2?
> I'd thought it was consistent, but it's not, so now I'm just confused.
> So far, I can only see that it never happens on loading the first
> image in a set, only when switching, just not every time.
>
>
> On 4/24/07, Rey Bango <[EMAIL PROTECTED]> wrote:
>> In searching for a LightBox option that was similar to this:
>>
>> http://www.huddletogether.com/projects/lightbox2/
>>
>> I came upon this version which is currently not listed in the plugins
>> section:
>>
>> http://www.intelliance.fr/jquery/imagebox/
>>
>> The animation and navigation differs from ThickBox and the other
>> lightbox plugins currently available and is very smooth overall.
>>
>> The original version was done by Interface developer Stefan Petre and
>> has since received some nice revisions and fixes courtesy of Matthieu
>> Paineau.
>>
>> Definitely take a look at it as it offers a nice UI experience.
>>
>> Rey...
>> --
>> BrightLight Development, LLC.
>> 954-775- (o)
>> 954-600-2726 (c)
>> [EMAIL PROTECTED]
>> http://www.iambright.com
>>
>

--
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED]
http://www.iambright.com



[jQuery] Re: ANNOUNCE: Another LightBox Option - Interface ImageBox

2007-04-25 Thread Su

Unfortunately, while I know my markup and CSS, I'm pretty much just far
enough into JS to mess around with existing code, but not often create it
*grin*
The stylesheet for Lightbox doesn't do anything to the focus property, so
the next possibility I see is that it looks like the next/prev links are
immediately being hidden as part of the imageswitching function. So, maybe
it's that they just get removed before there's a chance for the outline to
show? I haven't quite figured out yet whether or when you're doing this in
relation to the user clicking.

The important thing to remember, though, is that this isn't a case of "Don't
do it," but "Don't negate it."
The guideline is just that the focus should be indicated *somehow*. If you
don't like the default outline, you can change it to something else.
So, all that's really necessary is this:
#ImageBoxPrevImage:hover,
#ImageBoxPrevImage:focus
{
   outline : none;
   background-image: url(images/imagebox/prev_image.jpg);
   background-repeat:no-repeat;
   background-position: left bottom;
}

...which gets rid of the outline, but still ensures that there is feedback.

(BTW: Focus rules should come after hover. I can't remember the reasoning
for it, and barely understood it then. It's just one of those things.)


On 4/25/07, Rey Bango <[EMAIL PROTECTED]> wrote:



Thanks for the feedback Su. I'm wondering how this version of LightBox

http://www.huddletogether.com/projects/lightbox2/

which leverages Prototype and Scriptaculous, avoids the outline
behavior. If you look at it in FF, you'll see it doesn't appear.

Any chance you can take a look at it Su? I certainly don't want to
degrade accessibility so maybe you can shed some light on this.



[jQuery] Re: ANNOUNCE: Another LightBox Option - Interface ImageBox

2007-04-25 Thread Su

This is really gorgeous, Rey.

Is anybody else seeing a flash upon loading a new image in Firefox 2?
I'd thought it was consistent, but it's not, so now I'm just confused.
So far, I can only see that it never happens on loading the first
image in a set, only when switching, just not every time.


On 4/24/07, Rey Bango <[EMAIL PROTECTED]> wrote:
>
> In searching for a LightBox option that was similar to this:
>
> http://www.huddletogether.com/projects/lightbox2/
>
> I came upon this version which is currently not listed in the plugins
> section:
>
> http://www.intelliance.fr/jquery/imagebox/
>
> The animation and navigation differs from ThickBox and the other
> lightbox plugins currently available and is very smooth overall.
>
> The original version was done by Interface developer Stefan Petre and
> has since received some nice revisions and fixes courtesy of Matthieu
> Paineau.
>
> Definitely take a look at it as it offers a nice UI experience.
>
> Rey...
> --
> BrightLight Development, LLC.
> 954-775- (o)
> 954-600-2726 (c)
> [EMAIL PROTECTED]
> http://www.iambright.com
>
> >
>


[jQuery] Re: ANNOUNCE: Another LightBox Option - Interface ImageBox

2007-04-25 Thread Su

The outline behavior being cancelled out here is in place for accessibility
purposes.

When someone with limited mobility(for example) tabs through the links on a
page, it's not technically a "hover" but focus on the link, which is what's
being triggered here. If you remove the outline, you should be careful to
replace it with something else which still provides feedback to these users,
if possible.

On 4/25/07, Rey Bango <[EMAIL PROTECTED]> wrote:



Neither did I. I googled for something like "border on anchor tag" and
found a reference to it. It looks like its specific to FF as IE doesn't
have the issue.

Rey

Josh Nathanson wrote:
>
> Cool Rey, glad I could be of help.  I didn't know there was a style for
> "outline" so that helps me too.
>
> -- Josh
>
> - Original Message - From: "Rey Bango" <[EMAIL PROTECTED]>
> To: 
> Sent: Tuesday, April 24, 2007 6:58 PM
> Subject: [jQuery] Re: ANNOUNCE: Another LightBox Option - Interface
> ImageBox
>
>
>>
>> Hey Josh,
>>
>> Man you really helped me pinpoint the issue. With a little work, I
>> found that the issue was the anchor tag's focus attribute. Once I
>> added this to the plugin's style, it worked like a charm:
>>
>> #ImageBoxContainer a:focus { outline: none; }
>>
>> Thanks again for the help and if anybody wants the code, I've placed
>> it here:
>>
>> http://www.intoajax.com/jquery/imagebox/imagebox.zip
>>
>> It includes all of the images and html found here:
>>
>> http://www.intoajax.com/lb/
>>
>> as well as the most recent jQuery, Interface, & ImageBox code. Its
>> also organized for readability.
>>
>> Again, thanks goes out to Stefan Petre for developing the original
>> version and Matthieu Paineau for his nice revisions and fixes.
>>
>> Rey...
>>
>>
>>
>> Josh Nathanson wrote:
>>>
>>> I see what's going on there Rey.  It looks like there are two divs on
>>> top of the image - when you hover the right half, it pops up the
>>> "next" link and when you hover the left half, it pops up the
>>> "previous" link.  When you click it, it shows the browser's native
>>> focus mechanism for that div - that's what the white line is.  I bet
>>> there's some way to disable that focus mechanism.
>>>
>>> -- Josh
>>>
>>> - Original Message - From: "Rey Bango" <[EMAIL PROTECTED]>
>>> To: 
>>> Sent: Tuesday, April 24, 2007 4:33 PM
>>> Subject: [jQuery] Re: ANNOUNCE: Another LightBox Option - Interface
>>> ImageBox
>>>
>>>

 That would be awesome. I'm trying it out and seeing some weirdness.
 When an image comes up and I click on the Next or Previous button, I
 see a line drawn right down the center of the image. To see what I'm
 talking about, go here:

 http://www.intoajax.com/lb/

 Click on the moon image and put the mouse towards the right-side of
 the picture that popups. You should see a "Next Image" label appear.
 Click on the label and hold down the mouse. You should see what I
mean.

 Any ideas as to what the cause might be?

 Rey...

 Stefan Petre wrote:
>
> Rey Bango wrote:
>> In searching for a LightBox option that was similar to this:
>>
>> http://www.huddletogether.com/projects/lightbox2/
>>
>> I came upon this version which is currently not listed in the
>> plugins section:
>>
>> http://www.intelliance.fr/jquery/imagebox/
>>
>> The animation and navigation differs from ThickBox and the other
>> lightbox plugins currently available and is very smooth overall.
>>
>> The original version was done by Interface developer Stefan Petre
>> and has since received some nice revisions and fixes courtesy of
>> Matthieu Paineau.
>>
>> Definitely take a look at it as it offers a nice UI experience.
>>
>> Rey...
>>
> Lets add this to Interface 2. Maybe Matthieu can submit it  to SVN
>

 --
 BrightLight Development, LLC.
 954-775- (o)
 954-600-2726 (c)
 [EMAIL PROTECTED]
 http://www.iambright.com
>>>
>>>
>>
>> --
>> BrightLight Development, LLC.
>> 954-775- (o)
>> 954-600-2726 (c)
>> [EMAIL PROTECTED]
>> http://www.iambright.com
>
>

--
BrightLight Development, LLC.
954-775- (o)
954-600-2726 (c)
[EMAIL PROTECTED]
http://www.iambright.com



[jQuery] Re: datePicker v2 beta

2007-04-24 Thread Su

This looks great, Kelvin.
The only thing I'm curious about is the almost complete lack of
consideration for time with almost every single picker I've ever seen. I
have a need for one, for example, where the input consists of not just date,
but the /time/ of an event, output on a 24hour clock.

And by extension: Would you be interested in building a time field into
yours? I'll throw money at you.

On 4/24/07, Kelvin Luck <[EMAIL PROTECTED]> wrote:



Hi,

I'd like to announce the beta release of v2 of my datePicker plugin for
jQuery. This release is a complete rewrite which makes the date picker
considerably more powerful and flexible than it previously was. Check out
the temporary project page:

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

Note, this is currently in beta and may be a little rough around the edges
but I'd love to get some feedback. I've tested in FF2, IE6 and Opera 9 but
it would be good to know if it works in other browsers (particulaly Safari).
Plus any other feedback on extra stuff you'd like adding or bugs you
discover,

Cheers,

Kelvin :)