[jQuery] Re: temporarily hide options from a select box

2008-07-08 Thread Toby J

On Jul 7, 7:30 pm, Karl Rudd [EMAIL PROTECTED] wrote:
 It's a known problem with IE. Keeping a cloned copy of the select or
 keeping a list of the removed options (with where they were
 originally) is about the only way to do it.

Thanks for your help Karl, I was afraid of that. I'll modify it to
keep a cloned list.


[jQuery] temporarily hide options from a select box

2008-07-07 Thread Toby J

I am trying to build a set of cascading select boxes, where the
selection from one determines which options are available in the next
(for example if select box Region has North America selected, then
select box Country should only show countries in North America).

I've found how to remove those items from the list, but if I do that
then I can't get them back if a new choice is made. If I use .hide()
and .show(), or .css('display','none') and .css('display','block') on
the individual items then it works in Firefox but not IE (I'm testing
in IE7).

Any ideas? I suppose I could .clone() the original select list and
keep that copy in memory only but that seems like a pain.


[jQuery] Dreamweaver Plugin

2008-06-03 Thread Toby Brancher
Just incase this hasn't been posted around yet, I stumbled across this last
nite (and I hope the author doesnt mind cuase I think this is great!)

http://xtnd.us/dreamweaver/jquery

Big thanks to Chris Charlton! _/-0_


[jQuery] Re: SITE: http://www.pandora.com

2007-06-22 Thread Toby
Yea its in the list already :¬)

 

http://docs.jquery.com/Sites_Using_jQuery

 

  _  

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alexandre Plennevaux
Sent: 22 June 2007 10:02
To: jquery-en@googlegroups.com
Subject: [jQuery] SITE: http://www.pandora.com

 

they are using jquery on http://www.pandora.com ,  a last.fm like website.

 

Alexandre Plennevaux - LAb[au] asbl.vzw / MediaRuimte
Lakensestraat/Rue de Laeken 104
B-1000 Brussel-Bruxelles-Brussels
Belgie-Belgique-Belgium

Tel:+32(0)2.219.65.55
Fax:+32(0)2.426.69.86
Mobile:+32(0)476.23.21.42
http://www.lab-au.com blocked::http://www.lab-au.com/ 
http://www.mediaruimte.be blocked::http://www.mediaruimte.be/ 

 blocked::http://www.mediaruimte.be/
__

The information in this e-mail is intended only for the addressee named
above.  If you are not that addressee, please note that any disclosure,
distribution or copying of this e-mail is prohibited.
Because e-mail can be electronically altered, the integrity of this
communication cannot be guaranteed.

__

 


Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.476 / Base de données virus: 269.9.4/860 - Date: 21/06/2007
17:53




[jQuery] Re: Easing rocks

2007-06-21 Thread Toby
I love easing too! I used Penners Equations in flash and these are just as
good in xhtml, really good to add to animations for that touch of class :¬)

 

I also thought that it would be nice to include this in the core, just
because it is so sexy and the size of the equations looks rather small -
then again it works great as an additional file already and I don’t mind if
everyone doesn’t use it :¬P

 

  _  

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Glen Lipka
Sent: 21 June 2007 06:48
To: jquery-en@googlegroups.com
Subject: [jQuery] Easing rocks

 

Had occasion just now to use the Easing plugin
http://gsgd.co.uk/sandbox/jquery.easing.php

I replaced a slideDown Toggle with bounceout.  Kickass.
And it's 2k!  Too cool.  Improves the interaction immediately, 

I'm changing my vote on stuff I think should be in the base.  Yes, I am
fickle.
1. Dimensions
2. Easing
3. TurboSpeed (yet to be developed)

I took moreSelectors off my list.  Sorry moreSelectors.  Only three spots. 

Glen



[jQuery] Re: SlickSpeed CSS Selector TestSuite

2007-06-15 Thread Toby
You gotta admit, 1.2mb for that page is explosively large ;¬]

 

  _  

