Re: [jQuery] Right Click Plugin / Function

2007-02-12 Thread Dan Atkinson

Although it's easily circumnavigable, you'd be surprised how many clients ask
for it, because they believe that it makes their images 'unsaveable'.

Another reason is custom context menus, and you don't want the default
context menu to get in the way. An example of this would be Microsoft Live
Mail, which uses custom right click menus.

Does that answer your question?


Joan Piedra wrote:
 
 To disable or modify a client element just because you feel like it is not
 that useful.
 Why would you like to disable the right button anyway?
 
 Usability vs developer.. that's though
 
 
 On 2/11/07, Dan Atkinson [EMAIL PROTECTED] wrote:


 Feel free to jQuerify this:


 function click(e)

 {

 if (document.all)

   {

 if (event.button==2||event.button==3)

 {

 //IE

 //right click has been clicked

 //Return false will disabled

 return false;

 }

   }

   else

   {

 if (e.button==2||e.button==3)

 {

 //FF

 //right click has been clicked

 //Return false will disable

 e.preventDefault();

 e.stopPropagation();

 return false;

 }

   }

 }


 if (document.all)//IE

 document.onmousedown=click;

 else //FF

 document.onclick=click;



 It's pretty much just a right click disabler which won't allow right
 clicking in Firefox.
 --
 View this message in context:
 http://www.nabble.com/Right-Click-Plugin---Function-tf3043202.html#a8915982
 Sent from the JQuery mailing list archive at Nabble.com.


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

 
 
 
 -- 
 Joan Piedra || Frontend webdeveloper
 http://joanpiedra.com/
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Right-Click-Plugin---Function-tf3043202.html#a8925442
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Right Click Plugin / Function

2007-02-12 Thread Dan Atkinson

Nope. No reason whatsoever.


petersom3000 wrote:
 
 Is there a reason for not using the oncontextmenu event?
 http://www.google.com/search?q=oncontextmenu
 
 
 Dan Atkinson wrote:
 
 Feel free to jQuerify this:
 code
 function click(e)
 {
 if (document.all)
   {
 if (event.button==2||event.button==3)
 ...etc
 /code
 It's pretty much just a right click disabler which won't allow right
 clicking in Firefox.
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Right-Click-Plugin---Function-tf3043202.html#a8926868
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Right Click Plugin / Function

2007-02-11 Thread Dan Atkinson

Feel free to jQuerify this:


function click(e)

{

if (document.all)

  {

if (event.button==2||event.button==3)

{

//IE

//right click has been clicked

//Return false will disabled

return false;

}

  }

  else

  {

if (e.button==2||e.button==3)

{

//FF

//right click has been clicked

//Return false will disable

e.preventDefault();

e.stopPropagation();

return false;

}

  }

}


if (document.all)//IE

document.onmousedown=click;

else //FF

document.onclick=click;



It's pretty much just a right click disabler which won't allow right
clicking in Firefox.
-- 
View this message in context: 
http://www.nabble.com/Right-Click-Plugin---Function-tf3043202.html#a8915982
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] jQuery for President

2007-02-11 Thread Dan Atkinson

If his policies are like his web developers JavaScript, we'll be cheering in
the democrats come next election!

Karl Swedberg-2 wrote:
 
 On Feb 10, 2007, at 7:42 PM, Glen Lipka wrote:
 
 http://www.barackobama.com (jQuery!)
 Although they are using 1.04.  Hello?  I was all on board until I  
 saw they haven't upgraded.  Wassup widdat?
 Is the developer for this site on the list?
 
 Hmmm. Maybe the developer is just getting started with jQuery...
 
 http://www.barackobama.com/js/cmxform.js:
 if( document.addEventListener ) document.addEventListener 
 ( 'DOMContentLoaded', cmxform, false );

 function cmxform(){
   // Hide forms
   $( 'form.cmxform' ).hide().end();

   // Processing
   $( 'form.cmxform' ).find( 'li/label' ).not( '.nocmx' ).each 
 ( function( i ){
 var labelContent = this.innerHTML;
 var labelWidth = document.defaultView.getComputedStyle( this,  
 '' ).getPropertyValue( 'width' );
 var labelSpan = document.createElement( 'span' );
 labelSpan.style.display = 'block';
 labelSpan.style.width = labelWidth;
 labelSpan.innerHTML = labelContent;
 this.style.display = '-moz-inline-box';
 this.innerHTML = null;
 this.appendChild( labelSpan );
   } ).end();

   // Show forms
   $( 'form.cmxform' ).show().end();
 }
 
 Could be done like this...
 
 $(document).ready(function() {
$('form.cmxform li/label').not('.nocmx').each(function(index) {
  var labelContent = $(this).html();
  var labelWidth = $(this).width();
  $(this).empty();
  $('span/span').html(labelContent).css({display: 'block',  
 width: labelWidth}).appendTo(this);
});
 });
 
 But why would someone need to append a span to the label instead of  
 just styling the label?
 And why would someone want to use a span and then make it  
 display:block instead of just using a div ?
 
 Maybe I'm missing something?
 
 in jQuery we trust.
 
 Yes, but some trust it more than others. :)
 
 --Karl
 _
 Karl Swedberg
 www.englishrules.com
 www.learningjquery.com
 
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/jQuery-for-President-tf3207252.html#a8916014
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] asp.net and jquery

2007-02-10 Thread Dan Atkinson

Hey!

Yes, I'm a ASP.NET (C# only) developer and I'm involved with two major
companies which I have pushed jQuery into as part of their JS usage.

JS had been used before for something similar to a thickbox, and other
things, but I also want to push other simpler things which enhance the user
experience. Like an increase in user interaction. More visual feedback which
isn't as invasive, and smooth show,hide animations, rather than dull,
too-fast-to-notice-the-difference 'display:block'/'display:none' style
changes.

These things take a lot of time. One of the websites I'm working on has
jQuery running right through it, and I wrote it in June last year, finishing
in October (it's an insurers website, so a lot of it has to be tight).

The other website I'm involved with is a shopping website, and I have to do
a gradual implementation of jQuery into that. Mainly for a few reasons:
* I don't want conflicts with the existing code. That wouldn't be good for
business now. Nope. Definitely not!
* It's a belief amongst quite a few web developers that jQuery isn't stable
enough, because the versions change quite often. They were even more worried
when jQuery 1.1 came out, which did a Microsoft and told everybody that
older stuff wasn't compatible with the new wave. I nearly pulled the plug on
jQuery altogether, but there was the compatibility plugin which helped until
I'd made the changes to switch over.

Anyway, there's some discussion and code help on ASP.NET here:
http://www.aspcode.net/articles/l_en-US/t_default/ASP.NET/ASP.NET2.0/Ajax/category_61.aspx




Kevin Fricovsky wrote:
 
 
 Just curious how many asp.net developers are out there using jquery?
 
 I've been seeing a lot of .aspx extension on links to examples (like the
 link below)
 
 Good to see.
 
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Rick Faircloth
 Sent: Friday, February 09, 2007 2:57 PM
 To: 'jQuery Discussion.'
 Subject: Re: [jQuery] jQuery Powered Sites - Keep the Links Coming
 
 The table sorter is really nice... first time I've seen it
 in action...
 
 Rick
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Rey Bango
 Sent: Friday, February 09, 2007 10:47 AM
 To: jQuery Discussion.
 Subject: Re: [jQuery] jQuery Powered Sites - Keep the Links Coming
 
 Added! Thanks for the heads up, Christian.
 
 Rey
 
 Christian Bach wrote:
 http://threestore.three.co.uk/priceplan.aspx
 
 Uses tablesorter and jQuery, perhaps a bit self promotion :)
 
 /christian
 
 
 
 
 ___
 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/asp.net-and-jquery-tf3203080.html#a8905971
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] thickbox improvements

2007-02-05 Thread Dan Atkinson

Did you do a search on thickbox before you posted this?! This has been
mentioned on the mailing list before, and now thickbox development has been
moved to the SVN, with the first step being its refactoring.


Alexandre Plennevaux-2 wrote:
 
 Some nice hacks have been proposed on the thickbox forum recently. 
  
 If you are interested (maybe some interest for jqModal and other modal
 window scripts)
  
 - work with proportional width and height;
 - remove the browser scrollbars without having the page jump;
  
 more here:  HYPERLINK
 http://codylindley.com/thickboxforum/comments.php?DiscussionID=166page=1#Item_24http://codylindley.com/thickboxforum/comments.php?DiscussionID=166page=1#Item_24
  
  
 thank you for your attention,
 HYPERLINK mailto:[EMAIL PROTECTED] 
  
 °-¨
  
 the thickbox HYPERLINK mailto:[EMAIL PROTECTED][EMAIL PROTECTED]
 
 -- 
 Ce message Envoi est certifié sans virus connu.
 Analyse effectuée par AVG.
 Version: 7.5.441 / Base de données virus: 268.17.21/665 - Date: 2/02/2007
 23:39
  
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/thickbox-improvements-tf3168216.html#a8802862
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Introduction to Firebug and jQuery, Screencast

2007-02-03 Thread Dan Atkinson

Hey.

I have to see that it seems odd that you chose MP4 as the method to show it
to the world. Would it not have been easier to make it an FLV?


John Resig wrote:
 
 A new screencast is up that takes an introductory look at using the
 Firebug Firefox Extension and jQuery together - combining the two to
 build a reusable bookmarklet that can manipulate Digg Posts and
 Comments.
 
 The screencast is 14:39 Minutes long and 59MB:
 http://ejohn.org/blog/hacking-digg-with-firebug-and-jquery/
 
 If you enjoyed this screencast, don't forget to Digg it up!
 http://digg.com/programming/Hacking_Digg_with_Firebug_and_jQuery;Digg it
 up!
 
 --John
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Introduction-to-Firebug-and-jQuery%2C-Screencast-tf3126323.html#a8786971
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Embedding jQuery in a Greasemonkey script

2007-01-31 Thread Dan Atkinson

This was the idea behind my Firefox extension which is basically a
Greasemonkey script that utilises a local copy of jQuery, rather than
accessing a remote version.

The obvious benefits include file download times.



Blair Mitchelmore-2 wrote:
 
 I would guess that the best way would be to pack the jQuery source into 
 the greasemonkey xpi and access it using the chrome URI interface 
 somehow. I have very limited experience with firefox extensions but that 
 would seem to be the best way in terms of bandwidth and in terms of 
 usability (you wouldn't need to add a dynamic script load to every page 
 load just to use jQuery in your user scripts)
 
 -blair
 
 Nicolas Hoizey wrote:
 Hello Joan,

 Yes, I remember the threads talking about this, and I was curious  
 about it. After some days I figured out how to load jQuery and  
 simply make it work giving jQuery power to my userscripts in  
 Greasemonkey.
 Here is the url, check it out.
 http://joanpiedra.com/jquery/greasemonkey/

 Your solution is better than the first I have been trying, but it  
 still gets the jQuery source directly from jquery.com, which is not  
 really nice. If the greasemonkey script gains a lot of users, and is  
 executed on a lot of pages, the load on jquery.com may become  
 noticeable.

 John, am I right, or do you authorize such bandwidth abuse?


 -Nicolas

 On 1/30/07, Nicolas Hoizey [EMAIL PROTECTED] wrote: Hello,

 I want to improve some of my Greasemonkey scripts by using jQuery
 instead of traditionnal JS.

 I tried to load the library during execution[1] and it didn't work as
 intended. It was loaded from jquery.com, so I didn't want it anyway.
 I can't load it from my host either.

 I found a way to integrate the compact version of jQuery directly in
 my script[2], but it is an old release, and I can't find how to do
 the same with current 1.1.1 release. The author (SunSean) just said
 he had slightly edited [jQuery] for greasemonkey without explaining
 what he did change, and Firebug tells me Component is not available.

 Any idea on how to do it?

 Here is my current version with the old jQuery embedded: http://
 userscripts.org/scripts/show/2243


 Thanks a lot!


 [1] http://weblogs.asp.net/dstone/archive/2006/07/23/ 
 jQueryMonkey.aspx
 [2]  http://jquery.com/pipermail/discuss_jquery.com/2006-June/
 006355.html

 -Nicolas

 --
 Nicolas Brush HOIZEY
 Clever Age   : http://www.clever-age.com/
 Gastero Prod : http://www.gasteroprod.com/
 Photos : http://www.flickr.com/gp/[EMAIL PROTECTED]/M1c002
 phpHeaven: http://www.phpheaven.net/


 -- 
 Joan Piedra || Frontend webdeveloper
 http://joanpiedra.com/

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

-- 
View this message in context: 
http://www.nabble.com/Embedding-jQuery-in-a-Greasemonkey-script-tf3142897.html#a8725414
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] remote ajax with jquery...

2007-01-31 Thread Dan Atkinson

As much as I enjoyed this demo, my brain has trouble parsing and rendering
HTML and JavaScript, and therefore I didn't get the full effect of the
'demo'.

Is it possible for you to put this demo in a place which I am able to sample
the demo-ness of it, please? It does sound interesting!

Cheers.


Ⓙⓐⓚⓔ wrote:
 
 I casually mentioned 'remote ajax' in another thread... I thought I'd
 show a demo of it... very simple!
 
 it's used to watch woot.com while they are doing rapid sales!
 
 ?xml version=1.0 encoding=utf-8 ?
 !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.1//EN
 http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd;
 html xmlns=http://www.w3.org/1999/xhtml; xml:lang=en
   head
   title
   Wootster
   /title
   script type=text/javascript src=/js/jquery.js/script
   script type=text/javascript
   $(function(){
   var doit = function(){
   $.ajax({
   
 url:'http.cgi?http://www.woot.com/DefaultMicrosummary.ashx',
   success: function(data) {
   var title = '@' + new 
 Date();
   $('body').prepend('div 
 title='+title+'' + data + /div)
   var sale = 
 document.title = data.split('\r')[0];
   if (!sale.match(/%/)) {
   
 $('body').prepend('h1See you at 10pm! Woot is not
 flashing!/h1')
   
 clearInterval(interval)
   }}})}
   doit()
   var interval = setInterval(doit,4)
   $('body').click(function(){window.location = 
 http://www.woot.com/})
   })
   /script
   /head
   body/
 /html
 
 is a simple page that ajaxes a microsummary  repeatedly from another site.
 
 and http.cgi is:
 
 #!/usr/bin/perl
 use LWP::UserAgent;
 use CGI;
 $ua = LWP::UserAgent-new;
 $ua-agent(NuBrowser/10.7 );
 $res = $ua-request(HTTP::Request-new(GET =  $ENV{QUERY_STRING} ||
 http://www.woot.com/DefaultMicrosummary.ashx;));
 $q = CGI-new;
 print $q-header($res-headers-{'Content-Type'}),$res-content;
 -- 
 Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/remote-ajax-with-jquery...-tf3146158.html#a8725501
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] jQuery for Wordpress

2007-01-31 Thread Dan Atkinson

I'm sorry?

A tutorial on how to write good tutorials?

If you want to enable JS inside posts, go here and download this plugin:
http://ottodestruct.com/wpstuff/scriptenabler.zip

Finally, to be able to show people what you mean, wrapping your examples in
'pre' (or is it 'code'?) tags, prevents WordPress from doing anything to any
HTML elements inside, instead formatting them to lt; and gt;.

Hope I understood you correctly.


Andreas Wahlin-4 wrote:
 
 This is almost on topic then :)
 Is there a good tutorial or something on how to write good tutorials  
 for javascript/html code in wordpress?
 For instance, I tried to include a script tag but it seems  
 wordpress mistook it for javascript and stripped most of it out. I  
 was frustrated and didn't have time to experiment.
 Oh and I did use the gtr; (or simmilar) pseudo tags.
 
 andreas
 
 On Jan 29, 2007, at 20:53 , Dan Atkinson wrote:
 

 I'm going to ping this topic for a couple of reasons.

 1) I've updated my plugins to jQuery v1.1.1 and Thickbox 2.1.1.  
 They're
 available here:
 http://www.dan-atkinson.com/wp/index.php/165/jquery-111-and- 
 thickbox-211-for-wordpress/

 2) jQuery and Interface has been added to the WordPress 2.2 dev trunk.

 The second one didn't surprise me very much, and I'm glad that Matt is
 finally listening to his users, who overwhelmingly desire jQuery.

 This should mean that when 2.2 is released on April 23rd, jQuery and
 Interface will be part of the default core.



 Dan Atkinson wrote:

 Ok folks, I'm going to bring this up here because I think it'll be  
 cool.

 Basically, it's just jQuery as a plugin for Wordpress, nothing  
 more. Just
 jquery.js.

 The reason why I'm sorta mentioning this, is because I'm about to  
 start
 writing a plugin for Cody's Thickbox 2 plugin (I kinda promised  
 that I'd
 do something for it, when it worked with image galleries).

 Anyhoo, because I think there'll be more exciting developments in  
 jQuery,
 which could be used on blogs, a single, standard 'jQuery for  
 Wordpress'
 plugin should be made, so that developers won't need to pack  
 jQuery with
 their release. Not only that, but as and when jQuery is updated,  
 only the
 'jQuery for Wordpress' plugin need updating.

 I'm mentioning it here, because this is the general soap box for  
 folks who
 talk about their plugins and wotnot.

 Thoughts, suggestions? Or am I the only bugger who uses jQuery  
 with their
 blog?! :)


 -- 
 View this message in context: http://www.nabble.com/jQuery-for- 
 Wordpress-tf2105654.html#a8696545
 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/jQuery-for-Wordpress-tf2105654.html#a8728361
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] jQuery for Wordpress

