Re: [jQuery] jQuery BlockUI Plugin IE crashes

2007-03-15 Thread Kush Murod
Hi,

jQuery BlockUI Plugin, IE crashes every time.
I am using jquery 1.1.2 + form plugin

Any ideas?

Cheers,
-- 

Kush Murod, Web applications developer
Sensory Networks
[E] [EMAIL PROTECTED]
[W] www.sensorynetworks.com
[T] +61 2 8302 2745
[F] +61 2 9475 0316
[A] Level 6, 140 William Street East Sydney 2011


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] xsl sped up my xml over ajax

2007-03-15 Thread Klaus Hartl
Benjamin Sterling schrieb:
 Yeah, I got the XSLT cookbook, and well nothing got cooked.  I will 
 take a look at your suggestion.

I think the cookbooks are great, I have a few of them for Ruby, Rails 
and even JavaScript/DHTML (bought that when I started JavaScript coding 
:-)), but I have found that they're not always useful to learn a 
language. You get nothing out of more advanced recipies unless you don't 
understand the basics...


-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] blending effect?

2007-03-15 Thread Hrvoje Blažeković

Hi,
for a simple slide show try this:

http://www.gizone.co.uk/web-design/jquery-plugins/simple-jquery- 
slideshow/



Hrvoje


On 15 ožu, 2007, at 9:26, Torbjorn Tornkvist wrote:


Hi,

I'm displaying one image, now how do I replace it with a
'blending' effect, i.e the old image fades out and the
new image fades in ?

I suspect I should make clever use of animate,opacity,z-index etc,
I'm just not sure were to start. Any pointers to an existing example
on how to do it with jquery ?

Cheers, Tobbe


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/




Hrvoje Blažeković
tel.:  048/220 418
fax.: 048/220 417
e-mail: [EMAIL PROTECTED]



___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] blending effect?

2007-03-15 Thread Torbjorn Tornkvist
Hi,

I'm displaying one image, now how do I replace it with a
'blending' effect, i.e the old image fades out and the
new image fades in ?

I suspect I should make clever use of animate,opacity,z-index etc,
I'm just not sure were to start. Any pointers to an existing example
on how to do it with jquery ?

Cheers, Tobbe


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery Powered Sites - Keep the Links Coming

2007-03-15 Thread SeViR
rip747 escribió:
 I actually just got done redesigning www.sheriff.org and used jQuery for all
 the javascript on the site. 

   
wow! very nice site, the search of the sexual offenders in the maps, 
simply genial

-- 
Best Regards,
 José Francisco Rives Lirola sevir1ATgmail.com

 SeViR CW · Computer Design
 http://www.sevir.org
  
 Murcia - Spain


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] event reattach

2007-03-15 Thread Kush Murod
Hi,

example:

$('.buttons').click... attached an event

at some stage I've replaced one of many '.buttons' using $.get/$.post 
via html(newButton)
new button does not have click event attached anymore

what's the best way to keep or re-attach event(s)

Cheers,

-- 
Kush Murod, Web applications developer
Sensory Networks
[E] [EMAIL PROTECTED]
[W] www.sensorynetworks.com
[T] +61 2 8302 2745
[F] +61 2 9475 0316
[A] Level 6, 140 William Street East Sydney 2011


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] blending effect?

2007-03-15 Thread Hrvoje Blažeković
Simple to use, I have used it on some small sites (st-georg.hr - the  
home page, www.podravka.com/visebojac/ - the header images)

Hrvoje


On 15 ožu, 2007, at 9:47, Torbjorn Tornkvist wrote:


Hrvoje Blažeković wrote:

Hi,
for a simple slide show try this:

http://www.gizone.co.uk/web-design/jquery-plugins/simple-jquery- 
slideshow/




Very nice, thank you!

So the trick is:

  jQuery(slides[last]).css('display', 'block').css('zIndex', '0');
  jQuery(slides[current]).css('zIndex', '1').fadeIn('slow');

How convenient... :-)

Cheers, Tobbe



Hrvoje


On 15 ožu, 2007, at 9:26, Torbjorn Tornkvist wrote:


Hi,

I'm displaying one image, now how do I replace it with a
'blending' effect, i.e the old image fades out and the
new image fades in ?

I suspect I should make clever use of animate,opacity,z-index etc,
I'm just not sure were to start. Any pointers to an existing example
on how to do it with jquery ?

Cheers, Tobbe


___
jQuery mailing list
discuss@jquery.com mailto:discuss@jquery.com
http://jquery.com/discuss/





Hrvoje Blažeković

tel.:  048/220 418

fax.: 048/220 417

e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]






- 
---


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/



___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/



Hrvoje Blažeković
tel.:  048/220 418
fax.: 048/220 417
e-mail: [EMAIL PROTECTED]



___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] blending effect?

2007-03-15 Thread Torbjorn Tornkvist
Hrvoje Blažeković wrote:
 Hi,
 for a simple slide show try this:
 
 http://www.gizone.co.uk/web-design/jquery-plugins/simple-jquery-slideshow/
 

Very nice, thank you!

So the trick is:

  jQuery(slides[last]).css('display', 'block').css('zIndex', '0');
  jQuery(slides[current]).css('zIndex', '1').fadeIn('slow');

How convenient... :-)

Cheers, Tobbe

 
 Hrvoje
 
 
 On 15 ožu, 2007, at 9:26, Torbjorn Tornkvist wrote:
 
 Hi,

 I'm displaying one image, now how do I replace it with a
 'blending' effect, i.e the old image fades out and the
 new image fades in ?

 I suspect I should make clever use of animate,opacity,z-index etc,
 I'm just not sure were to start. Any pointers to an existing example
 on how to do it with jquery ?

 Cheers, Tobbe


 ___
 jQuery mailing list
 discuss@jquery.com mailto:discuss@jquery.com
 http://jquery.com/discuss/

 
 
 
 Hrvoje Blažeković
 
 tel.:  048/220 418
 
 fax.: 048/220 417
 
 e-mail: [EMAIL PROTECTED] mailto:[EMAIL PROTECTED]
 
 
 
 
 
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] blending effect?

2007-03-15 Thread Joel Birch
On 15/03/2007, at 7:54 PM, Hrvoje Blažeković wrote:
 Simple to use, I have used it on some small sites (st-georg.hr -  
 the home page, www.podravka.com/visebojac/ - the header images)
 Hrvoje

 On 15 ožu, 2007, at 9:47, Torbjorn Tornkvist wrote:
 Hrvoje Blažeković wrote:
 Hi,
 for a simple slide show try this:

 http://www.gizone.co.uk/web-design/jquery-plugins/simple-jquery- 
 slideshow/

Another good plugin for this is innerFade:
http://medienfreunde.com/lab/innerfade/

And another *might* just be released soon (this weekend maybe) by  
myself.

Joel Birch.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] *New jQuery plugin* - autoSave

2007-03-15 Thread matt2012

this looks great a few working examples would really be appreciated

Matt.
-- 
View this message in context: 
http://www.nabble.com/*New-jQuery-plugin*---autoSave-tf3406522.html#a9490927
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] blending effect?

2007-03-15 Thread Torbjorn Tornkvist
Joel Birch wrote:
 On 15/03/2007, at 7:54 PM, Hrvoje Blažeković wrote:
 Simple to use, I have used it on some small sites (st-georg.hr -  
 the home page, www.podravka.com/visebojac/ - the header images)
 Hrvoje

 On 15 ožu, 2007, at 9:47, Torbjorn Tornkvist wrote:
 Hrvoje Blažeković wrote:
 Hi,
 for a simple slide show try this:

 http://www.gizone.co.uk/web-design/jquery-plugins/simple-jquery- 
 slideshow/
 
 Another good plugin for this is innerFade:
 http://medienfreunde.com/lab/innerfade/
 
 And another *might* just be released soon (this weekend maybe) by  
 myself.

Nice! Looking forward to it.

What I want to achive is to have a list of thumbnails
at the side of a larger area were one image/photo is shown
at a time. A click on a thumbnail should cause the new
image to replace the old one in a smooth blending effect.

I will try and see if I can cook up something based on the
existing examples.

Cheers, Tobbe


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] event reattach

2007-03-15 Thread Jonathan Chaffer
On Mar 15, 2007, at 4:45 , Kush Murod wrote:

 $('.buttons').click... attached an event

 at some stage I've replaced one of many '.buttons' using $.get/$.post
 via html(newButton)
 new button does not have click event attached anymore

 what's the best way to keep or re-attach event(s)

You just missed a substantial thread on this topic. You can view the  
responses, which should give you some good ideas, in the list archives:
http://jquery.com/pipermail/discuss_jquery.com/2007-March/027029.html

Hope this helps!

--
Jonathan Chaffer
Technology Officer, Structure Interactive

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] rollodex ui

2007-03-15 Thread Alexandre Plennevaux
Good idea, thanks^^ 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Erik Beeson
Sent: jeudi 15 mars 2007 3:10
To: jQuery Discussion.
Subject: Re: [jQuery] rollodex ui

You may want to consider onclick or something like that hover intent plugin
that was recently mentioned on this list. Otherwise, if you fire ajax calls
onmouseover, you'll likely end up with poor performance when the user is
just moving the mouse around. Also, you may want to cache the results of the
lookup.

--Erik


On 3/14/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote:
 That's not a good idea to me: i prefer to perform an ajax call on 
 mouseover, because loading the details of all contacts would increase 
 an already heavy html download.

 But thanks for the suggestion. I'll try jqModal, i wonder why i didn't 
 think of it before.

 -Original Message-
 From: Erik Beeson [mailto:[EMAIL PROTECTED]
 Sent: jeudi 15 mars 2007 0:54
 To: [EMAIL PROTECTED]; jQuery Discussion.
 Subject: Re: [jQuery] rollodex ui

 There's an awful lot to what you're asking. It sounds less like jQuery 
 help, and more like consulting work...

 I could imagine a long list of rows (DIVs or SPANs or TRs) that have 
 a nested DIV that has the full contact details. Then just something 
 like (untested pseudoish code):

 $(rows).hover(function() {
   $(this).children(details).show();
 }, function() {
   var $details = $(this).children(details);
   setTimeout(function() { $details.hide(); }, delay); });

 If you're wanting the details content to hover over the top of your 
 rows, you might look into something like the modal plugin. Maybe you 
 could have an onmouseout handler on the modal content to hide it.

 --Erik

 On 3/14/07, Alexandre Plennevaux [EMAIL PROTECTED] wrote:
 
 
  hello!
 
  i need to display a list of contacts in an online addressbook which 
  can be up to 1000 rows. Each row just display the firstname, 
  lastname and organisation, with a button next to it. On mouse over 
  this button, a div comes front showing that specific person's full
contact information.
  On mouse out, it would stay for another few seconds then disappear.
  I would like to know how you guys would do that, or if you know of 
  any plugin that can be used like that ?
 
  Thanks a lot!
 
 
  Alexandre
 
 
 
  --
   Ce message Envoi est certifié sans virus connu.
   Analyse effectuée par AVG.
   Version: 7.5.448 / Base de données virus: 268.18.11/721 - Date:
  13/03/2007
  16:51
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 
 

 --
 Ce message Envoi est certifié sans virus connu.
 Analyse effectuée par AVG.
 Version: 7.5.448 / Base de données virus: 268.18.11/721 - Date: 
 13/03/2007
 16:51




___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

-- 
Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.448 / Base de données virus: 268.18.11/721 - Date: 13/03/2007
16:51
 


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] looking for sortable plugin that serialized on mouse release

2007-03-15 Thread Mika Tuupola

On Mar 15, 2007, at 12:42 PM, amircx wrote:

 i saw many sortables around including protoype, its seems that the  
 interface
 plugin is the most simple , but i dont have a clue how can i  
 serialize the
 data after the user release the dragged content, and also, how can  
 i send it
 to the server for proccessing the data

Do something like:

 $(#someid).Sortable({
 accept : 'sortableitem',
 onchange : function (sorted) {
 serial = $.SortSerialize('projectlist');
 $.ajax({
 url: http://www.example.com/save.php;,
 type: POST,
 data: serial.hash
 // complete: function(){},
 // success: function(){},
 // error: function(){}
 });
 }
 });


--
Mika Tuupola  http://www.appelsiini.net/~tuupola/




___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery Powered Sites - Keep the Links Coming

2007-03-15 Thread Adam Skinner

I noticed recently that the Privateer Press site is using jQuery as well. 
Check it!

http://www.privateerpress.com/HORDES/gallery/default.php?level=pictureid=11



Rey Bango-2 wrote:
 
 Hey all,
 
 I just wanted to let you know that I've been compiling the list of sites 
 and definitely noting all of the ones submitted. Thank you for providing 
 the info.
 
 Please keep sending links as we want to have a nice list of 
 jQuery-powered sites for the jQuery web site.
 
 Thanks,
 
 Rey...
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/jQuery-Powered-Sites---Keep-the-Links-Coming-tf2955158.html#a9492232
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery BlockUI Plugin IE crashes

2007-03-15 Thread Mike Alsup
 jQuery BlockUI Plugin, IE crashes every time.
 I am using jquery 1.1.2 + form plugin