From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Glen Lipka
Sent: 13 June 2007 17:47
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: SlickSpeed CSS Selector TestSuite

 

http://www.apple.com/safari/
File size 1.2 megs.

If Toby worked on this website, I think he would spontaneously combust.

Glen

PS.  Every page I visit on Apple seems to get bigger and bigger. 



 



[jQuery] Re: SlickSpeed CSS Selector TestSuite

2007-06-13 Thread Toby

I vote for smaller footprint... I also think its quite harsh people making
their own settled opinions on what the file size should be... I believe it
should be as small as possible, not 'sub 100k', or sub '50k' - I heard
comments from JS developers already saying 23k is a lot... as a front end
developer I see it as a reasonable cost as long as the improvements are seen
and or used. In my humble opinion if it was 50k, twice its current size, to
settle some speed reports I would stick to using the old version - even
upping it to 30k would seem rash in my humble opinion - I believe most speed
issues could be addressed by better pathing or syntax considerations.

Don’t forget http://www.dallaway.com/sloppy/ if you have forgotten what 56k
or even ISDN is like... if you want integrity you want gracefulness however
your site is accessed. Saying all this, for sites that do require speed as
priority and can suffer downloading an additional file maybe a plugin would
settle the issue?

I love jQuery :¬)


-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gilles (Webunity)
Sent: 13 June 2007 10:01
To: jQuery (English)
Subject: [jQuery] Re: SlickSpeed CSS Selector TestSuite


I agree with Glenn on this one. I vote for more speed, we need to
fight back. Another 5k doesn't matter that much to me or my clients
since all of them have caching on. Maybe an extra plugin?




[jQuery] Re: jQuery PNG Fix

2007-05-19 Thread Toby

 I think its time to get one-and-for-all png fix solution out the door, 
 put it in the jQuery repository and on the plugin list.

This would be a really useful asset to a lot of people I am sure and would
help relieve developers/designers suffering due to IE6.

I have had success with the following;

1. For IMG tags; http://homepage.ntlworld.com/bobosola/ 

There are quite a few ways to get around the 'using PNG images as links'
issue if you run into it (jQuery), lastly of which is setting the BG of the
PNG to 1%.

2. For CSS; http://www.themaninblue.com/writing/perspective/2004/06/18/ 

I generally make a separate CSS doc for IE6 which normally has a few of
these in them :¬)

3. Gamma settings seem to get added automatically to PNG files from
applications like Photoshop resulting in them displaying differently in each
browser - whilst I don’t know the precise details this guy seems too;
http://hsivonen.iki.fi/png-gamma/ - at first I wept inside, but was relived
to find using this free little app http://entropymine.com/jason/tweakpng/
which allows you to remove the gamma line added and appears to fix problems
with colour.

HTH!


-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Jörn Zaefferer
Sent: 19 May 2007 12:25
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: jQuery PNG Fix


Devin wrote:
 This is a jQuery plugin I created to adapt pngfix.js from Bob Osola to
 use the jQuery framework.
   
I guess you haven't seen this yet: http://khurshid.com/jquery/iepnghack/
While I still don't like the method-names, I like that it is able to fix 
both img-elements and background-images.

I think its time to get one-and-for-all png fix solution out the door, 
put it in the jQuery repository and on the plugin list.

-- 
Jörn Zaefferer

http://bassistance.de



[jQuery] Re: jQuery PNG Fix

2007-05-19 Thread Toby

 This is a jQuery plugin I created to adapt pngfix.js from Bob Osola to
 use the jQuery framework.

Sorry forgot to mention nice1 adapting Bobs code, you noticed any
performance increases? I've found using PNG techniques on more than a few
IMG tags results in pages loading, then, images being updated to display
correctly and doesn't look too hot for those poor IE6 users.


-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Devin
Sent: 19 May 2007 02:21
To: jQuery (English)
Subject: [jQuery] jQuery PNG Fix