2007-01-31 Thread Dan Atkinson

Hmm... I may have been wrong on both counts...

I suppose you could replace the opening tag with a lt; then.

Andreas Wahlin-4 wrote:
 
 Yeah, you understood me correctly, thanks.
 However, this does not seem to work.
 For instance,
 code
  http://www.w3.org/ W3C 
 /code
 
 becomes a regular link, and script tags get stripped out  
 completely ... am I missing something?
 
 Andreas
 
 On Jan 31, 2007, at 13:49 , Dan Atkinson wrote:
 

 I'm sorry?

 A tutorial on how to write good tutorials?

 If you want to enable JS inside posts, go here and download this  
 plugin:
 http://ottodestruct.com/wpstuff/scriptenabler.zip

 Finally, to be able to show people what you mean, wrapping your  
 examples in
 'pre' (or is it 'code'?) tags, prevents WordPress from doing  
 anything to any
 HTML elements inside, instead formatting them to lt; and gt;.

 Hope I understood you correctly.
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/jQuery-for-Wordpress-tf2105654.html#a8734969
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] jQuery for Wordpress

2007-01-30 Thread Dan Atkinson

Yes, it's definitely good.

It's also a bonus for me, as I hold the top Google ranking for almost every
term relating to WordPress and jQuery. It almost makes me want to slot in an
AdWords plugin! :)

Jörn Zaefferer wrote:
 
 Dan Atkinson schrieb:
 2) jQuery and Interface has been added to the WordPress 2.2 dev trunk.

 The second one didn't surprise me very much, and I'm glad that Matt is
 finally listening to his users, who overwhelmingly desire jQuery.

 This should mean that when 2.2 is released on April 23rd, jQuery and
 Interface will be part of the default core.
 That is interesting. I saw the blog post of Matt asking for JavaScript 
 libraries to include in 2.1, and some time later they settled for 
 Prototype... Cool :-)
 
 -- 
 Jörn Zaefferer
 
 http://bassistance.de
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/jQuery-for-Wordpress-tf2105654.html#a8709132
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Reload inline content for thickbox

2007-01-30 Thread Dan Atkinson

It'll probably best to have something built into it which just empties the
existing content window, whilst getting the new content.


Kyle Buttress wrote:
 
 Just wondering if there is any way to reload the inline content of a
 thickbox window without closing and re-opening the window.
 
 When I do this It appends the new content to the bottom of the original.
 
 thanks
 
 KB
 

-- 
View this message in context: 
http://www.nabble.com/Reload-inline-content-for-thickbox-tf3139635.html#a8709167
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] jQuery for Wordpress

2007-01-29 Thread Dan Atkinson

I'm going to ping this topic for a couple of reasons.

1) I've updated my plugins to jQuery v1.1.1 and Thickbox 2.1.1. They're
available here:
http://www.dan-atkinson.com/wp/index.php/165/jquery-111-and-thickbox-211-for-wordpress/

2) jQuery and Interface has been added to the WordPress 2.2 dev trunk.

The second one didn't surprise me very much, and I'm glad that Matt is
finally listening to his users, who overwhelmingly desire jQuery.

This should mean that when 2.2 is released on April 23rd, jQuery and
Interface will be part of the default core.



Dan Atkinson wrote:
 
 Ok folks, I'm going to bring this up here because I think it'll be cool.
 
 Basically, it's just jQuery as a plugin for Wordpress, nothing more. Just
 jquery.js.
 
 The reason why I'm sorta mentioning this, is because I'm about to start
 writing a plugin for Cody's Thickbox 2 plugin (I kinda promised that I'd
 do something for it, when it worked with image galleries).
 
 Anyhoo, because I think there'll be more exciting developments in jQuery,
 which could be used on blogs, a single, standard 'jQuery for Wordpress'
 plugin should be made, so that developers won't need to pack jQuery with
 their release. Not only that, but as and when jQuery is updated, only the
 'jQuery for Wordpress' plugin need updating.
 
 I'm mentioning it here, because this is the general soap box for folks who
 talk about their plugins and wotnot.
 
 Thoughts, suggestions? Or am I the only bugger who uses jQuery with their
 blog?! :)
 

-- 
View this message in context: 
http://www.nabble.com/jQuery-for-Wordpress-tf2105654.html#a8696545
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Mobile application

2007-01-26 Thread Dan Atkinson

Aye.

I happen to find the Windows Mobile SDK to be particularly useful. I don't
know anything about apps for Blackberry's though, although they're slowly
taking off here in England, I don't think much of them. I myself have a
Windows Mobile and the Blackberry's just done match up in my opinion.

Current link for the Windows Mobile 5.0 SDK:
http://www.microsoft.com/downloads/details.aspx?FamilyID=83a52af2-f524-4ec5-9155-717cbe5d25edDisplayLang=en


Blair McKenzie-2 wrote:
 
 A very good place to start with this is to browse to the test suite on
 those
 devices.
 
 Blair
 
 On 1/26/07, Gerry Danen [EMAIL PROTECTED] wrote:

 I have been asked to put certain database apps online for Blackberry
 and Windows Mobile devices. These are typically a lookup/edit or
 table/browse protocol.

 Some tech questions I need to consider:

 1. The OS on these devices is different, will that make a difference
 on the browsing to an app?

 2. Is jQuery appropriate for mobile devices? WinMobile probably does
 JavaScript but how well implemented? And how does RIM fare?

 Note to above: I am new to both programming mobile devices and jQuery,
 so please indulge my ignorance.

 3. What other questions should I ask? Is it as simple as detecting the
 browser/platform and coding from there?

 4. Any sites, mailing lists, I should visit?

 Thank you all,

 Gerry

 ___
 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/Mobile-application-tf3120718.html#a8648530
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Thickbox Suggestion

2007-01-18 Thread Dan Atkinson

Can't you just force the mime type in the ASP.NET page so that, even though
it renders the page as HTML, the image is shown as normal?

Sam Collett wrote:
 
 I have a suggestion for Thickbox (if there is to be another version)
 in regards to showing images.
 
 I stream images to the user via an ASP.NET page. As a result, the URL
 does not end with one of the common image extensions. So it ends up
 not being displayed (or showing the ASCII representation of the image)
 and slowing the page down.
 
 As a workaround, I changed the urlType checking to use 'url' instead
 of 'baseURL':
 
 In TB_show, look for the line starting with 'var urlType' and replace
 with:
 
 var urlType = url.toLowerCase().match(urlString);
 
 The link to you generated image would be changed to something like:
 
 path/to/image.aspx?imageId=1ext=.jpg
 
 
 This is not the best way to do it, and may break other thickbox links.
 To prevent the need for this, perhaps the class name could be used to
 decide if the link is to an image?
 
 i.e.
  path/to/image.aspx?imageId=1 Image Link 
 
 It may even result in less code (in the JavaScript file - the pages
 with images would need  the class altering).
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Thickbox-Suggestion-tf3033779.html#a8430676
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Retriving actual height of element in IE *and* FF

2007-01-13 Thread Dan Atkinson

Yup, that would be it!

Using 1.1a on my test site. Updated to 1.1b and it's working!

I was under the impression that these methods would be removed and replaced
wholly with their respective parent methods like css().

So, would the following be acceptable, do you think? ::