Kush, do you happen to have any ActiveX controls on that page?  The
current version has a problem related to ActiveX.  I have a fix for it
but have not updated SVN with the change yet (still testing).

Mike

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] editInPlace link trigger

2007-03-15 Thread strzelecki

Yes unfortunately the unique class is needed as there a multiple editable
elements on the same page (comments pulled from a database), which you can
click to edit in turn. This has worked fine, I just needed to be able to
click a link on button instead of the text inself. I meant to remove the
?php echo $comment_id;? or it should have looked like:

 div class=edit_comment?php echo $comment_id;??php echo
$comment_content;?/divspan class=triggerEdit/span/td
script type=text/javascript
// ![CDATA[
$(document).ready(function(){
$(.trigger).click(function() {
 $(this).parent().children(.edit_comment?php echo
$comment_id;?).click();
});
$(.edit_comment?php echo $comment_id;?).editInPlace({


Mika Tuupola wrote:
 
 
 On Mar 14, 2007, at 5:21 PM, strzelecki wrote:
 
 Doesn't seem to want to work the same with Daves version. I have:
 div class=edit_comment?php echo $comment_content;?/divspan
 class=triggerEdit/span/td
 script type=text/javascript
// ![CDATA[
  $(document).ready(function(){
  $(.trigger).click(function() {
   $(this).parent().children(.edit_comment).click();
  });
  $(.edit_comment?php echo $comment_id;?).editInPlace({
 
 You seem to have unique class for each editable element. Is that  
 needed. Try to change line above to:
 
 -cut-
 $(.edit_comment).editInPlace({
 -cut-
 
 --
 Mika Tuupola  http://www.appelsiini.net/~tuupola/
 
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/editInPlace-link-trigger-tf3395144.html#a9492867
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery In The Wild: marmot.com

2007-03-15 Thread Adam Skinner

It's running Drupal! (and jQuery is drupal's primary javascript library)


Jonathan Sharp wrote:
 
 Another jQuery sighting: http://marmot.com click on Clothing  Equipment
 
 -js
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/jQuery-In-The-Wild%3A-marmot.com-tf3406390.html#a9492802
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] js right click menu

2007-03-15 Thread Denis
Hi!

Can you provide example implemented with jquery please?

Thanks!


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery Powered Sites - Keep the Links Coming

2007-03-15 Thread Karl Swedberg

Well done, Tony!

One suggestion for the image replacement technique on the  
#RSSexualPredators a element is to add

  overflow: hidden;

Otherwise, Firefox shows the unsightly dotted border across the  
entire width of the page when the link gets focus because of the text- 
indent: -em.


Cheers,

p.s. when José writes...

the search of the sexual offenders in the maps, simply genial
... I'm sure this is a simple (Freudian?) slip of the translation  
dictionary, but I think a better translation would be simply  
genital. :-)


--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Mar 15, 2007, at 4:30 AM, SeViR wrote:


rip747 escribió:
I actually just got done redesigning www.sheriff.org and used  
jQuery for all

the javascript on the site.



wow! very nice site, the search of the sexual offenders in the maps,
simply genial

--
Best Regards,
 José Francisco Rives Lirola sevir1ATgmail.com

 SeViR CW · Computer Design
 http://www.sevir.org

 Murcia - Spain


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] looking for sortable plugin that serialized on mouse release

2007-03-15 Thread amircx

THANKSS
:)
works


Mika Tuupola wrote:
 
 
 On Mar 15, 2007, at 12:42 PM, amircx wrote:
 
 i saw many sortables around including protoype, its seems that the  
 interface
 plugin is the most simple , but i dont have a clue how can i  
 serialize the
 data after the user release the dragged content, and also, how can  
 i send it
 to the server for proccessing the data
 
 Do something like:
 
  $(#someid).Sortable({
  accept : 'sortableitem',
  onchange : function (sorted) {
  serial = $.SortSerialize('projectlist');
  $.ajax({
  url: http://www.example.com/save.php;,
  type: POST,
  data: serial.hash
  // complete: function(){},
  // success: function(){},
  // error: function(){}
  });
  }
  });
 
 
 --
 Mika Tuupola  http://www.appelsiini.net/~tuupola/
 
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/looking-for-sortable-plugin-that-serialized-on-mouse-release-tf3407504.html#a9493050
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] js right click menu

2007-03-15 Thread Edwin Martin
Denis schreef:
 Can you provide example implemented with jquery please?
   

Last week this came by:

http://www.trendskitchens.co.nz/jquery/contextmenu/

Edwin Martin

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] js right click menu

2007-03-15 Thread Joel Birch
On 15/03/2007, at 10:50 PM, Denis wrote:
 Hi!

 Can you provide example implemented with jquery please?

 Thanks!

This one was discussed recently (this week or last week):

http://www.trendskitchens.co.nz/jquery/contextmenu/

Joel.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Calling all CF'ers... et al...

2007-03-15 Thread Klaus Hartl
Jörn Zaefferer schrieb:
 Klaus Hartl schrieb:
 Yes, that is already useful! But it still depends on the form to be 
 submitted. Would be cool to have single fields validated on blur. That 
 would of course be useful for client-side validation as well. Maybe its 
 already implemented? I'm not uptodate with that.
   
 Currently you can specify one additional event for validation on each 
 element.
 
 I guess the combination of pure-client-side validation on keyup and 
 submit with ajax-validation on blur would be the killer.
 
 I'll investigate that.

That would be what we call in German eierlegende Wollmilchsau.

I wonder whats the equivalent in english is! LEO says: all-in-one 
device suitable for every purpose. Sorry, thats much funnier in German!

:-)



-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] New plugin: ContextMenu

2007-03-15 Thread Joel Birch
On 09/03/2007, at 10:13 AM, Chris Domigan wrote:
 Hi everyone

 The first version of my new ContextMenu plugin has been released.  
 You can grab it here:

 http://www.trendskitchens.co.nz/jquery/contextmenu/

 ContextMenu lets you selectively replace the browser's right click  
 menu with one of your own. It is fully customisable and allows you  
 to bind context-sensitive actions to each menu option.

 Big thanks to Joern Zaefferer whose excellent Tooltip plugin  
 provided much inspiration.

 This is my first plugin for jQuery and any feedback/comments/ 
 improvements would be most appreciated!

 Cheers,

 Chris Domigan

With Mac FF 2.0.0.2 on the demo page, when I right-click on the areas  
indicated, the menu does appear (unlike my earlier feedback) *except*  
that it is positioned way up the page so you have to scroll up to see  
it. It seems that page scroll is not accounted for when positioning  
the menu (for Mac FF only - works fine in Safari and I have not  
checked it on a PC).

Just letting you know. Love the plugin.

Joel.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Interface highlight alternative?

2007-03-15 Thread Priest, James \(NIH/NIEHS\) [C]
Currently the highlight effect in Interface doesn't work well with IE...
I've submitted a bug but in the meantime - does anyone know of any
alternatives?

I'm getting ready to release a site and need to come up with a fix or
alternative for this before I can wrap it up.

I'm just using it to highlight errors after a form submission.

Thanks!
Jim

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery Powered Sites - Keep the Links Coming

2007-03-15 Thread Oliver Boermans
This recent site upgrade was my first site to use jQuery in any significant way:
http://www.novita.org.au/

Click one or two of the italic definition links within the page
content (particularly in the Disability section
http://www.novita.org.au/Content.aspx?p=3 ). The definition text of
the pop-ups is drawn from the definitions which are included towards
the bottom of each page. JQuery made this job a whole lot easier!

Making this feature screen reader friendly was particularly important.
My biggest challenge was finding ways to work around IE's handling of
whitespace text nodes in generated elements.

jQuery and I have both since grown up a little :) I expect I would do
it a little differently now. But this is the site that prompted me to
look into JavaScript libraries that used CSS selectors - and I was not
disappointed!

jQuery now plays at least a small part in most of the ASP.Net sites
built at work. There's a couple of great examples nearing completion.
It took only a small (rather heavy) fling with Atlas on one particular
site to make jQuery look like the smarter choice for our DOM scripting
needs. This community has taught me a great deal. It has been great,
as a designer, to teach the developers at work a thing or two about
JavaScript :)

Thank-you!

On 11/01/07, Rey Bango [EMAIL PROTECTED] wrote:

 Please keep sending links as we want to have a nice list of
 jQuery-powered sites for the jQuery web site.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] bgiframe update, sneak peak

2007-03-15 Thread agent2026

Hi,

Can one of you explain to me what 'tagging it' is about, and how I can use
it to keep track of changes/releases?

Thanks,
Adam


Jonathan Sharp wrote:
 
 Thank you! That will be very useful! Also thanks for tagging it, that
 helps
 greatly in tracking changes and when releases happen.
 
 Cheers,
 -js
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/bgiframe-update%2C-sneak-peak-tf3402941.html#a9492281
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] New plugin: ContextMenu

2007-03-15 Thread arnaud sellenet
Thanks for this nice plugin, perfect for intranet or such indeed.
I've tested your demo page with :
Safari 2
Firefox 2 mac (extensions : Firebug, Selenium IDE, codetech,  
cssViewer, dummy lipsum, errorzilla mod, measureit, newsfox,  
quickrestart, tab mix plus, view source chart, web developer)

Both worked as expected.


Le 15 mars 07 à 13:11, Joel Birch a écrit :

 On 09/03/2007, at 10:13 AM, Chris Domigan wrote:
 Hi everyone

 The first version of my new ContextMenu plugin has been released.
 You can grab it here:

 http://www.trendskitchens.co.nz/jquery/contextmenu/

 ContextMenu lets you selectively replace the browser's right click
 menu with one of your own. It is fully customisable and allows you
 to bind context-sensitive actions to each menu option.

 Big thanks to Joern Zaefferer whose excellent Tooltip plugin
 provided much inspiration.

 This is my first plugin for jQuery and any feedback/comments/
 improvements would be most appreciated!

 Cheers,

 Chris Domigan

 With Mac FF 2.0.0.2 on the demo page, when I right-click on the areas
 indicated, the menu does appear (unlike my earlier feedback) *except*
 that it is positioned way up the page so you have to scroll up to see
 it. It seems that page scroll is not accounted for when positioning
 the menu (for Mac FF only - works fine in Safari and I have not
 checked it on a PC).

 Just letting you know. Love the plugin.

 Joel.

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/



___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] New plugin: ContextMenu

2007-03-15 Thread Joel Birch
On 15/03/2007, at 11:31 PM, arnaud sellenet wrote:
 Thanks for this nice plugin, perfect for intranet or such indeed.
 I've tested your demo page with :
 Safari 2
 Firefox 2 mac (extensions : Firebug, Selenium IDE, codetech,
 cssViewer, dummy lipsum, errorzilla mod, measureit, newsfox,
 quickrestart, tab mix plus, view source chart, web developer)

 Both worked as expected.

I disabled all my Firefox extensions and re-enabled them one by one  
and found the culprit responsible for causing the misplacement of the  
menus. All-in-One Gestures 0.18.0 extension. Not sure what can be  
done about it :/

Cheers
Joel.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Ok... one last effort to make this work... help!

2007-03-15 Thread Rick Faircloth
Hi, Daemach...

I've been working with the various suggestions I've gotten and
have made some progress.  I had to spend most of yesterday
trying to figure out why my computer wouldn't boot.  Finally
isolated a software problem with a virtual CD emulator.  Deleted
that and all is well.

Now with my code...

The outcome I'm looking for now is to have the error message appear
above each form field.  Here's an online demo of what's happening:

http://bodaford.whitestonemedia.com/html/trial_field_validation.cfm

I get duplicate error messages and in the wrong spots...
I don't know how to combine the elements to make
them function properly.  Any ideas?

Thanks!

Rick

Here's the code...

script type=text/javascript

$(document).ready(function(){

$(#Principal).blur(function(){ 
$.post(callpage_Validate_Mortgage_Inputs.cfm,
{principal:$(#Principal).val()}, handleCallback) });

$(#Interest).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{interest:$(#Interest).val(
)}, handleCallback) });

$(#Years).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{years:$(#Years).val()},
handleCallback) });

function handleCallback(data) {

$(#Result_Principal).empty().appendTo(#Result_Principal).append(data);

$(#Result_Interest).empty().appendTo(#Result_Interest).append(data);

$(#Result_Years).empty().appentTo(#Result_Years).append(data);

}

});



/script



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Daemach
Sent: Thursday, March 15, 2007 12:26 AM
To: discuss@jquery.com
Subject: Re: [jQuery] Ok... one last effort to make this work... help!


Did you get this working Rick?





___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery Powered Sites - Keep the Links Coming

2007-03-15 Thread Rick Faircloth
Well done, Oliver!

Rick

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Oliver Boermans
Sent: Thursday, March 15, 2007 8:25 AM
To: jQuery Discussion.
Subject: Re: [jQuery] jQuery Powered Sites - Keep the Links Coming

This recent site upgrade was my first site to use jQuery in any significant
way:
http://www.novita.org.au/

Click one or two of the italic definition links within the page
content (particularly in the Disability section
http://www.novita.org.au/Content.aspx?p=3 ). The definition text of
the pop-ups is drawn from the definitions which are included towards
the bottom of each page. JQuery made this job a whole lot easier!

Making this feature screen reader friendly was particularly important.
My biggest challenge was finding ways to work around IE's handling of
whitespace text nodes in generated elements.

jQuery and I have both since grown up a little :) I expect I would do
it a little differently now. But this is the site that prompted me to
look into JavaScript libraries that used CSS selectors - and I was not
disappointed!

jQuery now plays at least a small part in most of the ASP.Net sites
built at work. There's a couple of great examples nearing completion.
It took only a small (rather heavy) fling with Atlas on one particular
site to make jQuery look like the smarter choice for our DOM scripting
needs. This community has taught me a great deal. It has been great,
as a designer, to teach the developers at work a thing or two about
JavaScript :)