This is a jQuery plugin I created to adapt pngfix.js from Bob Osola to
use the jQuery framework.

If anybody has any further recommendations or improvements, don't
hesitate to let me know. :-)

$(document).ready(function(){

if ($.browser.msie  (document.body.filters))  {
 $(img).each(function(i){
var imgName = $.trim(this.src.toLowerCase());

if (imgName.substring(imgName.length-3, imgName.length) ==
png) {
var imgID = (this.id) ? id=' + this.id + '  :
;
var imgClass = (this.className) ? class=' +
this.className + '
 : ;
var imgTitle = (this.title) ? title=' + this.title
+ '  :
title=' + this.alt + ' ;
var imgStyle = display:inline-block; +
this.style.cssText;

if (this.align == left) {
imgStyle = float:left; + imgStyle;
}

if (this.align == right) {
imgStyle = float:right; + imgStyle;
}

if (this.parentElement.href) {
imgStyle = cursor:hand; + imgStyle;
}

this.outerHTML = span  + imgID + imgClass +
imgTitle
+  style=\ + width: + this.width + px;
height: +
this.height + px; + imgStyle + ;
+
filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=
\' + this.src + \', sizingMethod='scale');\/span;
}
});
}

});



[jQuery] Re: jquery.us

2007-05-18 Thread Toby

Google ad's are still at the top of the page for me, just followed John's
process with them :¬) 

I don’t know why people waste their time doing crap like this, must be some
sad existence... really...

-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Alexandre Plennevaux
Sent: 18 May 2007 12:15
To: jquery-en@googlegroups.com
Subject: [jQuery] Re: jquery.us


It seems they have leeched the html  of the original jquery.com code. there
are no more google ads. That was quick!
Do you think there is any correlation to the hacking and now this attempt at
stealing jquery ?

-Original Message-
From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Gordon
Sent: vendredi 18 mai 2007 10:59
To: jQuery (English)
Subject: [jQuery] Re: jquery.us


Submitted a report

On May 18, 8:03 am, george.gsgd [EMAIL PROTECTED] wrote:
 Has anyone seen this:

 http://jquery[dot]us (not linked so as not to aid their efforts)

 Obviously someone trying to cash in with google ads and spammy keyword 
 stuffing. But I got a hit in my referers so they must be doing 
 something right (even though that's so wrong).

Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.467 / Base de données virus: 269.7.3/809 - Date: 17/05/2007
17:18
 



[jQuery] Re: Remembering settings

2007-04-18 Thread Toby Parent


Just offhand, I'd still use cookies, just in a slightly different way. 
The thing google does is, it saves the user account settings into a 
database, then saves a cookie with a session ID. the database keeps 
session IDs, linked to the user table, which can then link to a settings 
table. All of this, of course, would require a back end that'd store the 
positions, probably via AJAX calls (reposition an element, close it, 
whatever).


Likely, use a default settings record, then they can override on an 
element-by-element basis. What are you using for a back end?


- Toby

Trekmp wrote:

Thanks to both of you for your advice.  I'm not just wanting to store
if an element is open/closed, I need to be able to do something like
google where I can move objects around and remember where they are and
what their status is (open/closed).  I'm no javascript programmer so
is it possible you can elborate some more with regards to the cookies,
using jquery, setting and reading.  When would be the best time to set
the cookie for the objects.

Many thanks again for your help


On Apr 17, 7:08 pm, Benjamin Sterling
[EMAIL PROTECTED] wrote:
  

Piggie backing off of what Rafael said, you can take the params for each
thing and put that in a cookie and when you do you $(document).ready, have a
function that looks at the cookie and gets the params.

Say you have a menu that the user wants hidden:

menuParams:hidden;

and when you come in to the page, it looks for the menuParams and sees if it
is set and what the value is.

--
Benjamin Sterlinghttp://www.KenzoMedia.comhttp://www.KenzoHosting.com