$(div#content).css(height,$(#content).height()+px);

Cheers,

Dan Atkinson


Karl Swedberg-2 wrote:
 
 Dan,
 
 .height() was pulled out of 1.1a, but it's back in as of 1.1b. If  
 you're using 1.1a, that could be the problem.
 
 
 --Karl
 _
 Karl Swedberg
 www.englishrules.com
 www.learningjquery.com
 
 
 
 On Jan 13, 2007, at 7:54 AM, Dan Atkinson wrote:
 

 Thanks for the reply.

 It returned:
 $(#content).height is not a function


 Brandon Aaron wrote:

 Try using .height(). It will return the computed height value in
 pixels as in integer.

 --
 Brandon Aaron

 On 1/12/07, Dan Atkinson [EMAIL PROTECTED] wrote:

 Hey there!

 I'm currently doing some jQuery work on my blog which involves  
 some a bit
 of
 code to handle internal link clicks (same domain, not #) which will
 change
 anything in the main content div:
   * Sets the height of the main content div to the current height
   * Fadeout the child elements and then empty on callback
 ($(div#content).children().fadeOut('slow',function(){$ 
 (div#content).empty();}))
   * Repopulate with new content from server in AJAX call.

 My problem here in all this is that the actual height (in px)  
 isn't being
 returned in IE, but is being returned in Firefox. What IE returns  
 is the
 CSS
 value of the div, but not the actual current value, which is what  
 I want.
 Is
 there something I can use? I tried offsetHeight but that's not  
 right.

 Is there anything I'm missing?!

 -- 
 View this message in context: http://www.nabble.com/Retriving- 
 actual-height-of-element-in-IE-*and*-FF-tf2969737.html#a8313889
 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/Retriving-actual-height-of-element-in-IE-*and*-FF-tf2969737.html#a8314900
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Retriving actual height of element in IE *and* FF

2007-01-13 Thread Dan Atkinson

Lol! Yes, that would make sense!

Thanks for the responses on this.


Brandon Aaron wrote:
 
 .height() is also a setter and defaults the unit to pixels if not
 provided. So you can do it like this:
 
 $(div#content).height( $(#content).height() );
 
 --
 Brandon Aaron
 
 On 1/13/07, Dan Atkinson [EMAIL PROTECTED] wrote:

 Yup, that would be it!

 Using 1.1a on my test site. Updated to 1.1b and it's working!

 I was under the impression that these methods would be removed and
 replaced
 wholly with their respective parent methods like css().

 So, would the following be acceptable, do you think? ::

 $(div#content).css(height,$(#content).height()+px);

 Cheers,

 Dan Atkinson


 Karl Swedberg-2 wrote:
 
  Dan,
 
  .height() was pulled out of 1.1a, but it's back in as of 1.1b. If
  you're using 1.1a, that could be the problem.
 
 
  --Karl
  _
  Karl Swedberg
  www.englishrules.com
  www.learningjquery.com
 
 
 
  On Jan 13, 2007, at 7:54 AM, Dan Atkinson wrote:
 
 
  Thanks for the reply.
 
  It returned:
  $(#content).height is not a function
 
 
  Brandon Aaron wrote:
 
  Try using .height(). It will return the computed height value in
  pixels as in integer.
 
  --
  Brandon Aaron
 
  On 1/12/07, Dan Atkinson [EMAIL PROTECTED] wrote:
 
  Hey there!
 
  I'm currently doing some jQuery work on my blog which involves
  some a bit
  of
  code to handle internal link clicks (same domain, not #) which will
  change
  anything in the main content div:
* Sets the height of the main content div to the current height
* Fadeout the child elements and then empty on callback
  ($(div#content).children().fadeOut('slow',function(){$
  (div#content).empty();}))
* Repopulate with new content from server in AJAX call.
 
  My problem here in all this is that the actual height (in px)
  isn't being
  returned in IE, but is being returned in Firefox. What IE returns
  is the
  CSS
  value of the div, but not the actual current value, which is what
  I want.
  Is
  there something I can use? I tried offsetHeight but that's not
  right.
 
  Is there anything I'm missing?!
 
  --
  View this message in context: http://www.nabble.com/Retriving-
  actual-height-of-element-in-IE-*and*-FF-tf2969737.html#a8313889
  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/Retriving-actual-height-of-element-in-IE-*and*-FF-tf2969737.html#a8314900
 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/Retriving-actual-height-of-element-in-IE-*and*-FF-tf2969737.html#a8315267
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] Retriving actual height of element in IE *and* FF

2007-01-12 Thread Dan Atkinson

Hey there!

I'm currently doing some jQuery work on my blog which involves some a bit of
code to handle internal link clicks (same domain, not #) which will change
anything in the main content div:
  * Sets the height of the main content div to the current height
  * Fadeout the child elements and then empty on callback
($(div#content).children().fadeOut('slow',function(){$(div#content).empty();}))
  * Repopulate with new content from server in AJAX call.

My problem here in all this is that the actual height (in px) isn't being
returned in IE, but is being returned in Firefox. What IE returns is the CSS
value of the div, but not the actual current value, which is what I want. Is
there something I can use? I tried offsetHeight but that's not right.

Is there anything I'm missing?!


-- 
View this message in context: 
http://www.nabble.com/Retriving-actual-height-of-element-in-IE-*and*-FF-tf2969737.html#a8310126
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Retriving actual height of element in IE *and* FF

2007-01-12 Thread Dan Atkinson

I think using innerHeight in dimensions overcomes this one.

Cheers.


Dan Atkinson wrote:
 
 Hey there!
 
 I'm currently doing some jQuery work on my blog which involves some a bit
 of code to handle internal link clicks (same domain, not #) which will
 change anything in the main content div:
   * Sets the height of the main content div to the current height
   * Fadeout the child elements and then empty on callback
 ($(div#content).children().fadeOut('slow',function(){$(div#content).empty();}))
   * Repopulate with new content from server in AJAX call.
 
 My problem here in all this is that the actual height (in px) isn't being
 returned in IE, but is being returned in Firefox. What IE returns is the
 CSS value of the div, but not the actual current value, which is what I
 want. Is there something I can use? I tried offsetHeight but that's not
 right.
 
 Is there anything I'm missing?!
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Retriving-actual-height-of-element-in-IE-*and*-FF-tf2969737.html#a8310246
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] jQuery extension for Firefox

2007-01-07 Thread Dan Atkinson

Hey all!

I'm currently in the review process for an extension which basically puts
jQuery on EVERY page. I did it after reading something on learningjquery
which uses a bookmarklet.

I'm pretty sure that there will be issues surrounding it (GMail had a weird,
long button when I put jquery on my inbox), but it's more for developers
right now anyway. Maybe future things would something like a blacklist,
where sites you don't want adding will be excluded. Alternately, sites you
want to add could be whitelisted.

Anyway, it's just something which could be useful. I'm not sure if anyone
will use it.


In further news, after a long and interesting discussion with the owner of
geekgrl.net, we have decided to join together to write a
'Wordpress-compatible jQuery plugin library' plugin. We're basically going
to go through a lot of plugins and check their general compatibility with
Prototype, as of v2.1 Wordpress, will be forcing Prototype on its users.
Initial tests on the SVN show that it won't matter too though, but the idea
of extending jQuery through an easy to use Wordpress plugin is too good to
wave off.

We've had some ideas on what to do:
* Create a repository which gets a list of all available compatible plugins
for the user. If they're on a Windows server, they'll be pointed to a page
to download the file. If it's a Linux server, it should be able to be
uploaded automatically without any fuss.
* Wrap the extensions in their own zipped format initially (like XPIs), so
the user doesn't have to deal with which file goes where. We'll do the job
of unzipping and placing the file/s in the right location.


Any helpful suggestions, or ideas are more than welcome!

Cheers,

Dan
-- 
View this message in context: 
http://www.nabble.com/jQuery-extension-for-Firefox-tf2934403.html#a8204060
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] slideUp/Down flicker with 1.0.4

2007-01-05 Thread Dan Atkinson

Yes. I agree.
-- 
View this message in context: 
http://www.nabble.com/slideUp-Down-flicker-with-1.0.4-tf2919581.html#a8175956
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] slideUp/Down flicker with 1.0.4

2007-01-05 Thread Dan Atkinson

Er... I didn't say that.
-- 
View this message in context: 
http://www.nabble.com/slideUp-Down-flicker-with-1.0.4-tf2919581.html#a8176392
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-04 Thread Dan Atkinson

Christof,

I'm afraid that I simply don't take Safari users into account. Hardly a
great thing, but I focus on three browsers: Firefox and IE7, and then IE6.
In that order. The work I do is targetted at corporate users who run Windows
2000 and Firefox, and all the JS work I do is for those users. About three
people in our company have a Mac, and all of them use FF, so Safari simply
doesn't come into my considerations when coding.

Thanks though. It's always good to know a browsers limitations. :-)

Cheers,

Dan



Christof Donat wrote:
 
 Hi,
 
function addScript( url ) {
   var script = document.createElement( 'script' );
   script.type = 'text/javascript';
   script.charset = 'utf-8';
   script.src = url;
   document.getElementsByTagName('head')[0].appendChild( script );
};
 
 There are safari-versions which don't eval scripts like that. That is the 
 reason, why jspax uses XMLHttpRequest and eval() if possible and inserts a 
 script tag if XMLHttpRequest is not available (that deffinatelly is not
 that 
 Safari version then).
 
 addScript('jquery.js');
 
 And then you guess the time when jquery is loaded. You can not expect that 
 jQuery is available when addScript returns. With jsPax you use
 
 $using('jquery',function() {
   alert('jQuery is now available');
 });
 
 I would recommend doing a search on the Nabble mailing list page for
 this,
 as it has been covered many times before.
 
 Yes, and we had the problem with Safari in almost every thread about this 
 issue. We also had the problem of knowing the moment, the script has been 
 loaded almost in every one of those threads.
 
 Sorry Dan, but I thought you really should have come across those issues.
 
 Christof
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/dynamic-loading-of-jquery.js-into-my-web-page-tf2905089.html#a8156061
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-04 Thread Dan Atkinson

That's a good, workable solution!

Cheers,

Dan

Christof Donat wrote:
 
 Hi,
 
 I'm afraid that I simply don't take Safari users into account. Hardly a
 great thing, but I focus on three browsers: Firefox and IE7, and then
 IE6.
 In that order. The work I do is targetted at corporate users who run
 Windows 2000 and Firefox, and all the JS work I do is for those users.
 
 Then your solution is almost OK for you. Here is a usable version ;-)
 
 (function() {
   var addScriptCounter = 0;
 
   function addScript( url, callback ) {
 var script = document.createElement( 'script' );
 script.myLoadHandler = callback;
 script.id = 'dynamicallyLoadedScript_'+addScriptCounter;
 script.type = 'text/javascript';
 script.charset = 'utf-8';
 script.src = url;
 
 var script2 = document.createElement( 'script' );
 script2.type = 'text/javascript';
 script2.charset = 'utf-8';
 script2.appendChild(
   document.createTextNode(
 '(function(){'+
   'document.getElementById(\'dynamicallyLoadedScript_'+
 addScriptCounter+'\').myLoadHandler();})()';
   ));
 
 var head = document.getElementsByTagName('head')[0];
 head.appendChild( script );
 head.appendChild( script2 );
 
 addScriptCounter++;
   }
 })()
 
 Usage:
 
 addScript('jquery.js', function() {
   alert('horay, jQuery is available');
 });
 alert('jQuery is not necessarily available here');
 
 The second script tag will be evaluated after the first one has been
 loaded 
 and evaluated. At least that works for all browsers I have tested with, 
 except those Safari versions and very old browsers without a usable DOM 
 implementation. 
 
 If jQuery cannot be loaded successfully (wrong url e.g.), your callback
 will 
 still be called, and will fail as soon as it tries to access jQuery.
 
 If you use a XMLHttpRequest, you can distinguish the case when loading was
 not 
 successfull from successfull loading before you really call the callback.
 By 
 the way you also get it working for Safari, but keep out those browsers 
 without a XMLHttpRequest implementation. For them jsPax falls back to
 adding 
 script tags via DOM.
 
 That does not work only for the very old browsers without a usable DOM 
 implementation. There is also a fallback for them in jsPax, but I have not 
 really tested it, because I don't have such a browser at hand -
 theoretically 
 it should work.
 
 Christof
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/dynamic-loading-of-jquery.js-into-my-web-page-tf2905089.html#a8167439
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Please wait.. tutorial

2007-01-02 Thread Dan Atkinson

This looks really cool!

I wonder if anyone has something like this which temporarily ghosts specific
elements for a period of time at all, instead of entire pages?

Cheers,

Dan Atkinson


AHeimlich wrote:
 
 http://www.malsup.com/jquery/block/ might interest you.
 
 Happy New Year!
 
 --Aaron
 
 On 12/31/06, Mungbeans [EMAIL PROTECTED] wrote:


 Does anyone know where there is a good tutorial on coding a Please
 wait..
 sign to appear in the middle of the page whenever ajax commands are being
 processed?

 I've tried, but so far haven't had much success.
 --
 View this message in context:
 http://www.nabble.com/Please-wait..--tutorial-tf2903421.html#a8111968
 Sent from the JQuery mailing list archive at Nabble.com.


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

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

-- 
View this message in context: 
http://www.nabble.com/Please-wait..--tutorial-tf2903421.html#a8122696
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] dynamic loading of jquery.js into my web page

2007-01-02 Thread Dan Atkinson

   function addScript( url ) {
  var script = document.createElement( 'script' );
  script.type = 'text/javascript';
  script.charset = 'utf-8';
  script.src = url;
  document.getElementsByTagName('head')[0].appendChild( script );
   };

You would use it by doing something like:

addScript('jquery.js');

I would recommend doing a search on the Nabble mailing list page for this,
as it has been covered many times before.

Cheers,

Dan Atkinson


bohumil wrote:
 
 Hello.
 
 I want to load file jquery.js into my web page dynamically. I tried this
 code:
 
 script = document.createElement('script');
 script.src = 'jquery.js';
 x = document.getElementsByTagName('head')[0];
 x.appendChild(script);
 
 this code works with my other javascript file, but it doesn't work
 jquery.js. Could you help me please?
 
 

-- 
View this message in context: 
http://www.nabble.com/dynamic-loading-of-jquery.js-into-my-web-page-tf2905089.html#a8122926
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] http://www.acko.net/blog/jquery-menu-scout -- jQuery Menu Scout

2006-12-11 Thread Dan Atkinson

This is good, but did you have to put the link in only the title?!


Ⓙⓐⓚⓔ wrote:
 
 saw this today, about jquery on drupal.org!
 
 -- 
 Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/http%3A--www.acko.net-blog-jquery-menu-scoutjQuery-Menu-Scout-tf2788432.html#a7792700
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Text reflection

2006-12-07 Thread Dan Atkinson

There's nothing in terms of existing HTML standards (AFAIK) that enables text
to be shown upside down in a browser, so I would say, no. The only other way
would be converting existing text into a picture (either using something
like the PHP image libraries, or some JS text-to-image replacement (I think
there's something pre-existing for this).

The only html I know that does affect directions is the ltr attribute (which
some people jokingly refer to as the 'Hebrew tag').


Glen Lipka wrote:
 
 Last minute additions. :)
 
 Anyone know if a way to make regular html text reflect the way it does for
 images in reflection.js?
 
 http://cow.neondragon.net/stuff/reflection/
 
 Glen
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Text-reflection-tf2770984.html#a7736536
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Text reflection

2006-12-07 Thread Dan Atkinson

Canvas support isn't exactly that strong amonst the browsers.

Klaus Hartl-3 wrote:
 
 Dragan Krstic schrieb:
 There's some ideas: do it by SVG and WML, or to generate gif or bmp by 
 javascript
 
 What about canvas?
 
 
 -- Klaus
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Text-reflection-tf2770984.html#a7748565
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Get the Firebug 1.0 Beta!

2006-12-04 Thread Dan Atkinson

Cheers!

It's looking sweet!

Paul Bakaus wrote:
 
 Hi guys,
 
 great news from Joe! Firebug 1.0 is now in open beta, everyone should be
 able to download it from getfirebug.com today later on (read the blog
 post).
 I'll stay idle pressing F5 until the link is there ;-)
 
 -Paul
 
 -- 
 Paul Bakaus
 Web Developer
 
 Hildastr. 35
 79102 Freiburg
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Get-the-Firebug-1.0-Beta%21-tf2751776.html#a7681205
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Non-website usage: Twadget

2006-12-03 Thread Dan Atkinson

On your site, you ask why Microsoft decided on 'four decimal places' for
version numbers. This is a standard for most software, and since these
widgets are likely to be changed and updated frequently, they probably
thought it best that developers had better version control in their code.

The four block version system is standard to most developers (not just MS
devs - though Linux software has a tradition of dates).


Rod Begbie wrote:
 
 Just thought I'd send this out in case anyone's interested.
 
 I've used JQuery as part of a Windows Vista sidebar gadget I've built
 called Twadget (http://arsecandle.org/twadget/).  It's a gadget that
 allows you to follow your friends' statuses (and update your own) on
 the rawkin' Twitter.com
 
 Since Vista gadgets are just zipped up HTML+Javascript, JQuery's a
 natural choice.  It made event-handling and smooth UI effects a piece
 of piss.  (Only downside?  Twitter's API uses HTTP Auth, which JQuery
 doesn't support, so I had to do some half-assed hackery to make the
 AJAX calls)
 
 Rawk on you lovely JQuery types!
 
 Rod.
 
 -- 
 :: Rod Begbie :: http://groovymother.com/ ::
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Non-website-usage%3A-Twadget-tf2745932.html#a7663031
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Stop using thickbox!

2006-11-28 Thread Dan Atkinson

Going by the title, I fear that this is more wishful thinking and showmanship
than anything else.

This may sound quite arrogant, but then, so is your summary of thickbox.

I'm afraid that the complete lack of graceful degradation means that this is
one plugin I simply cannot use.

I do like the styling though, and the use of tables is forgiveable, even if
the purists would insist that tables are for data only.

Best of luck with the next version!

If you do release another version, I would maybe suggest a little less
arrogance on your part, which will likely ensure a much better reception,
than the less-than-cordial response which was received by this. Alas, I
think this would also attract fewer responses from the community! :-)


Webunity | Gilles van den Hoven wrote:
 
 And use my window plugin :)
 
 Why?
 
 Thickbox was made for images
 Window plugin was made for popups (dialogs)
 
 Just my $0.02
 
 -- Gilles
 
 http://gilles.jquery.com/window/
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Stop-using-thickbox%21-tf2704990.html#a7586419
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Make Thickbox loop?

2006-11-16 Thread Dan Atkinson

You can just just check the array length against the current loop counter.

If the two are the same, then just reset it to zero.

The should work.


agent2026 wrote:
 
 I would really like to have thickbox loop though all the images with the
 next/prev buttons, so hitting next from the last image will bring up the
 first image for example, and the buttons are never disabled.  This way you
 can never get stuck at the beginning or end.
 
 I'm surprised I haven't found any other posts about this.  Has anyone
 tried to implement this modification?
 
 Adam
 

-- 
View this message in context: 
http://www.nabble.com/Make-Thickbox-loop--tf2643760.html#a7381501
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] window plugin: update

2006-11-15 Thread Dan Atkinson

Gilles,

Is there any new information about this?


Webunity | Gilles van den Hoven wrote:
 
 Hi Guys,
 
 You've probaly seen the Ajaxian post on the YUI dialog. Well i am happy 
 to report that i've almost completed my plugin (after i released 
 cssHover i did a complete rewrite) and it offers almost thesame 
 functionality as the YUI version:
 * Fully themable
 * Fully customizable (e.g. isDraggable, isResizable, hasStatus, 
 setContent, setContentURL, useIframe, Modal, Non-Modal etc. etc.)
 * Callbacks: onOpen, onLoad
 * Easy to use.
 
 All you have to include are my cssHover class, the interface iDrag, 
 iResizable and iUtil class and optionally the iFxTransfer class for nice 
 animations.
 
 Well, today i finished the dragging and resizing part, as well as the 
 maximize/minimize buttons. This is all done. All whats left is add the 
 support for multiple dialogs on 1 page (including switching from one 
 dialog to another), some testing and it'll be released in the wild.
 
 -- Gilles
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/window-plugin%3A-update-tf2589672.html#a7354810
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] 3D Carousel

2006-11-15 Thread Dan Atkinson

Nice! Almost Flash-like!

Greased Lightbox... Nice!

For those who want more info about it, and its Greasemonkey script, go here:
http://shiftingpixel.com/lightbox/

Stefan,

Excellent work yet again!


Stefan Petre wrote:
 
 http://interface.eyecon.ro/development/demos/carousel.html
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/3D-Carousel-tf2362646.html#a7354725
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Draggable Notepad

2006-11-15 Thread Dan Atkinson


Brujah wrote:
 
 I am trying to write a draggable notepad.
 I use a textarea where the user can enter data.
 It basically works, but while I move the box the text is not displayed.
 What could be the problem here?
 The code is small:
 
 --
 html
 head
 script type=text/javascript src=../jquery.js/script
 script type=text/javascript src=../idrag.js/script
 
 script type=text/javascript
 $(document).ready(
   function()
   {
   $('#notepad').Draggable(
   {
   handle: 'div'
   }
   );  
   });
 /script
   
 style type=text/css media=all
 body
 {
   background: #fff;
   height: 100%;
 }
 
 #notepad
 {
   position: absolute;
   width: 266px;
   height: 282px;
   top: 100px;
   left: 300px;
   background-color: #77;
   border: 1px solid #0090DF;
 }
 #notepad div
 {
   cursor: move;
   background-color: #900;
   height: 20px;
 }
 /style
 /head
 
 
 body
   div id=notepaddivNotepad/div
   textarea name=usertext rows=15 cols=30/textarea
   /div
 /body
 /html
 --
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Draggable-Notepad-tf2629599.html#a7354866
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] How to display error/validation messages?

2006-11-14 Thread Dan Atkinson

On your plazes page, the field highlighting doesn't seem to be correct. I
would need to press it twice to get the right field highlighted.


Klaus Hartl-3 wrote:
 
 Jörn Zaefferer schrieb:
 Hi folks,
 
 what is your preferred approach to display messages? Think of validation
 messages for a form.
 
 I'm looking for an approach that would work for both client- and
 serverside generated messages.
 
 For example, a form is validated via JS and displays some messages. Now
 the user disables JS, submits the form, and gets the same error messages,
 displayed in the same way, only that it takes a little longer.
 
 Your ideas and experiences are welcome, demo pages are even better :-)
 
 
 Hi Jörn, I think both messages for a form submit with server roundtrip 
 and on-the-fly validation doesn't have to be the same necessarily...
 
 Here's an example: http://beta.plazes.com/register/
 
 * Submit the form and you will get error messages gathered on top of the 
 form, and additionally marked labels/inputs of the corresponding fields.
 
 * Put something in there, trigger the validation by leaving to the next 
 field and you will get the same error message, but this time right in 
 place, as expandend label. I think this makes sense, because your focus 
 is still there and not on top of the form.
 
 
 -- Klaus
 
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/How-to-display-error-validation-messages--tf2629610.html#a7338753
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] new jQuery API draft

2006-11-12 Thread Dan Atkinson

Kinda reminds me of the Java API.

Not that that's a bad thing, of course! :)

Good stuff!


Jörn Zaefferer wrote:
 
 Hi jQueryians,
 
 I'd like to present you a first draft for a new stylesheet for the 
 jQuery API: http://joern.jquery.com/api-draft/cat.xml
 
 There is still lot's of work to do, but the main concern, a new concept 
 for the navigation, is already functional. Both Alphabetical and 
 Category lists will be provided as exapandable trees.
 
 Please don't waste your time checking it with IE, the draft works so far 
 only with Firefox.
 
 Please post your opinions and ideas, I'm sure there are many.
 
 Regards
 Jörn
 
 -- 
 Jörn Zaefferer
 
 http://bassistance.de
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/new-jQuery-API-draft-tf2610371.html#a7302870
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Media plugins

2006-11-09 Thread Dan Atkinson

I really like what you've done there. It's neat and very clean!

malsup wrote:
 
 I've just posted some convenience plugins for dealing with Quicktime,
 Flash, and mp3 media.
 Source and demos can be found here:  http://malsup.com/jquery/media/
 
 Mike
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Media-plugins-tf2598874.html#a7254142
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] New Plugin: ODBCDate functions

2006-11-09 Thread Dan Atkinson

Hi there.

Your JS code link is dead! :)

cjordan wrote:
 
 Hi folks,
 
 Today, I was in need of a function to parse strings in the ODBCDateTime 
 format. I needed to convert a string in the ODBCDateTime format to a 
 valid JavaScript Date object, and vise versa. So instead of just writing 
 the functions for me, I decided to make them a plugin for jQuery.
 
 They're simple, and I'll work on adding a bit more functionality (either 
 as I need it, or as the community responds with the need), but for now, 
 I just threw it together.
 
 Here's my little demo http://cjordan.info/jquery/ODBCDateDemo.cfm 
 page. Check it out, and comment if you like. As the page says: it's my 
 first plug-in so be gentle! :o)
 
 G'night folks.
 Chris
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/New-Plugin%3A-ODBCDate-functions-tf2599770.html#a7255399
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] New Plugin: Xpander

2006-11-08 Thread Dan Atkinson



Jeffrey McClure wrote:
 
 Are you trying to load content into a div from a different domain?
 
No. That's not possible.
-- 
View this message in context: 
http://www.nabble.com/New-Plugin%3A-Xpander-tf2411102.html#a7234294
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Links to Plugins

2006-11-08 Thread Dan Atkinson

Wouldn't it be best to put these into a page (say jquery.com/plugins/ ! ;))
and then we can update them when needed?



Stephen Woodbridge wrote:
 
 Hi all,
 
 I've been collecting links that people have posted about various plugins 
 that they are developing over the past month or so. Sorry this is not in 
 a more organized form. I have attached an HTML version of it.
 
 I'm sure I have missed some, I haven't bothered to list those in SVN 
 plugins. Please send me a link off list if you have plugins that I 
 haven't listed here. I will try to get these better organized and add 
 the list to the wiki or elsewhere.
 
 It would be ideal if these were added to a contrib directory in SVN, if 
 we can some how make that happen.
 
 -Steve
 
 http://joern.jquery.com/accordion/accordion.html
 http://fmarcia.com/projets/jquery/accordion
 http://be.twixt.us/jquery/suckerFish.php
 http://mg.to/2006/02/27/easy-dom-creation-for-jquery-and-prototype
 http://204.13.69.149/~wang/
 http://dev.iceburg.net/jquery/tableEditor/demo.php
 http://cbach.jquery.com/demo.html
 http://interface.eyecon.ro/demos/test_sort.html
 http://jquery.offput.ca/event++/
 http://jquery.com/docs/Plugins/
 http://gilles.jquery.com/cssHover/?checkbox3=c3checkbox8=c8checkbox11=c11radiogrp=r1button3=text1=Some+default+value+
 http://www.jasons-toolbox.com/JHeartbeat/
 http://www.dan-atkinson.com/jQuery/jStatus/index.html
 http://www.refunk.com/ufo/ufo.js
 http://kawika.org/jquery/checkbox/
 http://bryanbuchs.com/tb_dialog/
 http://david.icreate.be/jquery/texrep/
 http://rikrikrik.com/jquery/pager/
 http://interface.eyecon.ro/demos/resize.html
 http://stilbuero.de/jquery/history/
 http://fmarcia.info/jquery/resize/index.html
 http://www.stilbuero.de/2006/11/06/a-smoother-thickbox-with-less-code/
 http://bassistance.de/index.php/jquery-plugins/jquery-plugin-tooltip/
 http://jquery.offput.ca/highlightFade/
 http://cbach.jquery.com/demos/selectbox/
 http://paul.jquery.com/plugins/animateClass/
 http://www.willjessup.com/sandbox/jquery/tweenbox/tweenbox.htm
 http://www.jasons-toolbox.com/SlightlyThickerbox/
 http://jquery.com/blog/2006/02/10/greybox-redux/
 http://www.malsup.com/jquery/form/
 http://www.ita.es/jquery/
 http://jquery.com/docs/Plugins/Xpander/
 http://sandbox.wilstuckey.com/jquery-ratings/
 
 
 
 
 jQuery Plugins
 jQuery Plugins
 
 jQuery Plugin: Accordion 
 fmarcia.com - accordion for jQuery 
 jQuery suckerFish 
 Easy DOM creation for jQuery and Prototype | mg.to 
 http://204.13.69.149/~wang/ 
 http://dev.iceburg.net/jquery/tableEditor/demo.php 
 TableSorter demo: bind and squashed bug tFoot. 
 Untitled Document 
 jQuery Enhanced Events Module 
 jQuery: Plugins 
 Webunity | internet oplossingen 
 JHeartbeat 0.1 Beta 
 Test 
 http://www.refunk.com/ufo/ufo.js 
 checkbox, jQuery plugin 
 Confirm Dialog 
 Text replacement 
 rikrikrik - pager jQuery plug-in 
 Resizeable demo - Interface plugin for jQuery 
 jQuery history/remote - solution for hijaxing links 
 Resize test 
 Klaus Hartl - Stilbüro : A smoother Thickbox (with
 less code) 
 bassistance.de » jQuery plugin: Tooltip 
 jQuery Plugin: highlightFade 
 jQuery - select box plugin demo 
 animateClass Plugin for jQuery 

 http://www.willjessup.com/sandbox/jquery/tweenbox/tweenbox.htm 
 Slightly ThickerBox 1.7 
 jQuery: Blog: » Greybox Redux 
 jQuery Form Test 
 jquery.collapseCols amp; jquery.collapseRows 
 jQuery: Plugins/Xpander 
 jQuery Star Rating Super Interface! 
 
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Links-to-Plugins-tf2593102.html#a7237166
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] New Dev center by Opera