Thank-you!




___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] window.undefined = undefinedundefined?

2007-03-15 Thread Michael Geary
 I was poking around the DOM looking for incorrectly scoped 
 variables and I found the following node:
 
 window.undefined = undefinedundefined
 
 What is this for?

The window object has a property named undefined whose value is the
undefined value.

IOW, when you run code like this:

if( foo === undefined ) alert( 'foo is undefined' );

What you are really doing is the same as:

if( foo === window.undefined ) alert( 'foo is undefined' );

I don't know what tool you are using to view the DOM or why it says that
window.undefined has a value of undefinedundefined. That sounds like a bug
in the DOM viewer, unless this code has been executed, which seems unlikely:

window.undefined = undefinedundefined;

-Mike


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] *New jQuery plugin* - autoSave

2007-03-15 Thread Jake McGraw
Any way we could get this attached to whole form elements? Something like:

$(form).autoSave()?

and use jQuery's magic (meaning your meticulous programming skills),
to process all input types within the form?

- jake


On 3/15/07, matt2012 [EMAIL PROTECTED] wrote:

 this looks great a few working examples would really be appreciated

 Matt.
 --
 View this message in context: 
 http://www.nabble.com/*New-jQuery-plugin*---autoSave-tf3406522.html#a9490927
 Sent from the JQuery mailing list archive at Nabble.com.


 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] OT: Detecting memory leaks in Firefox

2007-03-15 Thread Sam Collett
Anyone know of any good tools for debugging memory leaks in Firefox?

I have installed the Leak Monitor extension, but it does not seem to
work. Plus when it did (Firefox 1.5), the constant popups proved
irritating.

I want to find out what is causing leaks (both in the browser and web
pages), rather than that they are occurring.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] *New jQuery plugin* - autoSave

2007-03-15 Thread Sam Collett
On 15/03/07, Daemach [EMAIL PROTECTED] wrote:

 To try and master jQuery I've been playing with a few ideas.  I decided to
 flesh this one out for use on one of my sites and in hopes it can benefit
 someone else as well I'm making it available.  Depending on your view of
 network traffic this may have limited potential for you, but it's free so no
 complaining ;)

 autoSave will automatically submit individual fields in a form as you make
 changes, preventing users from losing form data should the power fail, or
 they get called away to watch the last 3 tivo'd episodes of 24 as their
 browser session expires.  Its most useful potential is for quick editing
 database records but you can use it for just about anything.

 You call it using $(yourFormInputs).autoSave( Function, Map ); and that's
 pretty much it.  You just need to write the backend handler to deal with the
 field data as it hits the server.  I'll post some tricks I use with Cold
 Fusion on the blog I set up later.

 A basic example using pure jQuery:

 $(document).ready(function(){
 $(:input).autoSave(function(){
 var ele = new Object();
 // remember that this function runs in the scope of the element
 itself.
 ele[this.name] = (this.type ==checkbox) ? this.value + | +
 this.checked : this.value;
 $.post(test.cfm, ele, function (data)
 {$(#ResultDiv).empty().append(data);} )
 });
 });

 You can read more about it here:
 http://daemach.blogspot.com/2007/03/autosave-jquery-plugin.html
 --

Looks good and hopefully may have some improvements in the future.

OT:
(to Daemach)
By the way, did you get my email (I sent one a while ago and you may
not have got it, and I'm not sure if you got my latest one).

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] NEWS: jQPie PHP Interface Extension

2007-03-15 Thread Rey Bango
Ajaxian posted an entry about the jQPie jQuery PHP interface extension.

http://ajaxian.com/archives/jqpie-jquery-php-interface-extension

Rey...

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

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] bgiframe update, sneak peak

2007-03-15 Thread Jonathan Sharp

jQuery uses SVN (Subversion) to control and track changes to the code. SVN
projects are usually setup with a trunk and a tags folder.

Brandon does all of his work in the trunk folder which will always have the
latest and greatest and maybe some features that aren't stable. Once he gets
the trunk to a stable point and wants to release it he will tag (or
checkpoint (or copy)) the trunk to say tags/1.0.0. Then any changes he makes
to trunk will not change any of the code at tags/1.0.0.

So this helps in tracking specific releases as we can look at the tags
folder and see the individual releases and ignore all the minor and
experimental changes to trunk.

Hope this makes sense!

Cheers,
-Jonathan



On 3/15/07, agent2026 [EMAIL PROTECTED] wrote:



Hi,

Can one of you explain to me what 'tagging it' is about, and how I can use
it to keep track of changes/releases?

Thanks,
Adam


Jonathan Sharp wrote:

 Thank you! That will be very useful! Also thanks for tagging it, that
 helps
 greatly in tracking changes and when releases happen.

 Cheers,
 -js

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/



--
View this message in context:
http://www.nabble.com/bgiframe-update%2C-sneak-peak-tf3402941.html#a9492281
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] web services/api - jscript invocation

2007-03-15 Thread bruce
Hi.

I'm looking for a sample code/site that really walks through the entire
process of creating a sample website that exposes a test api/web service.

I'm looking to create a test app that demonstrates a test web app, as well
as an api for the app. I'd then like to be able to implement the api in
jscript from a separate web app, to invoke the api from a separate web app.

In searching google, I haven't found what I'm looking for. I've seen various
sites that discuss apis of other companies (google, yahoo, flickr, etc...)
but nothing that actually walks the user though how to create this process
from the beginning to the end...

If you have any pointers, let m eknow.

Thanks

-Bruce
[EMAIL PROTECTED]


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] bgiframe update, sneak peak

2007-03-15 Thread agent2026

Thanks for the help, that's what I thought.  I've never really tried to use
SVN.  Is there a frontend you recommend?

Adam



Jonathan Sharp wrote:
 
 jQuery uses SVN (Subversion) to control and track changes to the code. SVN
 projects are usually setup with a trunk and a tags folder.
 
 Brandon does all of his work in the trunk folder which will always have
 the
 latest and greatest and maybe some features that aren't stable. Once he
 gets
 the trunk to a stable point and wants to release it he will tag (or
 checkpoint (or copy)) the trunk to say tags/1.0.0. Then any changes he
 makes
 to trunk will not change any of the code at tags/1.0.0.
 
 So this helps in tracking specific releases as we can look at the tags
 folder and see the individual releases and ignore all the minor and
 experimental changes to trunk.
 
 Hope this makes sense!
 
 Cheers,
 -Jonathan
 
 

-- 
View this message in context: 
http://www.nabble.com/bgiframe-update%2C-sneak-peak-tf3402941.html#a9495305
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Ok... one last effort to make this work... help!

2007-03-15 Thread Daemach

In this case you are handling each of the  results differently so you could
do it by putting anonymous functions directly in the post callbacks like
this: 