2006-11-07 Thread Dan Atkinson

Cheers!

There's not nearly enough publicity about Opera for my liking. What, with it
being a more powerful browser than Firefox and all...


Klaus Hartl-3 wrote:
 
 Hi all,
 
 this is not exactly jQuery related, but there's a new Dev center by 
 Opera, and as one could expect from them there are already some nice 
 articles online.
 http://dev.opera.com/
 
 
 Worth reading for example: Efficient JavaScript:
 http://dev.opera.com/articles/view/48/
 
 
 -- Klaus
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/New-Dev-center-by-Opera-tf2586811.html#a7214677
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] New Dev center by Opera

2006-11-07 Thread Dan Atkinson

Ahh... But is the built in adblocker in Opera better than Firefox without
one?!

I mean, how many ads does Firefox block without the adblocker installed...
And how many does Opera block by default?!


Jörn Zaefferer wrote:
 
 There's not nearly enough publicity about Opera for my liking. What, with
 it
 being a more powerful browser than Firefox and all...
 
 It's build-in adblocker can't compete with FF's extension adblocker. Sad,
 but the main reason I'm not using Opera most of the time.
 
 --
 Jörn Zaefferer
 
 http://bassistance.de
 -- 
 GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
 NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/New-Dev-center-by-Opera-tf2586811.html#a7215110
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] New way of animating

2006-11-06 Thread Dan Atkinson

I'm sorry, I'm not convinced.

Pretty much everything in there is in jQuery standalone. I'm not sure about
the 'killer feature' either.

An expanding div is not a killer feature. That is effectively just like
$.show('slow'). The same killer feature code could be written in about an
eighth of this in jQuery.

Don't get me wrong though. I'm glad people are doing this for the
scriptaculous and moo folks. Christ knows they need some form of morale
boost.

Cheers for the link anyhoo.


Paul Bakaus wrote:
 
 Hey guys,
 
 has someone seen this at ajaxian? Check it out:
 http://berniecode.com/writing/animator.html
 This is probably the most sexiest animate lib I've ever seen in my life.
 Porting this to jQuery would be the PERFECT addition to jQuery's css
 parsing
 possiblities.
 
 What do you think?
 
 -- 
 Paul Bakaus
 Web Developer
 
 Hildastr. 35
 79102 Freiburg
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/New-way-of-animating-tf2568944.html#a7200630
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] New way of animating

2006-11-06 Thread Dan Atkinson

That's what I'm getting at though...

The stuff on that site... It's been done in jQuery already.

Still, I suppose if you make enough examples of everythin everyone else has
done, and then throw jQuery's own killer features, then we might get more
converts! :D

There's plenty of cool stuff out there that we should push more and more.

Like this, that I've been trying to do some work on for a few days (p.s.
it's knackered right now):
http://www.nabble.com/file/3990/test.zip test.zip 


Rey Bango-2 wrote:
 
 Well, I guess we disagree again.
 
 In my opinion, if someone has created something very cool, then I don't 
 see why people shouldn't try to replicate it using their favorite library.
 
 In this case, if Paul created a page showing how this could be done in 
 jQuery, it could be put into the demo page and leveraged as a way to 
 show new users how to add those cool types of animations.
 
 Rey...
 
 Dan Atkinson wrote:
 There's a whole page of various plugins that can be attached to jQuery.
 
 http://jquery.com/plugins/
 
 In my opinion, going after individuals who show their work would not only
 be
 a childish 'me too'-ism, but it would be damaging to the reputation of
 jQuery, as it would just make people think that we don't have our own
 ideas,
 so we have to copy those of others.
 
 
 Rey Bango-2 wrote:
 
If all the animation features are in jQuery standalone, then I'm onboard 
with Dan.

What would be good, though, is if a page showing this being done in 
jQuery was created. Paul, are you up for that challenge? :o)

Rey...


Paul Bakaus wrote:


Hey guys,

has someone seen this at ajaxian? Check it out:
http://berniecode.com/writing/animator.html
This is probably the most sexiest animate lib I've ever seen in my
life.
Porting this to jQuery would be the PERFECT addition to jQuery's css
parsing
possiblities.

What do you think?

-- 
Paul Bakaus
Web Developer

Hildastr. 35
79102 Freiburg

___
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/
 
 

-- 
View this message in context: 
http://www.nabble.com/New-way-of-animating-tf2568944.html#a7202332
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] I hate coding! (was:Star Rating Plugin?)

2006-11-05 Thread Dan Atkinson

You won't make many friends making such statements as that.

First off, you've got my ire, because you think HTML is for kids, and yet
you're clearly unable to write it yourself. Why the XML declaration is in
there is beyond me. Besides, JavaScript and HTML go hand in hand.

Secondly, there isn't any JavaScript degradation. In other words, if a user
chooses not to/cannot use JS, then they're stuck. That's not practical.



Ⓙⓐⓚⓔ wrote:
 
 I hate coding HTML... it's for the kids in the industry,
 
 I LOVE coding jquery it's what differentiates us from the kids.
 
 For star rating, I knew all the html I wanted to code was:
   rate me stars.cgi?question=entry1 ✰ ! !-- those are just  utf-8
 encoded stars --
 
 Real simple.
 
 All I had to do was slap some jquery on it and it was fully functional!
 
 my idea became a functioning plugin  prototype.
 
 take a look at   http://cigar.dynalias.org/stars.html
 
 All jq, and very little html. (and a bit of vanilla Perl CGI)
 
 I love coding in jquery... it's almost a religious (yeah I said that)
 experience!
 
 99% makes sense. 1% may need a reformation.
 
 Somehow, I'd bet many of you feel the same way.
 
 Special thanks to John Resig  the heavy hitters!
 
 -- 
 Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/I-hate-coding%21-%28was%3AStar-Rating-Plugin-%29-tf2576463.html#a7184457
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] IE Stylesheet API

2006-11-03 Thread Dan Atkinson

Ahh... Where would we be without quirksmode?!

That's a great resource for DOM.



Brandon Aaron wrote:
 
 This is as close as I got:
 http://www.nabble.com/Style-sheet-modification-snippet-tf2484859.html#a6928891
 
 I use quirksmode as my main reference:
 http://www.quirksmode.org/dom/w3c_css.html
 
 --
 Brandon Aaron
 
 On 11/2/06, Yehuda Katz [EMAIL PROTECTED] wrote:
 Anyone know where I can find the equivalent of:
 http://developer.mozilla.org/en/docs/DOM:stylesheet for IE
 (Safari/Opera?)

 --
 Yehuda Katz
 Web Developer | Wycats Designs
 (ph)  718.877.1325
 ___
 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/IE-Stylesheet-API-tf2563740.html#a7155290
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Getting the favicon of an iframe?

2006-11-02 Thread Dan Atkinson

Oh, I know! I made subsequent changes, but I basically ripped the code from
various sources as an example. I've since refined it and it works much
better now.


wycats wrote:
 
 The drag/drop action is very choppy in FF Mac. Haven't tested in other
 browsers.
 
 -- Yehuda
 
 On 11/1/06, Dan Atkinson [EMAIL PROTECTED] wrote:


 Hey there!

 Last night, I wrote something really simple (and buggy) for my collegue,
 to
 demonstate how quickly one could write something fairly powerful in
 jQuery.
 The result was  http://www.dan-atkinson.com/jQuery/jStatus/index.html
 this
 .
 I intend to flesh it out, but it was a demonstration of something much
 bigger. It's more or less a draggable, resizable (dodgy), minimizable
 iframe
 thickbox. The status bar image was done as a joke because it looked too
 much
 like Windows dialog boxes.

 Anyway, what I really wanted to do, was do a search of the iframe content
 for a favicon.ico link, and use it (or the link) as the icon for the
 floating window so that it would look a little nicer. Sure, it's a vanity
 thing, but I wasn't sure if it could have been done or not.

 Anyway, here's me asking! :)

 P.S. Sorry for the direct link to jQuery and Interface. I couldn't upload
 the correct files to my FTP server (I had to manually edit the
 pre-existing
 html file in my browser) as my work has extremely limited FTP permissions
 (even to me - a web developer (hmm... web dev... no FTP?!) :-().

 When I get onto my PC at home, I'll download the respective files and
 upload
 them to the server.

 Also, you can see that in the commenting I've been trying to fix the
 iframe
 width issue which is CSS'd by percentage, instead of static values. Any
 help
 there would be appreciated!

 Cheers,

 Dan
 --
 View this message in context:
 http://www.nabble.com/Getting-the-favicon-of-an-iframe--tf2550916.html#a7109907
 Sent from the JQuery mailing list archive at Nabble.com.


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

 
 
 
 -- 
 Yehuda Katz
 Web Developer | Wycats Designs
 (ph)  718.877.1325
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Getting-the-favicon-of-an-iframe--tf2550916.html#a7129421
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Don't forget accessibility

2006-11-02 Thread Dan Atkinson


dave.methvin wrote:
 
 For a real eye opener, unplug your mouse for a day and try to use some of
 the Web 2.0 pages people are building. 
 

Another great eyeopener would be unplugging your monitor for the day and
trying to play a game of solitaire.

But enough about geeky drinking games...  Maybe we could include some links
to Bobby:
http://webxact.watchfire.com/

What really winds me up is when some people come up with simple demos, but
don't bother to actually make it valid XHTML.
-- 
View this message in context: 
http://www.nabble.com/Don%27t-forget-accessibility-tf2547481.html#a7135571
Sent from the JQuery mailing list archive at Nabble.com.


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


[jQuery] Getting the favicon of an iframe?

2006-11-01 Thread Dan Atkinson

Hey there!

Last night, I wrote something really simple (and buggy) for my collegue, to
demonstate how quickly one could write something fairly powerful in jQuery.
The result was  http://www.dan-atkinson.com/jQuery/jStatus/index.html this .
I intend to flesh it out, but it was a demonstration of something much
bigger. It's more or less a draggable, resizable (dodgy), minimizable iframe
thickbox. The status bar image was done as a joke because it looked too much
like Windows dialog boxes.

Anyway, what I really wanted to do, was do a search of the iframe content
for a favicon.ico link, and use it (or the link) as the icon for the
floating window so that it would look a little nicer. Sure, it's a vanity
thing, but I wasn't sure if it could have been done or not.

Anyway, here's me asking! :)

P.S. Sorry for the direct link to jQuery and Interface. I couldn't upload
the correct files to my FTP server (I had to manually edit the pre-existing
html file in my browser) as my work has extremely limited FTP permissions
(even to me - a web developer (hmm... web dev... no FTP?!) :-().

When I get onto my PC at home, I'll download the respective files and upload
them to the server.

Also, you can see that in the commenting I've been trying to fix the iframe
width issue which is CSS'd by percentage, instead of static values. Any help
there would be appreciated!

Cheers,

Dan
-- 
View this message in context: 
http://www.nabble.com/Getting-the-favicon-of-an-iframe--tf2550916.html#a7109907
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Widget Pack and Magazine Issue 2

2006-10-31 Thread Dan Atkinson

Hey,

I think it's tomorrow now. I'm just wondering what you've decided to put
together for the widget pack?

Cheers


wycats wrote:
 
 Hey guys,
 
 I've made some progress collecting widgets for the Visual jQuery Widget
 Pack. I will be posting later today with a list of what I've come up with
 so
 far, and hopefully get additions that I've missed.
 
 For me, the notion of a widget means something that can easily be
 converted
 into markup (a la thickbox). In other words, it should be easy to create
 markup that will convert regular HTML into the widget.
 
 I'm going to release the second issue of the Magazine once the widget pack
 is done (think, a virtual cover CD ;)) so keep an eye out sometime in the
 next few weeks.
 
 Oh, and participate in the jQuery button contest!
 
 -- 
 Yehuda Katz
 Web Developer | Wycats Designs
 (ph)  718.877.1325
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Widget-Pack-and-Magazine-Issue-2-tf2540359.html#a7092937
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] New Plugin: Xpander

2006-10-29 Thread Dan Atkinson

Thanks for looking.

The same thing pretty much happens.

I can get it working with an iframe, but then I get an ugly border around
it.


Sean O wrote:
 
 Dan,
 
 
 FWIW, my Firefox 2.0 throws an Exception (viewable in Firebug):
 [Exception... 'Permission denied to call method XMLHttpRequest.open' when
 calling method: [nsIDOMEventListener::handleEvent] nsresult: 0x8057001e
 (NS_ERROR_XPC_JS_THREW_STRING) location: unknown data: no]
 
 The XPander effect still displays, but shows raw binary data
 (GIF89anOOO???...), for your donate.gif image, rather than the image
 itself.
 
 Opera 9 does mostly the same thing, but only shows the first line of raw
 binary data (vs. 9 for FF2).
 
 With IE7 and IE6, I get the same unknown runtime error on page load. 
 The expanding/collapsing works, but nothing is displayed in the content
 area.
 
 
 What happens when you do a simple show/hide blindup/blinddown routine?
 
 
 
 SEAN O
 
 
 
 Dan Atkinson wrote:
 
 Hey there.
 
 I'm trying this out on a fresh Wordpress install
 (http://www.guerillaweb.net/home/) but I'm having MAJOR troubles trying
 to integrate Xpander, in that it crashes -every single time- in Firefox
 2.0 and reports 'unknown runtime error' in IE7.
 
 I've looked at the code, and there isn't a reason that I can see for this
 to crash, since it's simply creating an element next to the href, and
 loading the HTML into it.
 
 Anyway, in the page I linked to, there are two links ('show comments' (an
 image, and nothing more), and 'show comments' (a Wordpress link (which,
 incidentally, doesn't contain the name of the page, just the
 querystring))).
 
 Clicking either link makes Firefox crash. IE7 'appears' to work, as it
 seems to go through the motions. Unfortunately, it doesn't seem to do
 anything else.
 
 Once I get the developers toolbar on here, with the script debugger, I'll
 be able to test more thoroughly. But for now, I'm stumped.
 
 Anyone have any ideas?
 
 Cheers,
 
 Dan
 
 Edit: Actually. I was wrong. And not in a good way. It seems that, even
 the Xpander page crashes Firefox 2.0 80% of the time. I tried it on my
 girlfriend's computer, and it was the same for her. She doesn't have any
 extensions/add-ons on her Firefox 2. One of my first thoughts was one of
 my add-ons interfering in some way, but that's not the case.
 
 Her IE6 doesn't have a problem though.
 
 
 
 Jeffrey McClure-3 wrote:
 
 I've just added a new plugin, in its early stages, that will display
 standard links as inline toggling divs.
 
 http://jquery.com/docs/Plugins/Xpander/
 
 I'm still new to this process, so any comments/feedback would be
 appreciated.
 
 Thanks
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/New-Plugin%3A-Xpander-tf2411102.html#a7060243
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] New Plugin: Xpander

2006-10-28 Thread Dan Atkinson

Hey there.

I'm trying this out on a fresh Wordpress install
(http://www.guerillaweb.net/home/) but I'm having MAJOR troubles trying to
integrate Xpander, in that it crashes -every single time- in Firefox 2.0 and
reports 'unknown runtime error' in IE7.

I've looked at the code, and there isn't a reason that I can see for this to
crash, since it's simply creating an element next to the href, and loading
the HTML into it.

Anyway, in the page I linked to, there are two links ('show comments' (an
image, and nothing more), and 'show comments' (a Wordpress link (which,
incidentally, doesn't contain the name of the page, just the querystring))).

Clicking either link makes Firefox crash. IE7 'appears' to work, as it seems
to go through the motions. Unfortunately, it doesn't seem to do anything
else.

Once I get the developers toolbar on here, with the script debugger, I'll be
able to test more thoroughly. But for now, I'm stumped.

Anyone have any ideas?

Cheers,

Dan








Jeffrey McClure-3 wrote:
 
 I've just added a new plugin, in its early stages, that will display
 standard links as inline toggling divs.
 
 http://jquery.com/docs/Plugins/Xpander/
 
 I'm still new to this process, so any comments/feedback would be
 appreciated.
 
 Thanks
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/New-Plugin%3A-Xpander-tf2411102.html#a7054906
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Dan Atkinson

I'm not sure about the technical merit of drawing 100 circles on a screen to
drag around, or what the point of it would be. The same thing could be
achieved with jQuery and draggables in Interface. The result wouldn't be
large files, and it would be quicker.

The clock would be nice, but isn't exactly very useful as this has been done
for years in JS. Also, it absolutely killed my PC (a dev PC) when I opened
the link. Firefox just hung for a minute while it loaded a clock. That's not
a good sign. It's not like I was doing much at the time (except browsing BBC
News).

The workflow demo on the other hand... Well, yes. That's definitely
something special, and quite doable if someone took the time out to create
something like that.

I think that sessions would be able to be saved by writing a cookie with the
location of various elements.


Stephen Woodbridge wrote:
 
 Anyone up to porting some of this to jQuery?
 
 http://archive.dojotoolkit.org/nightly/demos/gfx/circles.html
 http://archive.dojotoolkit.org/nightly/demos/gfx/clock.html
 
 http://www.mxgraph.com/demo/mxgraph-web/web/mxWorkflow-Demo.html
 
 -Steve
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Oooh%21-These-are-pretty%21-tf2514891.html#a7028131
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] PLUGIN: In place AJAX editing of TableSorter

2006-10-25 Thread Dan Atkinson

Hey!

I really like this! Would it be possible to have something check if a field
has been modified, before saving it?

That way, you're not needlessly updating information for a value that hasn't
changed.

Cheers.



Brice Burgess wrote:
 
 jQ gurus -
 
   I've been working on a plugin for Christian Bach's tablesorter that we 
 all hold so dearly ;) It's actually my first real jQ plugin, and as 
 such, there's a few technical hurdles I'm facing.
 
   For starters; I'm not quite sure the architecture of the plugin is 
 SANE. I've run across an issue in IE (Safari NOT tested -- FF 1.5 works 
 fine) where it seems that calling $.unbind() on an element  then 
 rebinding the same event (click) causes IE to loop execution of the 
 event? If anyone could peep over my code  provide comments on 
 fixes/improvements I'd feel a lot better! :)
 
   I've made a simple demonstration page for the IE unbind issue;
 http://dev.iceburg.net/jquery/tableEditor/rebind.html  (view source)
 
   And for those that are curious to see in place editing of a 
 tableSorter table, I've put up a demo page;
 http://dev.iceburg.net/jquery/tableEditor/demo.php
 
   Here's an outline of behavior from the demo page
 
 ---
 On table load, assign an edit event to all elements matching the 
 configurable EVENT_LINK selector (by default; all table cell links of 
 class tsEditLink).
 
 When edit event is called, sorting table(s) is disabled and calling 
 row's cells become editable. The calling edit event link is then 
 replaced by a save event
 
 When save event is called, the datasource is updated through AJAX*, 
 sort cache is cleared on table(s), sorting is re-enabled, and an edit 
 event replaces the save event on the calling link
 
 * Input in the row is serialized. Rows are assigned a KEY (configurable 
 through ROW_KEY_SELECTOR) which is likely associated with a File line 
 number or Database primary key. Cells/Columns are assigned a name 
 (configured via the table header[th] tags) which are likely associated 
 with Database column names or CSV File cell IDs/#s
 
 
 
   Please bear in mind that this is still a work in progress, and is 
 rather kludgey at this time. I'd like to work with Christian on more 
 elegant integration with tableSorter if possible.
 
 
   Anyway, it has been awhile -- long time no talk!
 
 I hope to find all you well,
 
 ~ Brice Burgess
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/PLUGIN%3A-In-place-AJAX-editing-of-TableSorter-tf2506135.html#a6988874
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] interface: how to get canvas elements to stay visible while dragging

2006-10-25 Thread Dan Atkinson

Are you referring to ghosting like in the demo?

http://interface.eyecon.ro/demos/drag.html


Andy Triboletti wrote:
 
 I would like to drag a canvas element around, and have the screen updated
 while dragging it like it does with a div.  The code below lets me drag
 the
 canvas, but the screen does not update while the drag is happening, it
 only
 displays the rectangle after the drop.  The canvas disapears while the
 drag
 is happening.  Does anyone have any ideas about how to do this, maybe
 using
 onDrag?
 
 Thanks!
 
 canvas = document.createElement(canvas);
 canvas.setAttribute('id', 'canvas');
 ctx = canvas.getContext(2d);
 canvas.height=300;
 canvas.width=300;
 ctx.fillRect (10, 10, 55, 50);
 document.body.appendChild(canvas);
 $('#canvas').Draggable();
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/interface%3A-how-to-get-canvas-elements-to-stay-visible-while-dragging--tf2506561.html#a6989499
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Window Dialogues

2006-10-24 Thread Dan Atkinson

One that's already done in a way.

Uses the pre-existing thickbox though.

http://bryanbuchs.com/tb_dialog/


wycats wrote:
 
 Anyone know of any good movable, expandable and minimzable window dialogs
 (like http://prototype-window.xilinus.com/index.html for Prototype)
 
 -- 
 Yehuda Katz
 Web Developer | Wycats Designs
 (ph)  718.877.1325
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Window-Dialogues-tf2499177.html#a6976612
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] expand one - collapse the others

2006-10-23 Thread Dan Atkinson

How bout doing $().toggle?

Also,

$(p).addClass(classname); -- that will add a class.


badtant wrote:
 
 hi! i have the following list:
 
 ul
 li
 h2Kapitalförsäkring/h2
 p class=question- q/p
 p class=answera/p
 /li
 
 li
 h2Kapitalpension/h2
 p class=question- q/p
 p class=answera/p
 /li
 /ul
 
 the class answer has the css display:none. what i want to do with it is
 that when someone clicks a question the answer should be shown and all
 other answers should be hidden. to show an answer i have the class show.
 i know how to remove the class from all answers with
 $(p.answer).removeClass(show); but i don't know how to add the class
 again for the right answer. any idéas on this?
 
 thanks!
 /niklas
 

-- 
View this message in context: 
http://www.nabble.com/expand-one---collapse-the-others-tf2493260.html#a6954269
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] mouse gestures?

2006-10-20 Thread Dan Atkinson