$(document).ready(function(){

$(#Principal).blur(function(){ 
$.post(callpage_Validate_Mortgage_Inputs.cfm,
{principal:$(#Principal).val()}, function (data)
{$(#Result_Principal).empty().append(data) } ) });

$(#Interest).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{interest:$(#Interest).val()},
function (data) {$(#Result_Interest).empty().append(data) }) });

$(#Years).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{years:$(#Years).val()},
function (data) {$(#Result_Years).empty().append(data) }) });

});

OR you could pass the target div to an outside function like this:

$(document).ready(function(){

$(#Principal).blur(function(){ 
$.post(callpage_Validate_Mortgage_Inputs.cfm,
{principal:$(#Principal).val()}, function (data) {
handleCallback(Principal,data); }) });

$(#Interest).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{interest:$(#Interest).val()},
function (data) { handleCallback(Interest,data); }) });

$(#Years).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{years:$(#Years).val()},
function (data) { handleCallback(Years,data); }) });

});

function handleCallback(target,data) {
$(#Result_ + target).empty().append(data);
}

In general you should avoid creating outside functions inside the
document.ready function for cleanliness if nothing else.



Rick Faircloth wrote:
 
 Hi, Daemach...
 
 I've been working with the various suggestions I've gotten and
 have made some progress.  I had to spend most of yesterday
 trying to figure out why my computer wouldn't boot.  Finally
 isolated a software problem with a virtual CD emulator.  Deleted
 that and all is well.
 
 Now with my code...
 
 The outcome I'm looking for now is to have the error message appear
 above each form field.  Here's an online demo of what's happening:
 
 http://bodaford.whitestonemedia.com/html/trial_field_validation.cfm
 
 I get duplicate error messages and in the wrong spots...
 I don't know how to combine the elements to make
 them function properly.  Any ideas?
 
 Thanks!
 
 Rick
 
 Here's the code...
 
 script type=text/javascript
 
   $(document).ready(function(){
 
   $(#Principal).blur(function(){ 
   $.post(callpage_Validate_Mortgage_Inputs.cfm,
 {principal:$(#Principal).val()}, handleCallback) });
   
   $(#Interest).blur(function(){
   
 $.post(callpage_Validate_Mortgage_Inputs.cfm,{interest:$(#Interest).val(
 )}, handleCallback) });
   
   $(#Years).blur(function(){
   
 $.post(callpage_Validate_Mortgage_Inputs.cfm,{years:$(#Years).val()},
 handleCallback) });
   
   function handleCallback(data) {
   
 $(#Result_Principal).empty().appendTo(#Result_Principal).append(data);
   
 $(#Result_Interest).empty().appendTo(#Result_Interest).append(data);
   
 $(#Result_Years).empty().appentTo(#Result_Years).append(data);
 
   }
   
   });
 
   
 
 /script
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Daemach
 Sent: Thursday, March 15, 2007 12:26 AM
 To: discuss@jquery.com
 Subject: Re: [jQuery] Ok... one last effort to make this work... help!
 
 
 Did you get this working Rick?
 
 
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Ok...-one-last-effort-to-make-this-work...-help%21-tf3399722.html#a9495623
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] bgiframe update, sneak peak

2007-03-15 Thread Aaron Heimlich

On 3/15/07, agent2026 [EMAIL PROTECTED] wrote:



Thanks for the help, that's what I thought.  I've never really tried to
use
SVN.  Is there a frontend you recommend?



On Windows, there's TortoiseSVN[1], which integrates directly into the
Explorer shell. If you're working in Eclipse there's Subclipse[2] (which I
use regularly and works wonderfully) and Subversive (which I haven't used).


[1] http://tortoisesvn.tigris.org/
[2]
http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink-cid-47.html
[3]http://www.eclipseplugincentral.com/Web_Links-
index-req-viewlink-cid-611.html

--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Local XML

2007-03-15 Thread Dmitrii 'Mamut' Dimandt
Thank you! I will look into that!

Daemach wrote:
 You might find some clues here - this is taken from Mike Alsup's most
 excellent taconite plugin (http://www.malsup.com/jquery/taconite/):

 if (typeof xml == 'string')
 xml = $.taconite.convert(xml);



 // convert string to xml document
 $.taconite.convert = function(s) {
 var doc;
 $.taconite.log('attempting string to document conversion');
 try {
 if (window.ActiveXObject) {
 doc = new ActiveXObject('Microsoft.XMLDOM');
 doc.async = 'false';
 doc.loadXML(s);
 }
 else {
 var parser = new DOMParser();
 doc = parser.parseFromString(s, 'text/xml');
 }
 }
 catch(e) {
 if (window.console  window.console.error)
 window.console.error('[taconite] ERROR parsing XML string for
 conversion: ' + e);
 throw e;
 }
 var ok = doc  doc.documentElement  doc.documentElement.tagName !=
 'parsererror';
 $.taconite.log('conversion ', ok ? 'successful!' : 'FAILED');
 return doc;
 };



 Dmitrii  wrote:
   
 Anyone? Help! :)

 Dmitrii 'Mamut' Dimandt wrote:
 
 Yup. This works under FF and Opera. Under IE this fails. The returned
 data is of type object the is not enumerable (hence I cannot see it's
 properties using, for instance, DP_Dump).

 :(

 Benjamin Sterling wrote:
   
 I would use the $.ajax function and set the dateType to xml.


 -- 
 Benjamin Sterling
 http://www.KenzoMedia.com
 http://www.KenzoHosting.com http://www.KenzoHosting.com
 

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
   
 
 

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
   
   
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


 

   

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] bgiframe update, sneak peak

2007-03-15 Thread Jonathan Sharp

On 3/15/07, agent2026 [EMAIL PROTECTED] wrote:



Thanks for the help, that's what I thought.  I've never really tried to
use
SVN.  Is there a frontend you recommend?



I got beat to the reply... I'll post a Mac client:
http://www.lachoseinteractive.net/en/community/subversion/svnx/features/

Cheers,
-js


Adam




Jonathan Sharp wrote:

 jQuery uses SVN (Subversion) to control and track changes to the code.
SVN
 projects are usually setup with a trunk and a tags folder.

 Brandon does all of his work in the trunk folder which will always have
 the
 latest and greatest and maybe some features that aren't stable. Once he
 gets
 the trunk to a stable point and wants to release it he will tag (or
 checkpoint (or copy)) the trunk to say tags/1.0.0. Then any changes he
 makes
 to trunk will not change any of the code at tags/1.0.0.

 So this helps in tracking specific releases as we can look at the tags
 folder and see the individual releases and ignore all the minor and
 experimental changes to trunk.

 Hope this makes sense!

 Cheers,
 -Jonathan



--
View this message in context:
http://www.nabble.com/bgiframe-update%2C-sneak-peak-tf3402941.html#a9495305
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] *New jQuery plugin* - autoSave

2007-03-15 Thread Daemach

I just did Sam, thank you. 


Sam Collett wrote:
 
 On 15/03/07, Daemach [EMAIL PROTECTED] wrote:

 To try and master jQuery I've been playing with a few ideas.  I decided
 to
 flesh this one out for use on one of my sites and in hopes it can benefit
 someone else as well I'm making it available.  Depending on your view of
 network traffic this may have limited potential for you, but it's free so
 no
 complaining ;)

 autoSave will automatically submit individual fields in a form as you
 make
 changes, preventing users from losing form data should the power fail, or
 they get called away to watch the last 3 tivo'd episodes of 24 as their
 browser session expires.  Its most useful potential is for quick editing
 database records but you can use it for just about anything.

 You call it using $(yourFormInputs).autoSave( Function, Map ); and
 that's
 pretty much it.  You just need to write the backend handler to deal with
 the
 field data as it hits the server.  I'll post some tricks I use with Cold
 Fusion on the blog I set up later.

 A basic example using pure jQuery:

 $(document).ready(function(){
 $(:input).autoSave(function(){
 var ele = new Object();
 // remember that this function runs in the scope of the element
 itself.
 ele[this.name] = (this.type ==checkbox) ? this.value + | +
 this.checked : this.value;
 $.post(test.cfm, ele, function (data)
 {$(#ResultDiv).empty().append(data);} )
 });
 });

 You can read more about it here:
 http://daemach.blogspot.com/2007/03/autosave-jquery-plugin.html
 --
 
 Looks good and hopefully may have some improvements in the future.
 
 OT:
 (to Daemach)
 By the way, did you get my email (I sent one a while ago and you may
 not have got it, and I'm not sure if you got my latest one).
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/*New-jQuery-plugin*---autoSave-tf3406522.html#a9495624
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] *New jQuery plugin* - autoSave

2007-03-15 Thread Daemach

It's possible - I need to give it some thought.  For the moment, though, you
can select all inputs inside a given form like this:

$(:input,#yourformid).autoSave(function);


Jake McGraw wrote:
 
 Any way we could get this attached to whole form elements? Something like:
 
 $(form).autoSave()?
 
 and use jQuery's magic (meaning your meticulous programming skills),
 to process all input types within the form?
 
 - jake
 
 
 On 3/15/07, matt2012 [EMAIL PROTECTED] wrote:

 this looks great a few working examples would really be appreciated

 Matt.
 --
 View this message in context:
 http://www.nabble.com/*New-jQuery-plugin*---autoSave-tf3406522.html#a9490927
 Sent from the JQuery mailing list archive at Nabble.com.


 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/

 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/*New-jQuery-plugin*---autoSave-tf3406522.html#a9495712
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Local XML

2007-03-15 Thread Dmitrii 'Mamut' Dimandt
The key is 'local' :)

I need a local HTML file loading local XML files :)

Ⓙⓐⓚⓔ wrote:
 what kind of header are you getting?

 The $.ajax complete call back gives back the entire request, including
 the headers,

 (Function) complete - A function to be called when the request
 finishes. The function gets passed two arguments: The XMLHttpRequest
 object and a string describing the type of success of the request.

 Whereas the success call back gives you whatever it got!

 On 3/14/07, Mike Alsup [EMAIL PROTECTED] wrote:
   
 However, if XML is loaded through .get, it is passed to the
 processing function as text, not as a document.
   
 That is not true.  If the server returns an XML document, that's what
 is passed to your success handler.  You need to make sure your server
 is setting the response content type to XML.

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/

 


   

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] *New jQuery plugin* - autoSave

2007-03-15 Thread Daemach

You can look here for a live demo until I can get something better on my
blog:

http://beta.missionincrease.org/jQuery/autosave_example.cfm



matt2012 wrote:
 
 this looks great a few working examples would really be appreciated
 
 Matt.
 

-- 
View this message in context: 
http://www.nabble.com/*New-jQuery-plugin*---autoSave-tf3406522.html#a9495939
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Dmitrii 'Mamut' Dimandt
That's easy :)

Spend 2-6 weeks doing nothing, pretending you're busy working on your
code. In the mean time get to know internals of jQuery really well.

Then on some sunny afternoon take the jQuery library and do the
following: Search and Replace jQuery with, say, JSUtilityLib or
something that will suit the government :)

Go on with your work as if nothing ever happened :)

Benjamin Sterling wrote:
 sorry about that hit the submit button :)

 back to my story


 Because this will be on a government server, they don't want anything
 other then basic javascript, I can explain the whole discussion with
 the client but this message would be to long and either way the result
 would be that I can use any frameworks.

 So I take a look at the specs and my brain just goes limp.. I
 CAN'T THINK OF HOW I WOULD DO THIS WITH OUT JQUERY..

 it is a sad sad world  all because of my dependency of the crack
 that is jQuery...

 The end..

 -- 
 Benjamin Sterling
 http://www.KenzoMedia.com
 http://www.KenzoHosting.com
 

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
   

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] *New jQuery plugin* - autoSave

2007-03-15 Thread Christopher Jordan

Daemach... that's pretty sweet! :o)

Chris

Daemach wrote:

You can look here for a live demo until I can get something better on my
blog:

http://beta.missionincrease.org/jQuery/autosave_example.cfm



matt2012 wrote:
  

this looks great a few working examples would really be appreciated

Matt.




  


--
http://www.cjordan.us

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Christopher Jordan
This is a government project. Late and over budget is their middle 
name. What sort of garbage is the security reasons excuse. It sounds 
like someone is making decisions who doesn't know what the h*** they're 
talking about. Give me a freakin' break! That's like some clients who 
don't want to use something open source because they didn't have to pay 
for it. I just don't understand that mentality.


I say do it in jQuery anyway. If they said, no frameworks then you're 
golden. Tell them it's not a framework, but a library. Tell them it 
would be akin to asking you to build a program in C without using 
stdio.h or something similar. That or tell them because of their *silly* 
restriction the project is going to take two to three times as long and 
cost them that much more.


Morons. *sigh*

Chris

Jonathan Chaffer wrote:

On Mar 14, 2007, at 20:49 , Benjamin Sterling wrote:

Because this will be on a government server, they don't want anything 
other then basic javascript, I can explain the whole discussion with 
the client but this message would be to long and either way the 
result would be that I can use any frameworks.


So I take a look at the specs and my brain just goes limp.. I 
CAN'T THINK OF HOW I WOULD DO THIS WITH OUT JQUERY..


it is a sad sad world  all because of my dependency of the crack 
that is jQuery... 


I've been exactly there. Had a project with a very fast turnaround, 
but thought, Hey, this is easy; jQuery to the rescue! It wasn't 
until we presented the working result to the client well within the 
deadline that we were informed that third-party libraries were not 
allowed for security reasons. Yikes! I had your reaction exactly. I 
was at a loss for how to even start writing the code without $() at my 
fingertips. We finished the project using only homespun code, but late 
and over budget of course.


--

Jonathan Chaffer

Technology Officer, Structure Interactive

(616) 364-7423http://www.structureinteractive.com/






___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/
  


--
http://www.cjordan.us

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] window.undefined = undefinedundefined?

2007-03-15 Thread Daemach

Thanks - that makes sense.

I was viewing it in firebug.  It actually did say just undefined until I
clicked on the value and it opened to an editable string that said
undefinedundefined.  Might be a firebug...bug.


Michael Geary wrote:
 
 I was poking around the DOM looking for incorrectly scoped 
 variables and I found the following node:
 
 window.undefined = undefinedundefined
 
 What is this for?
 
 The window object has a property named undefined whose value is the
 undefined value.
 
 IOW, when you run code like this:
 
 if( foo === undefined ) alert( 'foo is undefined' );
 
 What you are really doing is the same as:
 
 if( foo === window.undefined ) alert( 'foo is undefined' );
 
 I don't know what tool you are using to view the DOM or why it says that
 window.undefined has a value of undefinedundefined. That sounds like a
 bug
 in the DOM viewer, unless this code has been executed, which seems
 unlikely:
 
 window.undefined = undefinedundefined;
 
 -Mike
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/window.undefined-%3D-%22undefinedundefined%22--tf3405952.html#a9496029
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] jQuery and non-jQuery events

2007-03-15 Thread Mladen Jablanović

Hi everybody,

I would be very grateful if someone could explain to me behaviour of the
following simple piece of code, which is from my perspective a bit strange:

!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml; 
head
   titleUntitled Page/title
script type=text/javascript src=jquery.js/script
script type=text/javascript

$(function() {
   $('#btn1').click(
   function() {
   alert('btn1 clicked');
   }
   );
   $('#btn3').click(
   function() {
   alert('btn3 clicked');
   $('#btn1').click();
   $('#btn1').get(0).onclick();
   $('#btn1').get(0).click();
   $('#btn2').click();
   $('#btn2').get(0).onclick();
   $('#btn2').get(0).click();
   }
   );

});

function btn2Click() {
   alert('btn2 clicked');
}
/script
/head
body
   input type=button id=btn1 value=btn1 /
   input type=button id=btn2 value=btn2 onclick=btn2Click() /
   input type=button id=btn3 value=btn3 /
/body
/html

The same page could be found at:

http://radioni.ca/jquery-click.html

so you can try it out yourselves.

Click on the third button causes following alerts to be displayed:

  1. btn3 clicked
  2. btn1 clicked
  3. btn1 clicked
  4. btn2 clicked
  5. btn2 clicked
  6. btn2 clicked
  7. btn2 clicked

Why btn1 only twice, and btn2 even four times? (Note: is behaviour from
Firefox, seems like IE behaves slightly different. Let's stay with FF for
some time)

Thanks in advance, I am not asking this just for fun, I have problems with
submit event and I have created this code to simplify and illustrate.
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] web services/api - jscript invocation

2007-03-15 Thread Daemach

Do you have access to ColdFusion as a backend?  If so, there is already a
jquery/javascript framework called ajaxCFC that handles the heavy lifting
for you.  You can pass data and complex objects back and forth with ease.

You also mentioned a separate web app - keep in mind that you can only
make ajax calls to a web service on the same domain your web app came from,
though that web service can act as a proxy to pull information from other
servers...


Bruce-34 wrote:
 
 Hi.
 
 I'm looking for a sample code/site that really walks through the entire
 process of creating a sample website that exposes a test api/web service.
 
 I'm looking to create a test app that demonstrates a test web app, as well
 as an api for the app. I'd then like to be able to implement the api in
 jscript from a separate web app, to invoke the api from a separate web
 app.
 
 In searching google, I haven't found what I'm looking for. I've seen
 various
 sites that discuss apis of other companies (google, yahoo, flickr, etc...)
 but nothing that actually walks the user though how to create this process
 from the beginning to the end...
 
 If you have any pointers, let m eknow.
 
 Thanks
 
 -Bruce
 [EMAIL PROTECTED]
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/web-services-api---jscript-invocation-tf3408500.html#a9496179
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Ok... one last effort to make this work... help!

2007-03-15 Thread Rick Faircloth
Thanks for the help, Daemach!

I'll have a look at implementing this shortly...got to run see
a client.  (Boy...if weren't for clients, I have enough time to code!  :o)

Rick

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Daemach
Sent: Thursday, March 15, 2007 10:29 AM
To: discuss@jquery.com
Subject: Re: [jQuery] Ok... one last effort to make this work... help!


In this case you are handling each of the  results differently so you could
do it by putting anonymous functions directly in the post callbacks like
this: 

$(document).ready(function(){

$(#Principal).blur(function(){ 
$.post(callpage_Validate_Mortgage_Inputs.cfm,
{principal:$(#Principal).val()}, function (data)
{$(#Result_Principal).empty().append(data) } ) });

$(#Interest).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{interest:$(#Interest).val(
)},
function (data) {$(#Result_Interest).empty().append(data) }) });

$(#Years).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{years:$(#Years).val()},
function (data) {$(#Result_Years).empty().append(data) }) });

});

OR you could pass the target div to an outside function like this:

$(document).ready(function(){

$(#Principal).blur(function(){ 
$.post(callpage_Validate_Mortgage_Inputs.cfm,
{principal:$(#Principal).val()}, function (data) {
handleCallback(Principal,data); }) });

$(#Interest).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{interest:$(#Interest).val(
)},
function (data) { handleCallback(Interest,data); }) });

$(#Years).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{years:$(#Years).val()},
function (data) { handleCallback(Years,data); }) });

});

function handleCallback(target,data) {
$(#Result_ + target).empty().append(data);
}

In general you should avoid creating outside functions inside the
document.ready function for cleanliness if nothing else.





___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Benjamin Sterling

I was actually going to do Mamut's idea or a version of it.  Since they
don't know what jquery is,  I think I can get away with it.  I would
probably take things out that I wont be using, but I will cross that bridge
when I get there.

--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] bgiframe update, sneak peak

2007-03-15 Thread Karl Swedberg
and on the mac side, TextMate has a subversion bundle built right in.  
It's a beautiful thing.


http://macromates.com


--Karl
_
Karl Swedberg
www.englishrules.com
www.learningjquery.com



On Mar 15, 2007, at 10:26 AM, Aaron Heimlich wrote:


On 3/15/07, agent2026 [EMAIL PROTECTED] wrote:

Thanks for the help, that's what I thought.  I've never really  
tried to use

SVN.  Is there a frontend you recommend?

On Windows, there's TortoiseSVN[1], which integrates directly into  
the Explorer shell. If you're working in Eclipse there's Subclipse 
[2] (which I use regularly and works wonderfully) and Subversive  
(which I haven't used).



[1] http://tortoisesvn.tigris.org/
[2] http://www.eclipseplugincentral.com/Web_Links-index-req- 
viewlink-cid-47.html
[3]http://www.eclipseplugincentral.com/Web_Links-index-req-viewlink- 
cid-611.html


--
Aaron Heimlich
Web Developer
[EMAIL PROTECTED]
http://aheimlich.freepgs.com
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery and non-jQuery events

2007-03-15 Thread Rob Desbois



Hi Mladen,

This looks reminiscent of problems I've
 been having the last few days with 
 versus .click(fn) for setting the click event
 for elements. My problem occurred in Firefox
 and not IE.

Bug report for mine is here: http://dev.jquery.com/ticket/1043#preview

I was trying to change the click handler
 at runtime for elements whose original handlers
 were set with the onclick attribute, the
 only way I foudn to prevent the fault was
 not to use that and to only use $("...").click(fn)
 instead.

HTH,
rob
 Hi everybody,I
 would be very grateful if someone could explain
 to me behaviour of the following simple piece
 of code, which is from my perspective a bit
 strange:!DOCTYPE html PUBLIC
 "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
 html xmlns="http://www.w3.org/1999/xhtml"
 headtitleUntitled
 Page/titlescript type="text/_javascript_"
 src=""/scriptscript
 type="text/_javascript_"$(function()
 { $('#btn1').click(function()
 {alert('btn1
 clicked');});$('#btn3').click(function()
 {alert('btn3
 clicked');$('#btn1').click();
 $('#btn1').get(0).onclick();$('#btn1').get(0).click();$('#btn2').click();$('#btn2').get(0).onclick();$('#btn2').get(0).click();
 });
 }); function
 btn2Click() {alert('btn2
 clicked');}/script/headbodyinput
 type="button" id="btn1" value="btn1" /
 input type="button"
 id="btn2" value="btn2" 
 / input type="button"
 id="btn3" value="btn3" //body/htmlThe
 same page could be found at:http://radioni.ca/jquery-click.htmlso
 you can try it out yourselves.Click
 on the third button causes following alerts
 to be displayed: * btn3 clicked* btn1
 clicked* btn1 clicked* btn2 clicked* btn2
 clicked* btn2 clicked* btn2 clickedWhy btn1
 only twice, and btn2 even four times? (Note:
 is behaviour from Firefox, seems like IE
 behaves slightly different. Let's stay with
 FF for some time) Thanks in advance,
 I am not asking this just for fun, I have
 problems with submit event and I have created
 this code to simplify and illustrate.__This
 email has been scanned by the MessageLabs
 Email Security System.For more information
 please visit http://www.messagelabs.com/email
 __

--- Original
 Message ---

From:"Mladen Jablanovic"
 [EMAIL PROTECTED]
To:discuss@jquery.com
Date:Thu, 15 Mar 2007 15:59:08
 +0100
Subject:[jQuery] jQuery
 and non-jQuery events
Hi everybody,I
 would be very grateful if someone could explain
 to me behaviour of the following simple piece
 of code, which is from my perspective a bit
 strange:!DOCTYPE html
 PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"
 html
 xmlns="http://www.w3.org/1999/xhtml"
 head
 titleUntitled Page/titlescript
 type="text/_javascript_" src=""/scriptscript
 type="text/_javascript_"$(function() {
 
 $('#btn1').click(
  function() {
   alert('btn1
 clicked');
  }
 );
 $('#btn3').click(
  function() {
   alert('btn3
 clicked');
   $('#btn1').click();
 
   $('#btn1').get(0).onclick();
   $('#btn1').get(0).click();
   $('#btn2').click();
   $('#btn2').get(0).onclick();
   $('#btn2').get(0).click();
 
  }
 ); 
 });
 function
 btn2Click() {
 alert('btn2 clicked');}/script/headbody
 input type="button" id="btn1" value="btn1"
 / 
 input type="button" id="btn2" value="btn2"
  / 
 input type="button" id="btn3" value="btn3"
 //body/htmlThe
 same page could be found at:http://radioni.ca/jquery-click.htmlso
 you can try it out yourselves.Click
 on the third button causes following alerts
 to be displayed: 

btn3 clicked
btn1 clicked
btn1 clicked
btn2 clicked
btn2 clicked
btn2 clicked
btn2 clickedWhy btn1 only twice,
 and btn2 even four times? (Note: is behaviour
 from Firefox, seems like IE behaves slightly
 different. Let's stay with FF for some time)
 Thanks in advance, I am not asking
 this just for fun, I have problems with submit
 event and I have created this code to simplify
 and illustrate.__This
 email has been scanned by the MessageLabs
 Email Security System.For more information
 please visit http://www.messagelabs.com/email
 __


___jQuery
 mailing listdiscuss@jquery.comhttp://jquery.com/discuss/

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__




___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Klaus Hartl
Benjamin Sterling schrieb:
 I was actually going to do Mamut's idea or a version of it.  Since they 
 don't know what jquery is,  I think I can get away with it.  I would 
 probably take things out that I wont be using, but I will cross that 
 bridge when I get there.

At least you're allowed to use JavaScript. On one of my governmental 
projects we weren't, because it is evil. You know why, accesibility 
and all that, never heard of Progressive Enhancement...



-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Ok... one last effort to make this work... help!

2007-03-15 Thread Rick Faircloth
It working well, Daemach!

I've just got to tweak my Regex's to provide better validation
statements in ColdFusion.

Mine aren't quite proper for the Interest Rate (need digits and periods
only)
and for years (need digits only).

Ajax is quite exciting to be able to send data for processing with
refreshing the page!
I see a *lot* of possibilities well beyond just validating, such as using
form fields
for querying against data, etc.

Once I get the principles of how jQuery works and the syntax to implement,
I'll be off and running!

Thanks for your help!

Rick

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Daemach
Sent: Thursday, March 15, 2007 10:29 AM
To: discuss@jquery.com
Subject: Re: [jQuery] Ok... one last effort to make this work... help!


In this case you are handling each of the  results differently so you could
do it by putting anonymous functions directly in the post callbacks like
this: 

$(document).ready(function(){

$(#Principal).blur(function(){ 
$.post(callpage_Validate_Mortgage_Inputs.cfm,
{principal:$(#Principal).val()}, function (data)
{$(#Result_Principal).empty().append(data) } ) });

$(#Interest).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{interest:$(#Interest).val(
)},
function (data) {$(#Result_Interest).empty().append(data) }) });

$(#Years).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{years:$(#Years).val()},
function (data) {$(#Result_Years).empty().append(data) }) });

});

OR you could pass the target div to an outside function like this:

$(document).ready(function(){

$(#Principal).blur(function(){ 
$.post(callpage_Validate_Mortgage_Inputs.cfm,
{principal:$(#Principal).val()}, function (data) {
handleCallback(Principal,data); }) });

$(#Interest).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{interest:$(#Interest).val(
)},
function (data) { handleCallback(Interest,data); }) });

$(#Years).blur(function(){

$.post(callpage_Validate_Mortgage_Inputs.cfm,{years:$(#Years).val()},
function (data) { handleCallback(Years,data); }) });

});

function handleCallback(target,data) {
$(#Result_ + target).empty().append(data);
}

In general you should avoid creating outside functions inside the
document.ready function for cleanliness if nothing else.



Rick Faircloth wrote:
 
 Hi, Daemach...
 
 I've been working with the various suggestions I've gotten and
 have made some progress.  I had to spend most of yesterday
 trying to figure out why my computer wouldn't boot.  Finally
 isolated a software problem with a virtual CD emulator.  Deleted
 that and all is well.
 
 Now with my code...
 
 The outcome I'm looking for now is to have the error message appear
 above each form field.  Here's an online demo of what's happening:
 
 http://bodaford.whitestonemedia.com/html/trial_field_validation.cfm
 
 I get duplicate error messages and in the wrong spots...
 I don't know how to combine the elements to make
 them function properly.  Any ideas?
 
 Thanks!
 
 Rick
 
 Here's the code...
 
 script type=text/javascript
 
   $(document).ready(function(){
 
   $(#Principal).blur(function(){ 
   $.post(callpage_Validate_Mortgage_Inputs.cfm,
 {principal:$(#Principal).val()}, handleCallback) });
   
   $(#Interest).blur(function(){
   

$.post(callpage_Validate_Mortgage_Inputs.cfm,{interest:$(#Interest).val(
 )}, handleCallback) });
   
   $(#Years).blur(function(){
   
 $.post(callpage_Validate_Mortgage_Inputs.cfm,{years:$(#Years).val()},
 handleCallback) });
   
   function handleCallback(data) {
   
 $(#Result_Principal).empty().appendTo(#Result_Principal).append(data);
   
 $(#Result_Interest).empty().appendTo(#Result_Interest).append(data);
   
 $(#Result_Years).empty().appentTo(#Result_Years).append(data);
 
   }
   
   });
 
   
 
 /script
 
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Daemach
 Sent: Thursday, March 15, 2007 12:26 AM
 To: discuss@jquery.com
 Subject: Re: [jQuery] Ok... one last effort to make this work... help!
 
 
 Did you get this working Rick?
 
 
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context:
http://www.nabble.com/Ok...-one-last-effort-to-make-this-work...-help%21-tf3
399722.html#a9495623
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/



___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] event reattach

2007-03-15 Thread Brandon Aaron
You might also find the copyEvents plugin useful. It provides three
methods: copyEvents, copyEventsTo and cloneWithEvents. You can find
the docs inline and an example in the unit test.

http://brandon.jquery.com/plugins/copyEvents/

--
Brandon Aaron

On 3/15/07, Kush Murod [EMAIL PROTECTED] wrote:
 Hi,

 example:

 $('.buttons').click... attached an event

 at some stage I've replaced one of many '.buttons' using $.get/$.post
 via html(newButton)
 new button does not have click event attached anymore

 what's the best way to keep or re-attach event(s)

 Cheers,

 --
 Kush Murod, Web applications developer
 Sensory Networks
 [E] [EMAIL PROTECTED]
 [W] www.sensorynetworks.com
 [T] +61 2 8302 2745
 [F] +61 2 9475 0316
 [A] Level 6, 140 William Street East Sydney 2011


 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] changing default thickbox behavior

2007-03-15 Thread Paul
Is there a way to modify the default Thickbox behavior?  I don't want the
user to be able to dismiss the TB window by clicking the overlay or a close
link-I want to programmatically close it based on user input within the TB
window.

 

Thanks,

 

Paul

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Glen Lipka

Can you rename it to RegularJSHelperFunctions.js and tell them you wrote it
yourself?

I'm on a project now that I cant use jQuery.  They use YUI.  I feel like I
lost my right arm.
I can't do simple things.

Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Christopher Jordan
There was a web developer that my client hired to do some graphic 
design stuff really, and she tried to convince them that javaScript was 
evil. I think folks who do that sort of thing are just afraid of 
something they don't understand. Or they think it's too hard, so they 
try to convince all their client's that it's inherently bad.

Jeepers... *sigh*

Chris

Klaus Hartl wrote:
 Benjamin Sterling schrieb:
 I was actually going to do Mamut's idea or a version of it.  Since they 
 don't know what jquery is,  I think I can get away with it.  I would 
 probably take things out that I wont be using, but I will cross that 
 bridge when I get there.
 
 At least you're allowed to use JavaScript. On one of my governmental 
 projects we weren't, because it is evil. You know why, accesibility 
 and all that, never heard of Progressive Enhancement...
 
 
 
 -- Klaus
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 

-- 
http://www.cjordan.us

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Benjamin Sterling

Javascript isn't bad it's jquery that is bad.  I've seen whole cities go
under because of it.  First it's just a few kids experimenting, trying to
have a good time.  No harm right?  Well, they get other kids involved, and
those kids get other kids, before you know it, the parks are filled with
kids doing it.  Then you see the older ones seeing the kids having all this
fun and wham, they try to put a stop to it.  Now you get people trying to do
it on the down-low and in alley ways, hiding in the shadows.  And you say, I
can stop any time I want and you do... for a little bit... then you wife
walks in on you, the arguments start.  Next thing you know, your living in
an abandoned house willing to do anything for it.  Breaking into other
peoples house just to use their computer so you can feed your need.  And you
think this is only happening to me.  Then you open your eyes and you see
a whole community doing it
--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] changing default thickbox behavior

2007-03-15 Thread Rob Desbois



Paul,

Short answer -- yes, modify the code
 ;-)
To prevent closing by clicking on the
 overlay and remove the 'close' link (better
 IMHO than just disabling it), remove line
 38:
 $("#TB_overlay").click(TB_remove);

remove the TB_closeWindow div
 from line 133:
 $("#TB_window").append("a
 href='' id='TB_ImageOff' title='Close'img
 id='TB_Image' src='' width='"+imageWidth+"'
 height='"+imageHeight+"' alt='"+caption+"'//a"
 + "div id='TB_caption'"+caption+"div
 id='TB_secondLine'" + imageCount + prev.html
 + next.html + "/div/div");

remove line 135:
 $("#TB_closeWindowButton").click(TB_remove);

remove the TB_closeAjaxWindow div
 from line 205:
 $("#TB_window").append("div
 id='TB_title'div id='TB_ajaxWindowTitle'"+caption+"/div/diviframe
 frameborder='0' hspace='0' src=''
 id='TB_iframeContent' name='TB_iframeContent'
 style='width:"+(ajaxContentW + 29)+"px;height:"+(ajaxContentH
 + 17)+"px;' 
 /iframe");

and 207:
 $("#TB_window").append("div
 id='TB_title'div id='TB_ajaxWindowTitle'"+caption+"/div/divdiv
 id='TB_ajaxContent' style='width:"+ajaxContentW+"px;height:"+ajaxContentH+"px;'/div");

remove line 210:
 $("#TB_closeWindowButton").click(TB_remove);
and remove lines 258-259:
 $("#TB_overlay").unbind("click");
 $("#TB_closeWindowButton").unbind("click");


Thickbox also has a keydown handler
 so that if you push 'escape' it closes. Remove
 lines 236-245 to prevent this:
 document.
 
 if (e == null) { // ie
 keycode = event.keyCode;
 } else { // mozilla
 keycode = e.which;
 } if(keycode
 == 27){ // close
 TB_remove();
 } }


To add the 'close' functionality to
 something, do this:
 $("#myTbCloseButton").click(TB_remove);


I've heavily customised TB to my own
 purposes over the last few days, hence a
 slight familiarity with the code :-D
Hope that helps,
rob


 Is there a
 way to modify the default Thickbox behavior?
 I dont want the user to be able
 to dismiss the TB window by clicking the
 overlay or a close linkI want to programmatically
 close it based on user input within the TB
 window. Thanks, Paul
 __This
 email has been scanned by the MessageLabs
 Email Security System.For more information
 please visit http://www.messagelabs.com/email
 __

--- Original
 Message ---

From:"Paul" [EMAIL PROTECTED]
To:"'jQuery Discussion.'"
 discuss@jquery.com
Date:Thu, 15 Mar 2007 08:37:21
 -0700
Subject:[jQuery] changing
 default thickbox behavior


Is
 there a way to modify the default Thickbox
 behavior? I dont want the user
 to be able to dismiss the TB window by clicking
 the overlay or a close linkI want
 to programmatically close it based on user
 input within the TB window.

Thanks,

Paul__This
 email has been scanned by the MessageLabs
 Email Security System.For more information
 please visit http://www.messagelabs.com/email
 __


___jQuery
 mailing listdiscuss@jquery.comhttp://jquery.com/discuss/

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__




___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Rob Desbois
Or that their only experience of JavaScript has been riddled with problems due 
to browser incompatibility problems.
There've been times I've cursed JS for these. Granted, the problem is the 
browsers' implementations, but it's still enough to make you say 'Javascript is 
evil' IMHO.

Good conversation anyway -- and I agree, just rename it from jQuery to 
something else and use it. The people against it are unlikely to have any solid 
basis for the dislike.

Rob.

 There was a web developer that my client hired to do some graphic 
design stuff really, and she tried to convince them that javaScript was 
evil. I think folks who do that sort of thing are just afraid of 
something they don't understand. Or they think it's too hard, so they 
try to convince all their client's that it's inherently bad.

Jeepers... *sigh*

Chris

Klaus Hartl wrote:
 Benjamin Sterling schrieb:
 I was actually going to do Mamut's idea or a version of it.  Since they 
 don't know what jquery is,  I think I can get away with it.  I would 
 probably take things out that I wont be using, but I will cross that 
 bridge when I get there.
 
 At least you're allowed to use JavaScript. On one of my governmental 
 projects we weren't, because it is evil. You know why, accesibility 
 and all that, never heard of Progressive Enhancement...
 
 
 
 -- Klaus
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 

-- 
http: //www.cjordan.us

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__




-- Original Message --

FROM:  Christopher Jordan [EMAIL PROTECTED]
TO:jQuery Discussion. discuss@jquery.com
DATE:  Thu, 15 Mar 2007 10:44:13 -0500

SUBJECT:   Re: [jQuery] the pitfalls of jquery

There was a web developer that my client hired to do some graphic 
design stuff really, and she tried to convince them that javaScript was 
evil. I think folks who do that sort of thing are just afraid of 
something they don't understand. Or they think it's too hard, so they 
try to convince all their client's that it's inherently bad.

Jeepers... *sigh*

Chris

Klaus Hartl wrote:
 Benjamin Sterling schrieb:
 I was actually going to do Mamut's idea or a version of it.  Since they 
 don't know what jquery is,  I think I can get away with it.  I would 
 probably take things out that I wont be using, but I will cross that 
 bridge when I get there.
 
 At least you're allowed to use JavaScript. On one of my governmental 
 projects we weren't, because it is evil. You know why, accesibility 
 and all that, never heard of Progressive Enhancement...
 
 
 
 -- Klaus
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 

-- 
http: //www.cjordan.us

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Rick Faircloth
What concerns about js are valid?

Just accessibility?

Poorly written code causes problems or
does js have certain inherent risks?

Rick

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Christopher Jordan
Sent: Thursday, March 15, 2007 11:44 AM
To: jQuery Discussion.
Subject: Re: [jQuery] the pitfalls of jquery

There was a web developer that my client hired to do some graphic 
design stuff really, and she tried to convince them that javaScript was 
evil. I think folks who do that sort of thing are just afraid of 
something they don't understand. Or they think it's too hard, so they 
try to convince all their client's that it's inherently bad.

Jeepers... *sigh*

Chris





___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] JQuery Form plugin

2007-03-15 Thread George Moschovitis
Dear devs,

I am using the JQuery forms plugin and I have a problem. I would like
to post a form that containse a file, ie I have to use
enctype=multipart/form-data. How can I set this up when using
ajaxForm()?

Is there an example how you can upload files using ajaxForm()?

thanks in advance for any help,
George.

-- 
http://blog.gmosx.com
http://cull.gr
http://nitroproject.org
http://www.joy.gr

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Joel Birch
On 16/03/2007, at 3:00 AM, Benjamin Sterling wrote:
 Javascript isn't bad it's jquery that is bad.  I've seen whole  
 cities go under because of it.  First it's just a few kids  
 experimenting, trying to have a good time.  No harm right?  Well,  
 they get other kids involved, and those kids get other kids, before  
 you know it, the parks are filled with kids doing it.  Then you see  
 the older ones seeing the kids having all this fun and wham, they  
 try to put a stop to it.  Now you get people trying to do it on the  
 down-low and in alley ways, hiding in the shadows.  And you say, I  
 can stop any time I want and you do... for a little bit... then  
 you wife walks in on you, the arguments start.  Next thing you  
 know, your living in an abandoned house willing to do anything for  
 it.  Breaking into other peoples house just to use their computer  
 so you can feed your need.  And you think this is only happening to  
 me.  Then you open your eyes and you see a whole community  
 doing it

You're a nut. And I like it. ;)

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] web services/api - jscript invocation

2007-03-15 Thread bruce
Hi.

Thanks for the reply. Nope, don't have Cold Fusion (CF). I'm doing this on
apache/php. I'm aware of the cross-domain limitations, and I'm trying to
figure out how to resolve this. Using a proxy server on the 3rd party web
server is not acceptable. If I create a widget that I wnat to allow other
sites to use/install, I can't simply tell them to create a proxy server on
their site!!!

Has to be a way to do this given the proliferation of widgets that
communicate back to their origin servers...

thanks

-bruce


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Daemach
Sent: Thursday, March 15, 2007 7:53 AM
To: discuss@jquery.com
Subject: Re: [jQuery] web services/api - jscript invocation



Do you have access to ColdFusion as a backend?  If so, there is already a
jquery/javascript framework called ajaxCFC that handles the heavy lifting
for you.  You can pass data and complex objects back and forth with ease.

You also mentioned a separate web app - keep in mind that you can only
make ajax calls to a web service on the same domain your web app came from,
though that web service can act as a proxy to pull information from other
servers...


Bruce-34 wrote:

 Hi.

 I'm looking for a sample code/site that really walks through the entire
 process of creating a sample website that exposes a test api/web service.

 I'm looking to create a test app that demonstrates a test web app, as well
 as an api for the app. I'd then like to be able to implement the api in
 jscript from a separate web app, to invoke the api from a separate web
 app.

 In searching google, I haven't found what I'm looking for. I've seen
 various
 sites that discuss apis of other companies (google, yahoo, flickr, etc...)
 but nothing that actually walks the user though how to create this process
 from the beginning to the end...

 If you have any pointers, let m eknow.

 Thanks

 -Bruce
 [EMAIL PROTECTED]


 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/



--
View this message in context:
http://www.nabble.com/web-services-api---jscript-invocation-tf3408500.html#a
9496179
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] JQuery Form plugin

2007-03-15 Thread Mike Alsup
 I am using the JQuery forms plugin and I have a problem. I would like
 to post a form that containse a file, ie I have to use
 enctype=multipart/form-data. How can I set this up when using
 ajaxForm()?

 Is there an example how you can upload files using ajaxForm()?

 thanks in advance for any help,
 George.

George,

The form plugin does not currently support file uploads.

Mike

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Klaus Hartl
Rick Faircloth schrieb:
 What concerns about js are valid?
 
 Just accessibility?
 
 Poorly written code causes problems or
 does js have certain inherent risks?
 
 Rick

Security can be an issue as well.



-- Klaus

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] bgiframe update, sneak peak

2007-03-15 Thread Geoffrey Knutzen
I use smartSVN for our local SVN repository. Works pretty well for me.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of agent2026
Sent: Thursday, March 15, 2007 7:14 AM
To: discuss@jquery.com
Subject: Re: [jQuery] bgiframe update, sneak peak


Thanks for the help, that's what I thought.  I've never really tried to use
SVN.  Is there a frontend you recommend?

Adam



Jonathan Sharp wrote:
 
 jQuery uses SVN (Subversion) to control and track changes to the code. SVN
 projects are usually setup with a trunk and a tags folder.
 
 Brandon does all of his work in the trunk folder which will always have
 the
 latest and greatest and maybe some features that aren't stable. Once he
 gets
 the trunk to a stable point and wants to release it he will tag (or
 checkpoint (or copy)) the trunk to say tags/1.0.0. Then any changes he
 makes
 to trunk will not change any of the code at tags/1.0.0.
 
 So this helps in tracking specific releases as we can look at the tags
 folder and see the individual releases and ignore all the minor and
 experimental changes to trunk.
 
 Hope this makes sense!
 
 Cheers,
 -Jonathan
 
 

-- 
View this message in context:
http://www.nabble.com/bgiframe-update%2C-sneak-peak-tf3402941.html#a9495305
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] Test

2007-03-15 Thread Rey Bango
Test

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Klaus Hartl
Rob Desbois schrieb:
 Or that their only experience of JavaScript has been riddled with problems 
 due to browser incompatibility problems.
 There've been times I've cursed JS for these. Granted, the problem is the 
 browsers' implementations, but it's still enough to make you say 'Javascript 
 is evil' IMHO.

Rob, I agree with you... the dark ages of DHTML ;-)

I recently read a funny quote somewhere:

When browser elephants battle, it is the JavaScript grass that suffers.

Makes me laugh everytime!



-- Klaus


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] JQuery Form plugin

2007-03-15 Thread George Moschovitis
 The form plugin does not currently support file uploads.

Is this something easy to fix? Any workaround?

-g.

-- 
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] JQuery Form plugin

2007-03-15 Thread Rob Desbois
George,

Just set the 'enctype' attribute of the form as usual:
form id='my_form' action='x.php' method='POST' 
enctype='multipart/form-data'.../form

$(#my_form).ajaxForm({dataType: ..., success: onFormSubmitSuccess});

Rob


 Dear devs,

I am using the JQuery forms plugin and I have a problem. I would like
to post a form that containse a file, ie I have to use
enctype=multipart/form-data. How can I set this up when using
ajaxForm()?

Is there an example how you can upload files using ajaxForm()?

thanks in advance for any help,
George.

-- 
http: //blog.gmosx.com
http: //cull.gr
http: //nitroproject.org
http: //www.joy.gr

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__




-- Original Message --

FROM:  George Moschovitis [EMAIL PROTECTED]
TO:discuss@jquery.com
DATE:  Thu, 15 Mar 2007 18:12:31 +0200

SUBJECT:   [jQuery] JQuery Form plugin

Dear devs,

I am using the JQuery forms plugin and I have a problem. I would like
to post a form that containse a file, ie I have to use
enctype=multipart/form-data. How can I set this up when using
ajaxForm()?

Is there an example how you can upload files using ajaxForm()?

thanks in advance for any help,
George.

-- 
http: //blog.gmosx.com
http: //cull.gr
http: //nitroproject.org
http: //www.joy.gr

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] changing default thickbox behavior

2007-03-15 Thread Paul
Wow, Rob, you did all my work for me!  Fantastic, thanks!

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Rob Desbois
Sent: Thursday, March 15, 2007 8:54 AM
To: jQuery Discussion.
Subject: Re: [jQuery] changing default thickbox behavior

 

Paul,

 

Short answer -- yes, modify the code ;-)

To prevent closing by clicking on the overlay and remove the 'close' link
(better IMHO than just disabling it), remove line 38:

   $(#TB_overlay).click(TB_remove);

 

remove the TB_closeWindow div from line 133:

   $(#TB_window).append(a href='' id='TB_ImageOff' title='Close'img
id='TB_Image' src='+url+' width='+imageWidth+' height='+imageHeight+'
alt='+caption+'//a + div id='TB_caption'+caption+div
id='TB_secondLine' + imageCount + prev.html + next.html + /div/div);

 

remove line 135:

   $(#TB_closeWindowButton).click(TB_remove);

 

remove the TB_closeAjaxWindow div from line 205:

   $(#TB_window).append(div id='TB_title'div
id='TB_ajaxWindowTitle'+caption+/div/diviframe frameborder='0'
hspace='0' src='+urlNoQuery[0]+' id='TB_iframeContent'
name='TB_iframeContent' style='width:+(ajaxContentW +
29)+px;height:+(ajaxContentH + 17)+px;' onload='TB_showIframe()'
/iframe);

 

and 207:

   $(#TB_window).append(div id='TB_title'div
id='TB_ajaxWindowTitle'+caption+/div/divdiv id='TB_ajaxContent'
style='width:+ajaxContentW+px;height:+ajaxContentH+px;'/div);

 

remove line 210:

   $(#TB_closeWindowButton).click(TB_remove);

and remove lines 258-259:

   $(#TB_overlay).unbind(click);

   $(#TB_closeWindowButton).unbind(click);

 

 

Thickbox also has a keydown handler so that if you push 'escape' it closes.
Remove lines 236-245 to prevent this:

   document.onkeyup = function(e){  
  if (e == null) { // ie
 keycode = event.keyCode;
  } else { // mozilla
 keycode = e.which;
  }
  if(keycode == 27){ // close
 TB_remove();
  } 
   }

 

 

To add the 'close' functionality to something, do this:

   $(#myTbCloseButton).click(TB_remove);

 

 

I've heavily customised TB to my own purposes over the last few days, hence
a slight familiarity with the code :-D

Hope that helps,

rob

 

 

 
Is there a way to modify the default Thickbox behavior?  I don't want the
user to be able to dismiss the TB window by clicking the overlay or a close
link-I want to programmatically close it based on user input within the TB
window. 
 
Thanks, 
 
Paul 
__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


--- Original Message ---

  

From: Paul  mailto:[EMAIL PROTECTED] [EMAIL PROTECTED]

To: 'jQuery Discussion.'  mailto:discuss@jquery.com discuss@jquery.com

Date: Thu, 15 Mar 2007 08:37:21 -0700

Subject: [jQuery] changing default thickbox behavior

  

Is there a way to modify the default Thickbox behavior?  I don't want the
user to be able to dismiss the TB window by clicking the overlay or a close
link-I want to programmatically close it based on user input within the TB
window.

 

Thanks,

 

Paul


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/




__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Benjamin Sterling

Well, to be 508 compliant you have to do some tricks so that screen readers
will pick up on the change.  Not everyone knows how to do these tricks and
there are not a lot of resources to pull from for help.  So I would think
people the use the 'inaccessable' excuse are too lazy to really dig for the
answers.

--
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] JQuery Form plugin

2007-03-15 Thread George Moschovitis
 Just set the 'enctype' attribute of the form as usual:
 form id='my_form' action='x.php' method='POST' 
 enctype='multipart/form-data' ...
 /form

Have you actually tried this? This doesn't work for me :(

-g.

-- 
http://blog.gmosx.com
http://cull.gr
http://www.joy.gr
http://nitroproject.org

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Rick Faircloth
I guess it would be up to the coder to be proactive and present evidence
to the decision-makers that proves js can be secure and accessible.
 
Unfortunately, I've learned that even irrefutable proof can overcome
ignorant common wisdom. especially when someone doesn't
understand the proof.
 
Rick
 
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Benjamin Sterling
Sent: Thursday, March 15, 2007 12:26 PM
To: jQuery Discussion.
Subject: Re: [jQuery] the pitfalls of jquery
 
Well, to be 508 compliant you have to do some tricks so that screen readers
will pick up on the change.  Not everyone knows how to do these tricks and
there are not a lot of resources to pull from for help.  So I would think
people the use the 'inaccessable' excuse are too lazy to really dig for the
answers. 

-- 
Benjamin Sterling
http://www.KenzoMedia.com
http://www.KenzoHosting.com 
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Test

2007-03-15 Thread Sam Collett
On 15/03/07, Rey Bango [EMAIL PROTECTED] wrote:
 Test

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


$(subject:Test).reply(Another test?);

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] JQuery Form plugin

2007-03-15 Thread Rob Desbois
Sorry, no I haven't.
And apologies for being totally wrong - I didn't know the Form plugin can't do 
file uploads.
I was just working on the fact that the plugin uses the attributes of the form, 
so should (might...) include the enctype.
If it doesn't support file uploads though it's not that relevant :-(

--rob

  Just set the 'enctype' attribute of the form as usual:
 form id='my_form' action='x.php' method='POST' 
 enctype='multipart/form-data' ...
 /form

Have you actually tried this? This doesn't work for me :(

-g.

-- 
http: //blog.gmosx.com
http: //cull.gr
http: //www.joy.gr
http: //nitroproject.org

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__




-- Original Message --

FROM:  George Moschovitis [EMAIL PROTECTED]
TO:discuss@jquery.com
DATE:  Thu, 15 Mar 2007 18:26:56 +0200

SUBJECT:   Re: [jQuery] JQuery Form plugin

 Just set the 'enctype' attribute of the form as usual:
 form id='my_form' action='x.php' method='POST' 
 enctype='multipart/form-data' ...
 /form

Have you actually tried this? This doesn't work for me :(

-g.

-- 
http: //blog.gmosx.com
http: //cull.gr
http: //www.joy.gr
http: //nitroproject.org

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__


__
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
__

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] JQuery Form plugin

2007-03-15 Thread Sam Collett
On 15/03/07, George Moschovitis [EMAIL PROTECTED] wrote:
  The form plugin does not currently support file uploads.

 Is this something easy to fix? Any workaround?

 -g.

 --
 http://blog.gmosx.com
 http://cull.gr
 http://www.joy.gr
 http://nitroproject.org

You may be able to use this plugin:
http://www.pixeline.be/experiments/jqUploader/

AJAX can't be used to upload files. Systems that look like they do use
an iframe (e.g. Gmail) or an object on the page (Flash, ActiveX
control, Java etc). But I have never tried to myself.

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] How to convert class to style='attrs ...'

2007-03-15 Thread dalvarado
Hi,

I'm trying to write a function to generate MySpace friendly HTML.  MySpace does 
not accept link tags, so the HTML from my page that contains 
class='whatever', will mean nothing on the mySpace page.

My question is, given an element with a class, e.g. td 
class='myClass'Hello/td, how would I use jQuery to rewrite that element as 
td style='font-family:verdana;font-size:12px;...Hello/td?  Notice I have 
replaced the class attribute with a style attribute with all the attributes 
listed out.

Thanks, - Dave

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] OT: Job posting

2007-03-15 Thread Andy Matthews
I've never done this before, but I figured it couldn't hurt. My company is
hiring and I thought I might post the job here. Feel free to ask me
questions if you like.
-
 
Web Designer

 

OVERALL DESCRIPTION and RESPONSIBILITIES:

  

Dealerskins, the best website provider in the automotive industry is seeking
another Designer.  The successful candidate will have an eye for beauty and
be able to work in a deadline oriented environment.  You will be part of
Dealerskins production team and work side by side with several other
Designers building the front-end graphics of our dealer websites.  You will
be expected to contribute your own designs and new ideas as well as follow
detailed design scope documents and be willing to materialize the dealer's
vision, no matter how many times they change their mind. J  A team spirit
and great attitude are a must.

 

This is not a position for entry level designers!

BASIC REQUIREMENTS:

 

*   Teamwork:  Ability to work in a team setting 

*   Internet Savvy:  Enjoyment and understanding of technology and the
Internet 

*   Multi-tasking:  Must be able to manage multiple fast-paced projects 

*   Creativity:  Creativity is a MUST, along with the ability to
verbalize those ideas 

*   Self-sufficiency:  Comfortable not being micro-managed.  Willingness
to lead one's self.  

 

SOFTWARE/KNOWLEDGE REQUIREMENTS:

 

*   Expert level Flash Designer with a good understanding of Action
Scripting 

*   CSS 

*   HTML layout 

*   Adobe Photoshop and Adobe Illustrator 

*   Knowledge of vector 3D 

*   Good understanding of Image manipulation 

 

Dominion offers a dynamic environment, excellent growth opportunities,
competitive earnings and a comprehensive benefits package including a
generous 401(k).

 

Please respond to:  [EMAIL PROTECTED] 

 

Dominion Enterprises is an Equal Opportunity Employer and supports Workplace
Diversity. Drug Testing Employer 

 

-

 
Andy Matthews
Senior Coldfusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249
[EMAIL PROTECTED]
www.dealerskins.com http://www.dealerskins.com/ 
 


att19c20.bmp
Description: Windows bitmap
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] xsl sped up my xml over ajax

2007-03-15 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi.

Kay's books are awesome but there are specific hurdles to learning XSL
at the start that would make me want to recommend an intro book or
tutorial before jumping into a full on descriptive/reference book like
Kay's.

By the same token, for this particular language a cookbook is less
likely to be a good resource.

You might check out the book linked below.  I haven't read this, but it
gets good reviews. I have read other stuff by Tennison and she's an
expert in the field and a really good author... not just someone who
knows the stuff that they dragged in to write the book.

http://www.amazon.com/Beginning-XSLT-Jeni-Tennison/dp/1861005946

This has a bunch of stuff if you're just looking to dip in your toe:

http://www.w3schools.com/xsl/default.asp

This website has a bunch of the best threads from the excellent xsl
mailing list abridged and archived:

http://www.dpawson.co.uk/xsl/sect1/intro.html

-Nathan



.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:||:._.:
||:.

Nathan Young
Cisco.com-Interface Development
A: ncy1717
E: [EMAIL PROTECTED]  

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling
 Sent: Wednesday, March 14, 2007 8:01 PM
 To: jQuery Discussion.
 Subject: Re: [jQuery] xsl sped up my xml over ajax
 
 Yeah, I got the XSLT cookbook, and well nothing got 
 cooked.  I will take a look at your suggestion.
 -- 
 Benjamin Sterling
 http://www.KenzoMedia.com
 http://www.KenzoHosting.com http://www.KenzoHosting.com  
 

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] How to convert class to style='attrs ...'

2007-03-15 Thread Sam Collett
On 15/03/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi,

 I'm trying to write a function to generate MySpace friendly HTML.  MySpace 
 does not accept link tags, so the HTML from my page that contains 
 class='whatever', will mean nothing on the mySpace page.

 My question is, given an element with a class, e.g. td 
 class='myClass'Hello/td, how would I use jQuery to rewrite that element 
 as td style='font-family:verdana;font-size:12px;...Hello/td?  Notice I 
 have replaced the class attribute with a style attribute with all the 
 attributes listed out.

 Thanks, - Dave

Can't you use style?

style type=text/css
  @import http://example.com/style.css;;
/style

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] help with syntax, naming a function

2007-03-15 Thread rolfsf

I've written a little script that helps IE to correctly size a couple divs
based on the size of the window. I need this script to run when the document
loads, and anytime the window is resized (and I'll probably later need to
run it when a certain event happens)... so I probably need to give this a
name, and call it by name...
and that's where I keep stumbling.

beginner's question: how do I name this function?

What I've currently got is not right but good enough to know the basic idea
works: 

$().ready(function(){
if($.browser.msie){ 
$(window).resize(function() { 
var ww = $(window).width();  
var wh = $(window).height();  
var pt = $('#rightPane').offset().top;  
var dw = $('#leftPane').outerWidth(); 
$('#leftPane').css('height', (wh - pt - 10) + 
'px');
$('#rightPane').css('height', (wh - pt - 10) + 'px'); 
$('#rightPane').css('width', (ww - dw - 30) + 
'px');});
};
}); 

you can see the page here: 
http://www.monkeypuzzle.net/testfiles/jquery/leftRight/

in IE, if you resize the window, the script will kick in. FF  Safari will
work fine without the script. I know the resize shouldn't be in the
function...

thanks again!

-- 
View this message in context: 
http://www.nabble.com/help-with-syntax%2C-naming-a-function-tf3409727.html#a9499384
Sent from the JQuery mailing list archive at Nabble.com.


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery In The Wild: marmot.com

2007-03-15 Thread Chris Ovenden
Anyone know why the text looks so awful on that site (Firefox on WinXP)?

On 3/15/07, Adam Skinner [EMAIL PROTECTED] wrote:

 It's running Drupal! (and jQuery is drupal's primary javascript library)


 Jonathan Sharp wrote:
 
  Another jQuery sighting: http://marmot.com click on Clothing  Equipment
 
  -js
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 
 

 --
 View this message in context: 
 http://www.nabble.com/jQuery-In-The-Wild%3A-marmot.com-tf3406390.html#a9492802
 Sent from the JQuery mailing list archive at Nabble.com.


 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/



-- 
Chris Ovenden

http://thepeer.blogspot.com
Imagine all the people / Sharing all the world

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] OT: Job posting

2007-03-15 Thread David Dexter
Where is the job?

 

  _  

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Andy Matthews
Sent: Thursday, March 15, 2007 9:54 AM
To: [jQuery]
Subject: [jQuery] OT: Job posting

 

I've never done this before, but I figured it couldn't hurt. My company is
hiring and I thought I might post the job here. Feel free to ask me
questions if you like.

-

 

Web Designer

 

OVERALL DESCRIPTION and RESPONSIBILITIES:

  

Dealerskins, the best website provider in the automotive industry is seeking
another Designer.  The successful candidate will have an eye for beauty and
be able to work in a deadline oriented environment.  You will be part of
Dealerskins production team and work side by side with several other
Designers building the front-end graphics of our dealer websites.  You will
be expected to contribute your own designs and new ideas as well as follow
detailed design scope documents and be willing to materialize the dealer's
vision, no matter how many times they change their mind. :-)  A team spirit
and great attitude are a must.

 

This is not a position for entry level designers!

BASIC REQUIREMENTS:

 

*   Teamwork:  Ability to work in a team setting 
*   Internet Savvy:  Enjoyment and understanding of technology and the
Internet 
*   Multi-tasking:  Must be able to manage multiple fast-paced projects 
*   Creativity:  Creativity is a MUST, along with the ability to
verbalize those ideas 
*   Self-sufficiency:  Comfortable not being micro-managed.  Willingness
to lead one's self.  

 

SOFTWARE/KNOWLEDGE REQUIREMENTS:

 

*   Expert level Flash Designer with a good understanding of Action
Scripting 
*   CSS 
*   HTML layout 
*   Adobe Photoshop and Adobe Illustrator 
*   Knowledge of vector 3D 
*   Good understanding of Image manipulation 

 

Dominion offers a dynamic environment, excellent growth opportunities,
competitive earnings and a comprehensive benefits package including a
generous 401(k).

 

Please respond to:  [EMAIL PROTECTED] 

 

Dominion Enterprises is an Equal Opportunity Employer and supports Workplace
Diversity. Drug Testing Employer 

 

-



 

Andy Matthews
Senior Coldfusion Developer

Office:  877.707.5467 x747
Direct:  615.627.9747
Fax:  615.467.6249

[EMAIL PROTECTED]
www.dealerskins.com http://www.dealerskins.com/ 

 



image001.gif
Description: GIF image
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery In The Wild: marmot.com

2007-03-15 Thread Gerry Hotmail
It doesn't look much better in IE7.  Nice site tho.


- Original Message -
From: Chris Ovenden [EMAIL PROTECTED]
To: jQuery Discussion. discuss@jquery.com
Sent: Thursday, March 15, 2007 5:25 PM
Subject: Re: [jQuery] jQuery In The Wild: marmot.com

 Anyone know why the text looks so awful on that site (Firefox on WinXP)?

 On 3/15/07, Adam Skinner [EMAIL PROTECTED] wrote:

 It's running Drupal! (and jQuery is drupal's primary javascript library)


 Jonathan Sharp wrote:
 
  Another jQuery sighting: http://marmot.com click on Clothing  
  Equipment
 
  -js
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 
 

 --
 View this message in context: 
 http://www.nabble.com/jQuery-In-The-Wild%3A-marmot.com-tf3406390.html#a9492802
 Sent from the JQuery mailing list archive at Nabble.com.


 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/



 -- 
 Chris Ovenden

 http://thepeer.blogspot.com
 Imagine all the people / Sharing all the world

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] How to convert class to style='attrs ...'

2007-03-15 Thread dalvarado
  ---Original Message---
  From: Sam Collett [EMAIL PROTECTED]
  Subject: Re: [jQuery] How to convert class to style='attrs ...'
  Sent: Mar 15 '07 17:06
  
  On 15/03/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   Hi,
  
   I'm trying to write a function to generate MySpace friendly HTML.  MySpace 
 does not accept link tags, so the HTML from my page that contains 
 class='whatever', will mean nothing on the mySpace page.
  
   My question is, given an element with a class, e.g. td 
 class='myClass'Hello/td, how would I use jQuery to rewrite that element 
 as td style='font-family:verdana;font-size:12px;...Hello/td?  Notice I 
 have replaced the class attribute with a style attribute with all the 
 attributes listed out.
  
   Thanks, - Dave
  
  Can't you use style?
  
  style type=text/css
@import http://example.com/style.css;;
  /style
  

Sadly, no.  They filter out the @import tag. - Dave

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] How to convert class to style='attrs ...'

2007-03-15 Thread Brandon Aaron
I didn't think MySpace allowed JavaScript either?

Here is how you could do it.
$(function() {
$('.myClass').css({ fontFamily:'verdana', fontSize:'12px' });
});

--
Brandon Aaron

On 3/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 Hi,

 I'm trying to write a function to generate MySpace friendly HTML.  MySpace 
 does not accept link tags, so the HTML from my page that contains 
 class='whatever', will mean nothing on the mySpace page.

 My question is, given an element with a class, e.g. td 
 class='myClass'Hello/td, how would I use jQuery to rewrite that element 
 as td style='font-family:verdana;font-size:12px;...Hello/td?  Notice I 
 have replaced the class attribute with a style attribute with all the 
 attributes listed out.

 Thanks, - Dave

 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] the pitfalls of jquery

2007-03-15 Thread Nathan Young -X \(natyoung - Artizen at Cisco\)
Hi.

All of the accessibility issues and security issues can be solved.  They
are not inherent to Javascript usage, you just have to design for them
like any other requirements.

Since they are among the less visible and sometimes more technically
challenging requirements to satisfy, they are more often missed and for
this reason Javascript deserves its bad rep.

Another consideration (and I'm going to rant a little here) is that the
web-as-a-carload-of-linked-documents model has yielded unprecedented
interoperability.  Had the web started as smart clients doing ajax
requests to build an interface to a network application it would have
been... just another way to do client/server.

Put another way:  The web was revolutionary because of HTML.  Why?  HTML
is not the browser.  If you wrote a web page in 1995, in 2000 it was
still readable, even when 3 major revolutions had occurred in web
browser technology.  Plus that page had been linked to, crawled,
indexed, etc thousands of times.  And the page is still readable in the
browser today, has been harvested for new information by new search
algorithms, has probably been part of an RSS feed, etc.

Turning documents into applications threatens to erode some of that.
The one place where javascript usage is truly evil in my opinion is
where it creates a requirement that the document be consumed by an agent
that can execute scripts on the page in a certain way.

http://www.tiddlywiki.com is extremely cool, but try upgrading a
tiddleywiki and you'll run into a problem you just don't have with web
content.  I used to do application interfaces in MS office or filemaker
before the web.  Upgrading to MS Access 2000 was a significant
deliverable to each one of my clients that had an interface built in
Access.

nyway... this too can be designed around, that's what progressive
enhancement is all about.

-Nathan

 I guess it would be up to the coder to be proactive and 
 present evidence
 to the decision-makers that proves js can be secure and accessible.
  
 Unfortunately, I've learned that even irrefutable proof can overcome
 ignorant common wisdom... especially when someone doesn't
 understand the proof...
  
 Rick
  
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Benjamin Sterling
 Sent: Thursday, March 15, 2007 12:26 PM
 To: jQuery Discussion.
 Subject: Re: [jQuery] the pitfalls of jquery
  
 Well, to be 508 compliant you have to do some tricks so that 
 screen readers will pick up on the change.  Not everyone 
 knows how to do these tricks and there are not a lot of 
 resources to pull from for help.  So I would think people the 
 use the 'inaccessable' excuse are too lazy to really dig for 
 the answers. 
 
 -- 
 Benjamin Sterling
 http://www.KenzoMedia.com
 http://www.KenzoHosting.com 
 

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery In The Wild: marmot.com

2007-03-15 Thread Kelvin Luck
Chris Ovenden wrote:
 Anyone know why the text looks so awful on that site (Firefox on WinXP)?
 

font-family: 'Lucida Sans',Tahoma,Arial,Verdana,sans-serif

Windows seems to render Lucida Sans really badly but doesn't fall back 
to the next font in the list...

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] interface sortables problem

2007-03-15 Thread Aljosa Mohorovic
my page with jquery/interface code is
http://fakanana.com/test/sort.html with screenshots of my problem.
image thumbs go outside of their container, any tips on how to fix
this?

___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] How to convert class to style='attrs ...'

2007-03-15 Thread dalvarado
Thanks but what I am really trying to do is find out all the attributes that 
define  myClass.  Below it appears you have hard-coded certain values, but I 
won't know those ahead of time and there could be different classes per 
element, each defined differently.

Thanks, - Dave

  ---Original Message---
  From: Brandon Aaron [EMAIL PROTECTED]
  Subject: Re: [jQuery] How to convert class to style='attrs ...'
  Sent: Mar 15 '07 17:44
  
  I didn't think MySpace allowed JavaScript either?
  
  Here is how you could do it.
  $(function() {
  $('.myClass').css({ fontFamily:'verdana', fontSize:'12px' });
  });
  
  --
  Brandon Aaron
  
  On 3/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   Hi,
  
   I'm trying to write a function to generate MySpace friendly HTML.  MySpace 
 does not accept link tags, so the HTML from my page that contains 
 class='whatever', will mean nothing on the mySpace page.
  
   My question is, given an element with a class, e.g. td 
 class='myClass'Hello/td, how would I use jQuery to rewrite that element 
 as td style='font-family:verdana;font-size:12px;...Hello/td?  Notice I 
 have replaced the class attribute with a style attribute with all the 
 attributes listed out.
  
   Thanks, - Dave
  
   ___
   jQuery mailing list
   discuss@jquery.com
   http://jquery.com/discuss/
  
  


___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] jQuery Powered Sites - The List Continues to Grow

2007-03-15 Thread Rey Bango
Hi all,

I've added www.sheriff.org, marmot.com  http://www.novita.org.au to the 
list.

Keep the sites coming. Also, if you're using FireFox, consider using the 
script below that jQuery team member Paul Bakaus developed to identify 
jQuery sites. Its awesome.

Rey


// jQuery Detector
// version 0.1
// 2007-02-09
// Copyright (c) 2007, Paul Bakaus
// Released under the GPL license
// http://www.gnu.org/copyleft/gpl.html
//
// 
//
// This is a Greasemonkey user script.  To install it, you need
// Greasemonkey 0.3 or later: http://greasemonkey.mozdev.org/
// Then restart Firefox and revisit this script.
// Under Tools, there will be a new menu item to Install User Script.
// Accept the default configuration and install.
//
// To uninstall, go to Tools/Manage User Scripts,
// select Hello World, and click Uninstall.
//
// 
//
// ==UserScript==
// @name  jQuery Detector
// @namespace http://www.paulbakaus.com/
// @description   will show wether the actual page is powered by jQuery
// @include   *
// ==/UserScript==

var head = document.getElementsByTagName(head)[0];
if(head) {
var n = document.createElement(script);
n.src = http://paul.jquery.com/jquerydetector.js;;
head.appendChild(n);
}



___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


  1   2   >