That looks like it determines the position of the mouse on the page on
mouseDown, and then has a look on mouseUp and does a calculation with a
tolerance for minute movements.

I'm guessing it's that simple, because you can trick it by holding the mouse
button down (keeping it still) but moving the page up or down with the
cursor.

Either way, the amount of script needed for this seems excessive (unless
that's normal for YUI  :-S ).



Armand Datema wrote:
 
 just found another example
 
 YUI this time
 
 http://blog.davglass.com/files/yui/gestures/
 
 On 10/2/06, Dan Atkinson [EMAIL PROTECTED] wrote:

 http://www.xs4all.nl/~peterned/


 Armand Datema wrote:
 
  there was a good script once that used mouse gestures
 
  it was from a dutch guy his site was called peterned  but i couldnt
  find it back anymore
 
  Armand
 
  Armand Datema
  CTO SchwingSoft
 
 --
 View this message in context:
 http://www.nabble.com/mouse-gestures--tf2359444.html#a6604702
 Sent from the JQuery mailing list archive at Nabble.com.


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

 
 
 -- 
 Armand Datema
 CTO SchwingSoft
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/mouse-gestures--tf2359444.html#a6912269
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Extended tabs in Thickbox iframe

2006-10-20 Thread Dan Atkinson

Do you have a link to a (non)working example that you can put on the web?

bmckenzie wrote:
 
 Hello.
 
 I've run into a problem combining two plugins. When displaying a page
 that uses the extended tabs plugin jq-tabs v 0.9 
 (http://jquery.com/docs/Plugins/ExtendedTabs/) in an iframe
 created by Thickbox v.2.1, the tabs don't work, and I get this error:
 
 document.defaultView.getComputedStyle(this, ) has no properties
 
 Could this be a versioning problem? Suggestions appreciated.
 Thx
 -- 
 Bruce
 http://www.2MinuteExplainer.com
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Extended-tabs-in-Thickbox-iframe-tf2480235.html#a6917265
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Animated Menu

2006-10-19 Thread Dan Atkinson

Something like:

http://jquery.com/docs/Plugins/limitQueue/

This allows you to limit the queue length.

Steve Urmston wrote:
 
 Hi folks
 
 I've been trying to build a menu where an image follows to match the
 hovered
 link
 
 Example: http://clearbar.co.uk/navtest.html
 
 Problem is the animate effects queue up, thus moving mouse fast can stack
 up
 pretty high.
 
 Anyone know how I could get around this, or think of a better way to
 achieve
 this effect?
 
 Cheers,
 Steven
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Animated-Menu-tf2473451.html#a6899861
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] ThickBox in Filemanager

2006-10-18 Thread Dan Atkinson

PDFs in object tags have numerous problems and the widespread consensus is
generally not to use such things.

PDFs in iframes are possible (https://secure.marketech.us/php/framedemo/),
and I might just retract what I said earlier if I can get a PDF to open in a
thickbox iframe.


Michael Geary wrote:
 
 Well, as I've already said, you won't be able to show the PDF 
 in a thickbox, because the OS/browser will catch the link and 
 try to open it using the default action set in the browser or 
 OS, and there's nothing that you can do to override it. If no 
 default action is set, then you -might- be able to open it in 
 the browser. But let's be honest, the percentage of users 
 without a PDF reader is pretty small (probably the same 
 percentage as those browsing the web on an Amiga 1200. :-)
 
 As far as I know, there is no ability to read PDF's inline 
 like you're trying to do, and trying to force PDFs to open in 
 a small window just isn't practical, and users won't like it 
 if you force it upon them.
 
 If you can load HTML into the thickbox, you can easily load a PDF file.
 Simply use an iframe or object tag. For some examples:
 
 http://www.google.com/search?num=100q=pdf+iframe
 
 http://www.google.com/search?num=100q=pdf+%22object+tag%22
 
 -Mike
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/ThickBox-in-Filemanager-tf2455670.html#a6871575
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Thickbox Extensions - Dialog Monolog [REPOST]

2006-10-18 Thread Dan Atkinson

Loving it loving it! I called my creation jAlert, which has similar
functionality, but I never implemented the monolog.


bbuchs wrote:
 
 [Original message ended up in the API Discussion thread - sorry!]
 
 I'm a big, big fan of Cody's Thickbox script. I'm using it for a web app 
 I've been building, and it's fantastic.
 
 I wanted/needed a script that worked similarly for custom dialog boxes
 (OK/Cancel). Since Thickbox was already doing most of the heavy
 lifting, I wrote up some functions that tap into it and handle the
 dialogs.
 
 Something else I've been working on is a Monolog box, which I read
 about on the Humanized weblog [1]. Essentially, it's for displaying a
 transient status message to the user that doesn't really require any
 input. Again, I tapped into Thickbox for this one.
 
 Demos and source files are available at:
 
 http://bryanbuchs.com/tb_dialog/
 
 Feedback  Suggestions welcomed.
 
   - Bryan
 
 ---
 
 [1]
 http://www.humanized.com/weblog/2006/09/11/monolog_boxes_and_transparent_messages/
  
 

-- 
View this message in context: 
http://www.nabble.com/Thickbox-%22Extensions%22---Dialog---Monolog--REPOST--tf2455591.html#a6872932
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] ThickBox in Filemanager

2006-10-17 Thread Dan Atkinson

I'm not sure how it all works fine if it doesn't work at all...

As far as I can tell, you open a thickbox for links like xls and doc files,
and the browser tries to save it. Or open it in its default application.

This is because saving or opening is the default action of the browser for
that particular filetype. This is also the reason why your PDF link will not
work.

Even if it worked, the user would still need to have the appropriate
programs on their computer to view them.


Olaf wrote:
 
 Hi at all,
 i will Thickbox use in a Filemananger (CMS), all works fine. The Problem
 is that, it cane various Files stored. *.xls *.doc or others.
 When click of this types is PopUp open and Downloaddialog is open, can i
 say is this types than no PopUP!??
 
 With *.zip all to late ;) then freeze Firefox 1.5
 
 Other question, i have Links so:
 http://localhost/***/media/ank.pdf?KeepThis=trueamp;TB_iframe=trueamp;height=500amp;width=800
 
 The Autor write on ThickboxDemo Site this works, do it not for me. What to
 do?
 
 

-- 
View this message in context: 
http://www.nabble.com/ThickBox-in-Filemanager-tf2455670.html#a6851687
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] prototype-and-jquery-benchmarked

2006-10-17 Thread Dan Atkinson

Ugh... Please do a quick search. :(

http://www.nabble.com/Benchmark%3A-Prototype-and-jQuery-tf2449929.html


MI JIN KIM wrote:
 
 http://claudio.cicali.org/article/100/prototype-and-jquery-benchmarked
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/prototype-and-jquery-benchmarked-tf2457336.html#a6852459
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] jquery snapshots

2006-10-17 Thread Dan Atkinson

What's wrong with building it?

Mika Tuupola wrote:
 
 
 On Oct 16, 2006, at 17:14, Dan Atkinson wrote:
 
 Use the SVN version if you want to do that sort of thing.

 http://jquery.com/src/ - Shows you the SVN access address.
 
 AFAIK this has to be built first before it is usable. I am looking  
 for readily built snapshot.
 
 -- 
 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/jquery-snapshots-tf2451918.html#a6854371
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] jquery snapshots

2006-10-17 Thread Dan Atkinson

No. Not that I know of. Mainly because, if people wanted the bleeding edge
version of something, then they generally want it for dev work. In which
case, it's usually best that it's distributed in its original form.

Of course, you could always build it at your end. But this clearly seems too
much hassle for you if you want it now now now ;-)


Mika Tuupola wrote:
 
 
 On Oct 17, 2006, at 15:45, Dan Atkinson wrote:
 
 What's wrong with building it?
 
 Argh... There is nothing wrong with building it. I just had one very  
 simple question. Is there a snapshot (not svn checkout) available  
 somewhere? So it seems there is not.
 
 -- 
 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/jquery-snapshots-tf2451918.html#a6854823
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] ThickBox in Filemanager

2006-10-17 Thread Dan Atkinson

Well, as I've already said, you won't be able to show the PDF in a thickbox,
because the OS/browser will catch the link and try to open it using the
default action set in the browser or OS, and there's nothing that you can do
to override it. If no default action is set, then you -might- be able to
open it in the browser. But let's be honest, the percentage of users without
a PDF reader is pretty small (probably the same percentage as those browsing
the web on an Amiga 1200. :-)

As far as I know, there is no ability to read PDF's inline like you're
trying to do, and trying to force PDFs to open in a small window just isn't
practical, and users won't like it if you force it upon them.

At the end of the day, I'm really not sure that you can override the
browsers default file actions because it borders on security (for example,
if this wasn't true, what's to stop a malicious programmer from malforming
JS to open executables without your permission?).


Olaf wrote:
 
 Dan Atkinson schrieb:
 I'm not sure how it all works fine if it doesn't work at all...
 
 Oh, sorry.
 
 I work on the Script. I have mutch change.
 
 1 Demo says more than 1000 (english) Words  ;)
 Look this:
 http://olaf-bosch.de/bugs/jquery/fileman/
 
 Works fine with this Types what i have say what to do in the jquer_box.js
 
 Now i search for a method to call all other types.
 For this is enough a Alert.
 
 Can help?
 
 
 -- 
 Viele Grüße, Olaf
 
 ---
 [EMAIL PROTECTED]
 http://olaf-bosch.de
 www.akitafreund.de
 ---
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/ThickBox-in-Filemanager-tf2455670.html#a6864654
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Dragging multiple selected items using selectables, idrag and idrop

2006-10-16 Thread Dan Atkinson

Well, selecting is already shown in selectables
(http://interface.eyecon.ro/demos/select.html), so I'm not going to go into
that, but you could group these elements by giving them all a related class
from which to drag.

For example, here are 5 different elements:

div id=foo class=box1blah/div
div id=fooey class=box2blagh/div
div id=foofoo class=box3blargh/div
div id=fee class=box4blahfeeb/div
div id=feefee class=box5blahfoo/div


All are different in every way (except that that are all divs).

Soo...

Let's say that when you select an element, you change the class of each
element by appending a class onto the end.

So, by selecting the second, third and fifth element, your divs are like
this:

div id=foo class=box1 divselectblah/div
div id=fooey class=box2blagh/div
div id=foofoo class=box3 divselectblargh/div
div id=fee class=box4blahfeeb/div
div id=feefee class=box5 divselectblahfoo/div

They then share a similar div class which could then be applied to the
draggable function.


Danial Taherzadeh wrote:
 
 Hey All,
 
 I am pretty new to jQuery (though used scr+proto much).
 
 I was wondering how to solve such a task:
 
 There are several DIVs, like pictures. User uses the mouse to select
 some of the pictures and then drags them to trashcan. All parts I can
 do except how to make the selected pictures draggable and move them
 all together.
 
 All your ideas are highly welcome.
 
 Regards,
 Danial
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Dragging-multiple-selected-items-using-selectables%2C-idrag-and-idrop-tf2450570.html#a6831640
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Interface Draggable problem

2006-10-16 Thread Dan Atkinson

You could try manually re-setting the overflow on revert.

It would be a temporary solution.

nezza wrote:
 
 I have a list of draggable article divs inside a container div.
 The container div is styled with an overflow: auto to allow users to
 scroll up and down and view the articles within.
 
 When I drag an article, I've enabled the revert property so that it
 snaps back if not dropped on an appropriate place. The problem is that
 when it reverts, it breaks the overflow of the container div. When you
 now scroll, the previously dragged article appears to be outside the
 container div!!
 
 It does revert back to its original location however?
 
 Any ideas?
 

-- 
View this message in context: 
http://www.nabble.com/Interface-Draggable-problem-tf2451893.html#a6834814
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] jquery snapshots

2006-10-16 Thread Dan Atkinson

Use the SVN version if you want to do that sort of thing.

http://jquery.com/src/ - Shows you the SVN access address.



Mika Tuupola wrote:
 
 
 Is it possible to download a nightly snapshot of jquery somewhere? I  
 would like to test recent bugfixes. Especially those affecting $ 
 (document).load(). Although using $(window).load() instead works fine  
 with FF and Safari, I still have problems with Windows IE.
 
 -- 
 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/jquery-snapshots-tf2451918.html#a6835339
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Column totals in sortable table

2006-10-15 Thread Dan Atkinson

Put them in the table footer and sort only the table body?


bmckenzie wrote:
 
 What's an efficient way to keep column totals at the bottom of a table 
 sorted with the tableSorter plugin?
 
 Thanks.
 
 -- 
 Bruce
 http://www.2MinuteExplainer.com
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Column-totals-in-sortable-table-tf2442517.html#a6824946
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] New site launched using jQuery

2006-10-13 Thread Dan Atkinson

It looks cool!

It's a shame that they don't have it in my language though - En-GB. :/   :P

Having Show('slow') would definitely make the menu animations a bit smoother
though. Otherwise, very cool!


Brandon Aaron wrote:
 
 We just relaunched the Age of Empires III Community website with a new
 skin. I used jQuery and the DOM Builder plugin for the navigation and
 for the styled HRs. I threw the nav together pretty quick ... so it is
 a bit ineffiecient but developer performance was at an all time high
 and it works. :)
 
 http://www.agecommunity.com/
 
 The hasClass addition at the bottom of application.js was before I
 found out about the is method.
 
 --
 Brandon Aaron
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/New-site-launched-using-jQuery-tf2431255.html#a6792904
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] jQuery leaks...

2006-10-13 Thread Dan Atkinson

Yeah, there is already discussion about that particular article (which isn't
strictly accurate).

http://www.nabble.com/Fixing-jQuery%27s-Memory-Leak-tf2358975.html


Rich Manalang wrote:
 
 I was just reading Jack Slocum's article on easy ways to avoid
 javascript leaks
 (http://www.jackslocum.com/yui/2006/10/02/3-easy-steps-to-avoid-javascript-memory-leaks/).
  He mentions a FF plugin called the Leak Monitor
 (http://dbaron.org/mozilla/leak-monitor/).  I just tried this on one
 of my web apps that use jQuery... and sure enough, I found some
 leaks...
 
 Leaks in window 0x4c333a8:
 [+] [leaked object] (49afa20,
 http://myhostname/monkeygrease/lib/jquery/jquery.js, 1186-1203) =
 function () {
 if (!jQuery.isReady) {
 jQuery.isReady = true;
 if (jQuery.readyList) {
 for (var i = 0; i  jQuery.readyList.length; i++) {
 jQuery.readyList[i].apply(document);
 }
 jQuery.readyList = null;
 }
 if (jQuery.browser.mozilla || jQuery.browser.opera) {
 document.removeEventListener(DOMContentLoaded,
 jQuery.ready, false);
 }
 }
 }
  [ ] guid = 1
  [ ] prototype (1f7b208) = [object Object]
 
 I need to track down the cause, but just wondering if anyone's had
 leak problems with jQuery?
 
 Rich
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/jQuery-leaks...-tf2434894.html#a6792932
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Greybox Redux (Reworked)

2006-10-13 Thread Dan Atkinson

Hey there,

Can you provide a demo link of it, please?

Cheers,

Dan


Benjamin Yu wrote:
 
 Hi, I just wanted to submit this rewrite of the greybox redux for
 comment/publication. I did the following major changes:
 
 1. Rewrote the internals to conform to jQuery's plugin conventions.
 2. reduced 'global' variables into hidden settings, configurable by
 passing an options dictionary.
 3. added an option to disable users from closing the greybox via
 clicking the overlay.
 4. added a callback mechanism when a user closes the greybox.
 
 The reworked files is attached to this email.
 
 Cheers,
 Ben
 
 --
 Blog: http://badpopcorn.com/
 Homepage: http://foofiles.com/
 
 /* Greybox Redux
  * Required: http://jquery.com/
  * Written by: John Resig
  * Based on code by: 4mir Salihefendic (http://amix.dk)
  * License: LGPL (read more in LGPL.txt)
  */
 
 (function() {
   var GB_DONE = false;
 
   var settings = {
 close_img: close.gif,
 height: 400,
 width: 400,
 animation: false,
 overlay_clickable: true,
 callback: null,
 caption: 
   };
 
   jQuery.GB_show = function(url, options) {
 settings = jQuery.extend(settings, options || {});
 
 if(!GB_DONE) {
   jQuery(document.body)
 .append(
   div id='GB_overlay'/div +
   div id='GB_window'div id='GB_caption'/div +
 + settings.close_img +  /div);
   jQuery(#GB_window img).click(jQuery.GB_hide);
   if(settings.overlay_clickable) {
 jQuery(#GB_overlay).click(jQuery.GB_hide);
   }
   jQuery(window).resize(jQuery.GB_position);
   GB_DONE = true;
 }
 
 jQuery(#GB_frame).remove();
 jQuery(#GB_window).append(iframe id='GB_frame'
 src='+url+'/iframe);
 
 jQuery(#GB_caption).html(settings.caption);
 jQuery(#GB_overlay).show();
 jQuery.GB_position();
 
 if(settings.animation)
   jQuery(#GB_window).slideDown(slow);
 else
   jQuery(#GB_window).show();
   }
 
   jQuery.GB_hide = function() {
 jQuery(#GB_window,#GB_overlay).hide();
 if(settings.callback  typeof(settings.callback) == 'function') {
   settings.callback.apply();
 }
   }
 
   jQuery.GB_position = function() {
 var de = document.documentElement;
 var w = jQuery(body).width();
 jQuery(#GB_window).css({
   width: settings.width+px,
   height: settings.height+px,
   left: ((w - settings.width)/2)+px });
 jQuery(#GB_frame).css(height,settings.height - 32 +px);
   }
 
 })();
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Greybox-Redux-%28Reworked%29-tf2435353.html#a6793265
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Cheat Sheet?

2006-10-09 Thread Dan Atkinson

FYI: Every single one of those links leads to a 'forbidden' page.

Karl Swedberg-2 wrote:
 
 On Oct 6, 2006, at 11:41 PM, Rey Bango wrote:
 I recall a JQuery cheat sheet floating around. Anyone have the link  
 to that?
 
 Hi Rey,
 
 They came from Nilesh Patel.
 
 PDF
 http://www.define-web.com/jquery_cheat_sheet/ 
 jquery_cheat_sheet_080306_v1.pdf
 http://www.define-web.com/jquery_cheat_sheet/ 
 jquery_cheat_sheet_080306_v1_pg2.pdf
 
 PNG
 http://www.define-web.com/jquery_cheat_sheet/ 
 jquery_cheat_sheet_080306_v1.png
 http://www.define-web.com/jquery_cheat_sheet/ 
 jquery_cheat_sheet_080306_v1_pg2.png
 
 Cheers,
 Karl
 
 ___
 Karl Swedberg
 www.englishrules.com
 www.learningjquery.com
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Cheat-Sheet--tf2399270.html#a6714977
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Cheat Sheet?

2006-10-09 Thread Dan Atkinson

Lol! Oops! I can't believe I didn't see that!

Fixed:

PDF
http://www.define-web.com/jquery_cheat_sheet/jquery_cheat_sheet_080306_v1.pdf
http://www.define-web.com/jquery_cheat_sheet/jquery_cheat_sheet_080306_v1_pg2.pdf

PNG
http://www.define-web.com/jquery_cheat_sheet/jquery_cheat_sheet_080306_v1.png
http://www.define-web.com/jquery_cheat_sheet/jquery_cheat_sheet_080306_v1_pg2.png
 


Karl Swedberg-2 wrote:
 
 On Oct 9, 2006, at 6:18 AM, Dan Atkinson wrote:
 
 FYI: Every single one of those links leads to a 'forbidden' page.

 Karl Swedberg-2 wrote:

 On Oct 6, 2006, at 11:41 PM, Rey Bango wrote:
 I recall a JQuery cheat sheet floating around. Anyone have the link
 to that?

 Hi Rey,

 They came from Nilesh Patel.

 PDF
 http://www.define-web.com/jquery_cheat_sheet/
 jquery_cheat_sheet_080306_v1.pdf
 http://www.define-web.com/jquery_cheat_sheet/
 jquery_cheat_sheet_080306_v1_pg2.pdf

 PNG
 http://www.define-web.com/jquery_cheat_sheet/
 jquery_cheat_sheet_080306_v1.png
 http://www.define-web.com/jquery_cheat_sheet/
 jquery_cheat_sheet_080306_v1_pg2.png
 
 Dan, sorry about that. Actually, they work fine if you stitch the  
 first and second lines or the third and fourth lines together (for  
 PDF and for PNG). Looks like my mail client (Apple Mail) chopped the  
 URLs in half, and I'm not sure how to fix that in the Preferences.
 
 Karl
 ___
 Karl Swedberg
 www.englishrules.com
 www.learningjquery.com
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Cheat-Sheet--tf2399270.html#a6717090
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] For Brandon Aaron

2006-10-03 Thread Dan Atkinson

It's not all as black and white as that article suggests.

Whilst the user should be setting to null (or their JS framework library),
it is ultimately the responsibility of the browser to prevent memory leaks
from occuring.

Some may point to Dojo and laugh at the memory leakage in their mail client,
and they'd be right to. It is really quite bad that the library has so many
loose ends, but again, Firefox should ultimately fix these issues. IE does
this, and does it well, taking the necessity to explicity nullify out of the
heads of developers.

Why the Mozilla Foundation has waited so long to plug these particular leaks
is unknown to me, but while these problems exists, the browser is still open
to some big risks from JavaScript.

By the way, if anyone (who does software dev) has actually looked at
Firefox's JS code, they'll laugh. It's a real mess.

Also, why is this thread specifically for Brandon Aaron? I mean, this is a
mailing list, and you can email Brandon directly. If it's for everyone else,
then wouldn't 'Firefox still has multiple memory leaks, looky looky' be a
better title.


Rey Bango-2 wrote:
 
 Hey Brandon,
 
 Looks like you hit it right on the head with your new event unloader:
 
 http://www.jackslocum.com/yui/2006/10/02/3-easy-steps-to-avoid-javascript-memory-leaks/
 
 Check out point #2.
 
 Rey...
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/For-Brandon-Aaron-tf2372925.html#a6617116
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Fisheye

2006-09-30 Thread Dan Atkinson

I've got a huge smile on my face right now!

You've done a great job on this total source weighs in at about 8kb +
jQuery, which is great as iUtil.js is resuable for other functions as well.

Excellent work Stefan! Really great!

Now Dojo has one less cool thing that jQuery hasn't! ;)


Stefan Petre wrote:
 
 Sorry for starting a separate thread but the archive is broken. I wanted 
 to introduce my try of a fisheye menu. Maybe will get  a nice plugin out 
 of this
 
 http://interface.eyecon.ro/development/demos/fisheye.html
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Fisheye-tf2358922.html#a6577016
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Interface: Autocomplete fixes (attn: Stefan)

2006-09-29 Thread Dan Atkinson

Although only relevant to the example, searching for 'A coru' provides an
interesting, if cold location for Spain!

aedmonds wrote:
 
 If you've had some difficulty using the Autocompleter included in the
 wonderful interface package, I found some fixes for bugs I was
 experiencing. These bugs were happening when the input field was within a
 form and you arrow down to the selection and hit enter. The callback fired
 but after the form had been submitted :(. These couple of steps will help
 fix that.
 
 First, there are two protect methods in the iautocompleter.js code.
 Delete the protect method located on line 353. It is incomplete and will
 throw errors if the first protect method on line 210 is removed instead
 of this method.
 
 Second, on line 425 (or 411 if you deleted the second protect method),
 where the protect method is bound to the keypress... 
 
 wait a sec... that's no 'protect'. All I see is
 '.keypress(jQuery.iAuto.potect)'! you might say to yourself. If you did,
 congrats, you found the second error. If you didn't say that, don't worry.
 Just add the r to potect and the Autocompleter works like a dream.
 
 Hopefully this is updated soon (I know Stefan made an update a couple of
 days ago but nothing changed for the Autocompleter).
 
 If you have no idea what the interface package is, you can go to 
 http://interface.eyecon.ro/ http://interface.eyecon.ro/ .
 
 As always, thanks John for jQuery, and thanks Stefan for interface.
 
 -Aaron
 

-- 
View this message in context: 
http://www.nabble.com/Interface%3A-Autocomplete-fixes-%28attn%3A-Stefan%29-tf2354128.html#a6561420
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Widget Challenge

2006-09-29 Thread Dan Atkinson

Why the bottom?

Is that where the Apple menu is? I don't know, I don't have an Apple
computer.

I like the idea of cloning the icon to maintain the menu position. I'll be
honest and say that I simply don't have the JS/jQuery knowledge to clone it.

Is it just:

$(img).clone().appendTo(img);

??

That would just add it next to the image... Hmmm... No. I don't know enough
about it to do that with ease! :)


Paul Bakaus wrote:
 
 Hi Dan,
 
 some improvement idea for the page you have set up: Stick the outer
 container to the bottom of the page via position: absolute or fixed, this
 way you don't have the bumping problem for the height of the outer
 container.
 
 Other than that, I had almost the same idea you talked about, one
 additional
 idea:
 if you hover the icon, you clone the icon and stick it on top centered of
 the original (outside the original list). This way you don't alter the
 original list height and width, and it would look like a real
 magnification
 (even dojo does not have this effect!)
 
 Maybe I can work something out again, improve it a bit further.
 
 See ya!
 
 2006/9/28, Dan Atkinson [EMAIL PROTECTED]:


 As an aside,

 I wrote out this in a webpage with a few choice icons.

 It doensn't really work in IE, but I thought I'd stick your code up
 there:

 http://dan-atkinson.com/fisheye/

 Cheers,

 Dan

 Paul Bakaus wrote:
 
  Hi!
 
  I have put up a little function that does something like the fisheye
  plugin.
  However, this is only a concept, it doesn't behave like the real one.
 It
  will not detect near containers and therefore is not very smooth.
 
  the function:
 
  $.fn.fisheye = function() {
  this.each(function() {
  var fishHeight = parseInt($(img, this).height());
  var fishWidth = parseInt($(img, this).width());
 
  $(this.childNodes).hover(
  function() {
  $(this.childNodes).animate({ height: 150, width: 150 },
 200);
 
  },
  function() {
  $(this.childNodes).animate({ height: fishHeight, width:
  fishWidth }, 500);
  });
  });
  }
 
  test it like this:
  ul class=fisheye
  li http://happyday.dk/funnypics/animal/images/monkey.jpg
 /li
  li http://happyday.dk/funnypics/animal/images/monkey.jpg
 /li
  li http://happyday.dk/funnypics/animal/images/monkey.jpg
 /li
  li http://happyday.dk/funnypics/animal/images/monkey.jpg
 /li
  li http://happyday.dk/funnypics/animal/images/monkey.jpg
 /li
  /ul
 
  and style the ul like you want it. have fun.
  --
  Paul Bakaus
  Web Developer
  
  Hildastr. 35
  79102 Freiburg
 
 --
 View this message in context:
 http://www.nabble.com/Widget-Challenge-tf2341740.html#a6554195
 Sent from the JQuery mailing list archive at Nabble.com.


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

 
 
 
 -- 
 Paul Bakaus
 Web Developer
 
 Hildastr. 35
 79102 Freiburg
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Widget-Challenge-tf2341740.html#a6561209
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Widget Challenge

2006-09-29 Thread Dan Atkinson

This is exactly what I was working on last night! I have already been able to
track mouse proximity around an element (not exactly rocket science!) but I
removed the script and HTML from the page because I didn't want some folks
getting confused.

Determining its distance from dead centre, however, proves to be a
challange. But I guess it's just a case of determining the width and height
of the element, dividing the values by two, and adding that with the value
of the mouse position x and y divided by two. The closer the mouse gets to
the centre, the close to zero it gets.

Sounds simple enough! :-P


wycats wrote:
 
 It would be nice if surrounding icons to the one being hovered over also
 got
 magnified (by exponentially smaller amounts).
 
 Example:
 
 If we had an icon set of A B C D E F G
 
 And D was being hovered over, the magnifications might be as follows:
 
 A 100%
 B 120%
 C 144%
 D 172%
 E 144%
 F 120%
 G 100%
 
 What Apple does to make the effect really slick is modify the
 magnfications
 depending where on the icon the mouse is. Totally centering the mouse on
 the
 icon has equal magnification to the left and right icons, while moving the
 mouse to the left on the icon increases the magnification of the left
 icons
 and decreases it on the right.
 
 The trick would be coming up with a good way to track the mouse movements
 on
 the icon itself and an algorithm for changing the magnification, but it'd
 be
 dead sexy. I'd use it :-D
 
 -- 
 Yehuda Katz
 Web Developer | Wycats Designs
 (ph)  718.877.1325
 
-- 
View this message in context: 
http://www.nabble.com/Widget-Challenge-tf2341740.html#a6561134
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Interface: Autocomplete fixes (attn: Stefan)

2006-09-29 Thread Dan Atkinson

No worries chief! I was just being pinicky! :)

Stefan Petre wrote:
 
 When I imported the database i used a wrong version for collation
 
 2006/9/29, Dan Atkinson [EMAIL PROTECTED]:


 Although only relevant to the example, searching for 'A coru' provides an
 interesting, if cold location for Spain!

 aedmonds wrote:
 
  If you've had some difficulty using the Autocompleter included in the
  wonderful interface package, I found some fixes for bugs I was
  experiencing. These bugs were happening when the input field was within
 a
  form and you arrow down to the selection and hit enter. The callback
 fired
  but after the form had been submitted :(. These couple of steps will
 help
  fix that.
 
  First, there are two protect methods in the iautocompleter.js code.
  Delete the protect method located on line 353. It is incomplete and
 will
  throw errors if the first protect method on line 210 is removed
 instead
  of this method.
 
  Second, on line 425 (or 411 if you deleted the second protect
 method),
  where the protect method is bound to the keypress...
 
  wait a sec... that's no 'protect'. All I see is
  '.keypress(jQuery.iAuto.potect)'! you might say to yourself. If you
 did,
  congrats, you found the second error. If you didn't say that, don't
 worry.
  Just add the r to potect and the Autocompleter works like a dream.
 
  Hopefully this is updated soon (I know Stefan made an update a couple
 of
  days ago but nothing changed for the Autocompleter).
 
  If you have no idea what the interface package is, you can go to
  http://interface.eyecon.ro/ http://interface.eyecon.ro/ .
 
  As always, thanks John for jQuery, and thanks Stefan for interface.
 
  -Aaron
 

 --
 View this message in context:
 http://www.nabble.com/Interface%3A-Autocomplete-fixes-%28attn%3A-Stefan%29-tf2354128.html#a6561420
 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/Interface%3A-Autocomplete-fixes-%28attn%3A-Stefan%29-tf2354128.html#a6562538
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Widget Challenge

2006-09-29 Thread Dan Atkinson

I'll have a look at positioning now.

Also, putting a link around it seems to break it. I've messed about with it,
but all it does now is twitch! :-)

Mark Gibson-8 wrote:
 
 Dan Atkinson wrote:
 Why the bottom?
 
 Is that where the Apple menu is? I don't know, I don't have an Apple
 computer.
 
 I like the idea of cloning the icon to maintain the menu position. I'll
 be
 honest and say that I simply don't have the JS/jQuery knowledge to clone
 it.
 
 Is it just:
 
 $(img).clone().appendTo(img);
 
 ??
 
 That would just add it next to the image... Hmmm... No. I don't know
 enough
 about it to do that with ease! :)
 
 Couldn't that be done, just by changing the CSS 'position' property so
 something like 'fixed', 'absolute', or whatever (haven't had
 time to look it up!) so it no longer affects the surrounding element.
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Widget-Challenge-tf2341740.html#a6562581
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Mailing List Explosion

2006-09-29 Thread Dan Atkinson

I agree. Although you can have add-ons to most popular forums which can make
it act as a mailing list, so users can still interact without the need to
visit the forum. The searching would be a LOT easier to do in the forum
though.

John,

I'd be more than happy to help with the creation of a site/forum for
jQuery.com. I've had enough experience with Drupal and forums (both .NET and
PHP) to have a good idea of what needs doing.

Feel free to email me, if you'd like any help. In the meantime, I'll email
you! :)

Cheers,

Dan

John Resig wrote:
 
  A hosted mailing list solution is sounding more and more tempting,
  although, moving to a high-quality forum would be more productive. Any
  Drupal/PHP people wanna help me get the new jQuery site (or just the
  forum?) out the door?

 If making a forum please do not throw away the mailinglist. As a
 coder I personally find mailinglists more convenient than browsing
 forums.
 
 Same here - that's been a big requirement of mine - the transition has
 to be absolutely graceful, allowing those who want emails (me
 included) to continue receiving them.
 
 So far, only phpBB is capable of a smooth transition - unfortunately
 I'd prefer to use something that's more integrated with the rest of
 the site.
 
 --John
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Mailing-List-Explosion-tf2356417.html#a6563824
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Mailing List Explosion

2006-09-29 Thread Dan Atkinson

I use Nabble on this forum, as it threads subjects, and that's about it for
the good points. The search function has multiple errors and I often find
that messages aren't posted.

It would be sweet though, to have different forum sections as everything is
lumped into one place on this mailing list.

eg:
jQuery development
jQuery Plugins (announce/development)
jQuery Troubleshooting (jQuery and/or plugins)


Jason Huck wrote:
 
 Just a reminder that this mailing list is archived at Nabble, which
 provides a lot of the same features as a forum:
 
 http://www.nabble.com/JQuery-f15494.html
 
 - jason
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Mailing-List-Explosion-tf2356417.html#a6564723
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Mailing List Explosion

2006-09-29 Thread Dan Atkinson

Not practical enough.

There should be some form of moderation.

Not to keep out 'bad eggs', but to keep things tidy.

This isn't exactly easy to do in a Google Group, and keeping it on your own
server gives you more control over the content.

Brandon Aaron wrote:
 
 Why not setup a google group?
 
 --
 Brandon Aaron
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Mailing-List-Explosion-tf2356417.html#a6565040
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Widget Challenge

2006-09-29 Thread Dan Atkinson

Yehuda,

Can you put this on the jQuery blog page, to generate more interest, please?

It has so few articles, and something like this shouldn't be buried away in
the mailing list.

This way, we can digg the story, and bring more attention to the widget
challenge.

We could also begin a competition for a 'killer jwidget'.


wycats wrote:
 
 Dojo released a new widget today: a spreadsheet widget. and it ocurred to
 me
 that while we don't quite have anything like that yet, there are scattered
 widgets throughout the jQuerysphere. I figured it'd be nice for us to put
 together a jQuery widget package that, to the extent possible, mirrors the
 Dojo widget set.
 
 The challenge is this: where there is no existing widget, create it. The
 holy grail, at this point, would be a replication of their spreadsheet
 widget or their rich text editor widget.
 
 I'd like to put together the widget pack at some point in the next month,
 and I'll be featuring the widget pack in next month's Magazine. Theere's
 nothing requiring an exact mirror of the Dojo widgets, so feel free to
 submit widgets that are not present in Dojo.
 
 You can check out what Dojo has currently at http://dojotoolkit.org/
 
 Enjoy!
 
 -- 
 Yehuda Katz
 Web Developer | Wycats Designs
 (ph)  718.877.1325
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Widget-Challenge-tf2341740.html#a6567647
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Mailing List Explosion

2006-09-29 Thread Dan Atkinson

Old threads can also be closed.
Stickies and announcement threads can be attached to the top (for example,
unsubscribe links for the mailing list! ;) and useful links for developers
(Firebug, Web Dev toolbar etc).

Either way, I think a forum is long overdue!


Glen Lipka wrote:
 
 The nice thing about forums is the easy abilty to search.  Also, it allows
 for repeat questions to be redirected to the proper thread.
 
 Glen
 
 
 On 9/29/06, Josh [EMAIL PROTECTED] wrote:

 If your looking for good forum software check out ExpressionEngines
 Forum Module. It's top notch.. plus they have a Wiki Module as well
 that might prove useful. (www.pmachine.com/ee/)

 Josh

 On Sep 29, 2006, at 8:33 AM, Dan Atkinson wrote:

 
  Not practical enough.
 
  There should be some form of moderation.
 
  Not to keep out 'bad eggs', but to keep things tidy.
 
  This isn't exactly easy to do in a Google Group, and keeping it on
  your own
  server gives you more control over the content.
 
  Brandon Aaron wrote:
 
  Why not setup a google group?
 
  --
  Brandon Aaron
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 
 
 
  --
  View this message in context: http://www.nabble.com/Mailing-List-
  Explosion-tf2356417.html#a6565040
  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 mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Mailing-List-Explosion-tf2356417.html#a6567337
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Debug Plugin

2006-09-28 Thread Dan Atkinson

I'm not sure if this works or not. I see three grey boxes, but Firebug isn't
outputting a thing. I have the correct settings on to get messages and
output, but nothing, nada.


John Resig wrote:
 
 Hi Everyone -
 
 I'm currently down-and-out with a nasty cold, but I took a break and
 hacked up a quick plugin.  (I just realized that I've never actually
 released any plugins... oops!)
 
 Source Code:
 http://john.jquery.com/plugins/debug.js
 
 Quick test page:
 http://john.jquery.com/jquery/test/float.html
 
 Same page, but with a selector error (once you click the middle box):
 http://john.jquery.com/jquery/test/float2.html
 
 It prints out debugging information for all jQuery functions (e.g.
 $(), $().find(), $.trim(), etc.) using Firebug's console logging. It's
 obviously quite primitive, and the code is really bad, but it's
 something for now. I figure we can take this and hack it out into
 something good.
 
 --John
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Debug-Plugin-tf2347170.html#a6542522
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Debug Plugin

2006-09-28 Thread Dan Atkinson

Hmm...


Actually it does work but requires the page to refresh before it does
anything!

It looks cool John!

Dan Atkinson wrote:
 
 I'm not sure if this works or not. I see three grey boxes, but Firebug
 isn't outputting a thing. I have the correct settings on to get messages
 and output, but nothing, nada.
 
 
 John Resig wrote:
 
 Hi Everyone -
 
 I'm currently down-and-out with a nasty cold, but I took a break and
 hacked up a quick plugin.  (I just realized that I've never actually
 released any plugins... oops!)
 
 Source Code:
 http://john.jquery.com/plugins/debug.js
 
 Quick test page:
 http://john.jquery.com/jquery/test/float.html
 
 Same page, but with a selector error (once you click the middle box):
 http://john.jquery.com/jquery/test/float2.html
 
 It prints out debugging information for all jQuery functions (e.g.
 $(), $().find(), $.trim(), etc.) using Firebug's console logging. It's
 obviously quite primitive, and the code is really bad, but it's
 something for now. I figure we can take this and hack it out into
 something good.
 
 --John
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Debug-Plugin-tf2347170.html#a6543513
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] off topic - sorry but I needed =P

2006-09-28 Thread Dan Atkinson

Yes. There are several sites that can create 'web 2.0' and 'beta' logos.

Do a cursive Digg search to find a trillion and 65 stories on them.

Rafael Santos wrote:
 
 i know i should only talk about jquery but im playing here and did it. I
 think it's funny for me =O
 how easy it is to make a web2.0 logo huahuahu
 
 sorry guys... ah, if you want to, take it for u okay... =)
 
 http://hypestudio.net/fael/logo_web2.gif
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/off-topic---sorry-but-I-needed-%3DP-tf2351431.html#a6548257
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Widget Challenge

2006-09-28 Thread Dan Atkinson

As an aside,

I wrote out this in a webpage with a few choice icons.

It doensn't really work in IE, but I thought I'd stick your code up there:

http://dan-atkinson.com/fisheye/

Cheers,

Dan

Paul Bakaus wrote:
 
 Hi!
 
 I have put up a little function that does something like the fisheye
 plugin.
 However, this is only a concept, it doesn't behave like the real one. It
 will not detect near containers and therefore is not very smooth.
 
 the function:
 
 $.fn.fisheye = function() {
 this.each(function() {
 var fishHeight = parseInt($(img, this).height());
 var fishWidth = parseInt($(img, this).width());
 
 $(this.childNodes).hover(
 function() {
 $(this.childNodes).animate({ height: 150, width: 150 }, 200);
 
 },
 function() {
 $(this.childNodes).animate({ height: fishHeight, width:
 fishWidth }, 500);
 });
 });
 }
 
 test it like this:
 ul class=fisheye
 li http://happyday.dk/funnypics/animal/images/monkey.jpg /li
 li http://happyday.dk/funnypics/animal/images/monkey.jpg /li
 li http://happyday.dk/funnypics/animal/images/monkey.jpg /li
 li http://happyday.dk/funnypics/animal/images/monkey.jpg /li
 li http://happyday.dk/funnypics/animal/images/monkey.jpg /li
 /ul
 
 and style the ul like you want it. have fun.
 -- 
 Paul Bakaus
 Web Developer
 
 Hildastr. 35
 79102 Freiburg
 
-- 
View this message in context: 
http://www.nabble.com/Widget-Challenge-tf2341740.html#a6554195
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Spread jQuery Request

2006-09-27 Thread Dan Atkinson

Na. I don't smoke.

Do you mean articles that link to other articles, or chainables in terms of
code, cause I'm not sure the latter is relevent.

sunsean wrote:
 
 One word, chainables. ~Sean
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Spread-jQuery-Request-tf2333970.html#a6522530
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Spread jQuery Request

2006-09-27 Thread Dan Atkinson

Ok.

So how is this relevant to spreading jQuery?

I hope I'm the only one who's confused. :s

Jake-21 wrote:
 
 chainable the ability to chain function calls, as in
 $('#'+parm.id).slideDown(slow,function(){$('#'+parm.id).overflow(auto)});
 
 or
 var numb = this.onclick.toString().match(/press\((.*)\)/)[1];
 
 it's the dots.
 
 
 On 9/27/06, Dan Atkinson [EMAIL PROTECTED] wrote:

 Na. I don't smoke.

 Do you mean articles that link to other articles, or chainables in terms
 of
 code, cause I'm not sure the latter is relevent.

 sunsean wrote:
 
  One word, chainables. ~Sean
 
  ___
  jQuery mailing list
  discuss@jquery.com
  http://jquery.com/discuss/
 
 

 --
 View this message in context:
 http://www.nabble.com/Spread-jQuery-Request-tf2333970.html#a6522530
 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/Spread-jQuery-Request-tf2333970.html#a6522753
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Spread jQuery Request

2006-09-27 Thread Dan Atkinson

Ah right.

Yes. I see now. Unfortunately, as Klaus said, jQuery no longer has this edge
as other developers have cottoned on to this.

Klaus Hartl wrote:
 
 
 
 Dan Atkinson schrieb:
 Ok.
 
 So how is this relevant to spreading jQuery?
 
 I hope I'm the only one who's confused. :s
 
 
 It was a good concept that wasn't seen in other libraries and makes for 
 short code.
 
 By now Prorotype picked up that concept, Mootools has it and maybe other 
 libraries as well..., so I'm not sure if this is still relevant.
 
 
 -- Klaus
 
 
 
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Spread-jQuery-Request-tf2333970.html#a6522985
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Widget Challenge

2006-09-27 Thread Dan Atkinson

Paul,

That's a good start! I see what you're doing!

A larger z-indexed div could be created around each fisheye image, and a
calculation could be done to determine how far from the centre of the box
the mouse cursor is. The image can then be scaled depending on this value.
This also means that the div surrounding the image would intersect with with
the other elements as they would overlap. This should make the animation
smoother.

That's just off the top of my head however.



Paul Bakaus wrote:
 
 Hi!
 
 I have put up a little function that does something like the fisheye
 plugin.
 However, this is only a concept, it doesn't behave like the real one. It
 will not detect near containers and therefore is not very smooth.
 
 the function:
 
 $.fn.fisheye = function() {
 this.each(function() {
 var fishHeight = parseInt($(img, this).height());
 var fishWidth = parseInt($(img, this).width());
 
 $(this.childNodes).hover(
 function() {
 $(this.childNodes).animate({ height: 150, width: 150 }, 200);
 
 },
 function() {
 $(this.childNodes).animate({ height: fishHeight, width:
 fishWidth }, 500);
 });
 });
 }
 
 test it like this:
 ul class=fisheye
 li http://happyday.dk/funnypics/animal/images/monkey.jpg /li
 li http://happyday.dk/funnypics/animal/images/monkey.jpg /li
 li http://happyday.dk/funnypics/animal/images/monkey.jpg /li
 li http://happyday.dk/funnypics/animal/images/monkey.jpg /li
 li http://happyday.dk/funnypics/animal/images/monkey.jpg /li
 /ul
 
 and style the ul like you want it. have fun.
 -- 
 Paul Bakaus
 Web Developer
 
 Hildastr. 35
 79102 Freiburg
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Widget-Challenge-tf2341740.html#a6528643
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Request: Window plugin

2006-09-27 Thread Dan Atkinson

Yeah, I got involved with JavaWin a while back but moved on after I found
jQuery. You can still see my name as one of the contributors!

I'm looking to emulate that in jQuery (under the name of jAlerts/jWindows)
for some time.

The basic functionality is already available in thickbox, so it'll probably
be easier to expand that.

I've already done the dragging and minimizing (using Interface), so that's
about 2% done! :)


Rey Bango-2 wrote:
 
 I found this Prototype window plugin and was wondering if there's 
 something like this available for JQuery users:
 
 http://prototype-window.xilinus.com/
 
 Those window look very slick and I believe that YUI also has a window 
 class similar to that.
 
 Rey,,,
 
 ___
 jQuery mailing list
 discuss@jquery.com
 http://jquery.com/discuss/
 
 

-- 
View this message in context: 
http://www.nabble.com/Request%3A-Window-plugin-tf2345423.html#a6529018
Sent from the JQuery mailing list archive at Nabble.com.


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


  1   2   >