[jQuery] SVN 1.0.3?

2006-10-27 Thread Ⓙⓐⓚⓔ
just saw the 1.0.3 announcement... where's the SVN?

subversion/libsvn_client/checkout.c:90: (apr_err=17)
svn: URL 'svn://jquery.com/jquery' doesn't exist

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


Re: [jQuery] Re-adjusting the height of page elements after loading AJAX content

2006-10-27 Thread Yehuda Katz
There must be some CSS you're not telling us about. Otherwise, containers size themselves to their content.-- YehudaOn 10/28/06, Sam Sherlock <
[EMAIL PROTECTED]> wrote:Hi,
I am loading content into a div using JSON thats fine.The length of content varies (some short some long & bulky)When I load content that's shorter than the currently displayed contentI get a lot f wasted space.  Worst still is when your scrolled part way 
down the page you can face a seemingly empty screen.I have tried re-adjusting the height of the page to the best fit the new content based on the some total of the new contents height but not much joy

and then applying it like so:                   newHeight = (parseInt($("div#innerMain").css("height"))+"px");  $("div#content").css("height", newHeight).slideDown('slow');

has anyone got any pointers?also as a secondary thought I am considering using a technique like this

http://www.agape.org.uk/workplace/ (click the menu on the left of the screen)
is there a jquery plugin to do that?Thinking it would be great to scroll to top once the content has loaded.


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


[jQuery] Re-adjusting the height of page elements after loading AJAX content

2006-10-27 Thread Sam Sherlock
Hi,I am loading content into a div using JSON thats fine.The length of content varies (some short some long & bulky)When I load content that's shorter than the currently displayed contentI get a lot f wasted space.  Worst still is when your scrolled part way 
down the page you can face a seemingly empty screen.I have tried re-adjusting the height of the page to the best fit the new content based on the some total of the new contents height but not much joy
and then applying it like so:                   newHeight = (parseInt($("div#innerMain").css("height"))+"px");  $("div#content").css("height", newHeight).slideDown('slow');

has anyone got any pointers?also as a secondary thought I am considering using a technique like this
http://www.agape.org.uk/workplace/ (click the menu on the left of the screen)
is there a jquery plugin to do that?Thinking it would be great to scroll to top once the content has loaded.

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


Re: [jQuery] Accordion Requirements

2006-10-27 Thread Yehuda Katz
Am I crazy? The Dojo accordion look like a disaster to create compared
to some of the options on this list $(expr).accordion(options) is
really easy.

On 10/27/06, Indigo <[EMAIL PROTECTED]> wrote:
> On Friday 27 October 2006 17:39, Jörn Zaefferer wrote:
> > Yehuda Katz schrieb:
> > > I've done a bunch of Accordion implementations for various
> > > projects, but never codified them into a single plugin. I suspect
> > > it could be done with much less code than some of the existing
> > > implementations. What are the requirements for a totally abstracted
> > > accordion plugin?
> >
> > It should rely on a certain hierachical structure, instead of any
> > concrete elements. That way it could treat these just the same:
> >
> > 
> > Title
> > Content
> > 
> >
> > 
> > Title
> > Content
> > 
> >
> > It should allow customization of animations, to an extend that it
> > allows to specify wheather show and hide animations should be run at
> > the same time or should be queued.
> >
> > It should accept event listeners for changes in the accordion, like
> > click, show or hide. Best would be to use jQuery's event system for
> > this instead of custom callbacks. This is more of an implementation
> > detail, but I think it's an important one.
>
> Completely agree with you, Jörn. Take a look at dojotoolkit's
> implementation of the accordion container. I think it just is about the
> easiest to create.
>
>
> ___
> 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/


Re: [jQuery] xml / javascript help requested

2006-10-27 Thread Stephen Woodbridge
Jörn Zaefferer wrote:
> Dave Methvin schrieb:
>>> look at http://imaptools.com:8081/maps/demo.html
>>> and double click on the map, then click the toggle button under the map.
>>>
>>> This is currently broken on IE, because of
>>> http://jquery.com/dev/bugs/bug/164/
>>> (Which I hope gets FIXED soon, please!)
>>>
>>> 
>> I think this is breaking a find() case in the test suite as well. Did some
>> recent change cause the breakage, or just that the error has been there all
>> along and recently reported?
>>   
> Check my latest comment here: http://jquery.com/dev/bugs/bug/164/
> 
> These three lines cause lots of trouble when working with XML in IE:
> 
> } else if ( elem.getAttribute != undefined && elem.tagName ) { // IE 
> elem.getAttribute passes even for style
>   if ( value != undefined ) elem.setAttribute( name, value );
>   return elem.getAttribute( name, 2 );
> 
> Test attr(String, Object)x does not fail, instead IE hangs and skips the 
> test. In addition, it indicates an error on the first line, but only the 
> first time the page is loaded. Something about "Wrong number of 
> arguments or illegal property assignment".
> 
> If you have any idea how to solve this, you are welcome.
> 
Hi Jörn,

I do know that this was working in jQuery r29 because that was what I 
started all my development using. Unfortunately, I upgraded and did not 
test IE, then cleaned all the old version from my work area, so I don't 
have that version any more.

-Steve

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


Re: [jQuery] Accordion Requirements

2006-10-27 Thread Indigo
On Friday 27 October 2006 17:39, Jörn Zaefferer wrote:
> Yehuda Katz schrieb:
> > I've done a bunch of Accordion implementations for various
> > projects, but never codified them into a single plugin. I suspect
> > it could be done with much less code than some of the existing
> > implementations. What are the requirements for a totally abstracted
> > accordion plugin?
>
> It should rely on a certain hierachical structure, instead of any
> concrete elements. That way it could treat these just the same:
>
> 
> Title
> Content
> 
>
> 
> Title
> Content
> 
>
> It should allow customization of animations, to an extend that it
> allows to specify wheather show and hide animations should be run at
> the same time or should be queued.
>
> It should accept event listeners for changes in the accordion, like
> click, show or hide. Best would be to use jQuery's event system for
> this instead of custom callbacks. This is more of an implementation
> detail, but I think it's an important one.

Completely agree with you, Jörn. Take a look at dojotoolkit's 
implementation of the accordion container. I think it just is about the 
easiest to create.


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


Re: [jQuery] Sneak Peek and Hover question

2006-10-27 Thread Glen Lipka
I think it's fixed.  I used a combination of the single image technique and the JS referenced before.
Although, i just tried turning off the JS and it still worked.  I wonder if it is harmless.  Hmm, now I am wondering.  Should I remove it.
 
Now, I am just noticing that the top nav is not highlighting the words properly...its happening sporadically.  Nuts.
This thing is like Mr. Blandings Dream House.  It never gets finished.
 
Glen
 
 
On 10/27/06, Karl Swedberg <[EMAIL PROTECTED]> wrote:

Hey Glen, 
 
I use the hover/unhover background in the same graphic approach on a bunch of sites, and it works really well. No _javascript_ needed. 
 
On my blog, I use it in conjunction with an image-replacement technique. 
So the html looks like this:
 

 
and the css looks like this:
 
h1 a {
  display: block;
  width: 111px;
  height: 67px;
  text-indent: -9000px;
  background: url(/images/2006/logo-sub.jpg) no-repeat left top;
  overflow: hidden;
}
h1 a:hover {
  background: url(/images/2006/logo-sub.jpg) no-repeat 0 -67px;  
}
 
and the image looks like this:
 

 
I would have just used the background hover/unhover stuff without the image replacement for the text if I hadn't decided to do the semi-transparent thing. 
 
It shouldn't take much to implement something similar on your site. 
 
Let me know if you need any help. I live for this stuff.
 
Cheers,
Karl


___
Karl Swedberg
www.englishrules.com
www.learningjquery.com


On Oct 27, 2006, at 6:33 PM, Blair McKenzie wrote:
This approach stops load time by including hover and unhover backgrounds in the same graphic.
This other one uses css to preload the hover image.
Blair
On 10/28/06, Glen Lipka < [EMAIL PROTECTED] > wrote:
 
I think that technique is called double-buffering.  I can do that, but is there a better way?  It also seems like it is a little slow. 
Glen 

On 10/27/06, Bryan Buchs <[EMAIL PROTECTED]
> wrote: 
I've tried positioning the background tab image on both the "A" *and*the "LI" elements. If the hover on the "A" flickers, the image in the
"LI" behind it shows through instead of a white background. Erik Beeson wrote:> I don't see a flicker problem on FF or IE6. I DO see an image loading> delay the first time you mouse over one of the tabs, but it looks the
> same in both browsers. This is easily avoided by preloading the images. >> --Erik>> On 10/27/06, *Glen Lipka* <
[EMAIL PROTECTED]  [EMAIL PROTECTED]>>> wrote:> > 
http://glenlipka.kokopop.com/jQuery/payroll/> http://glenlipka.kokopop.com/jQuery/intuit/ 
>> Ok, here is my problem, and it's on both pages.> Mouse over the tabs in the middle on either one using IE 6.> HORRIBLE flickering problem.>> I wasn't using $hover().  I tried a few different things.  Single 
> image hover, etc.> What is the best way to avoid the flicker in IE.  Does jQuery> Hover() deal with this?>> Thanks,>> Glen>> ___ 
> jQuery mailing list> discuss@jquery.com 
 discuss@jquery.com>> http://jquery.com/discuss/> 
>> ___> jQuery mailing list > discuss@jquery.com
> http://jquery.com/discuss/___jQuery mailing list 
discuss@jquery.com
http://jquery.com/discuss/___jQuery mailing list
discuss@jquery.com http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

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


Re: [jQuery] xml / javascript help requested

2006-10-27 Thread Ⓙⓐⓚⓔ
on that page there is like to a page
(http://goessner.net/2006/01/remote-json.html)with a simple function
to do remote json calls! Pretty cool... A great tool to through into
our arsenal!

On 10/27/06, Danial Tzadeh <[EMAIL PROTECTED]> wrote:
> Hey all,
>
> For XML to JS I use a neat XML2JSON library. Once transfered you have JS
> native object which you can use much easier than xml.
>
> http://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.html
>
> Hope it can help you a bit
>
> -
> Danial Tzade
> www.clexus.com
>
>
>
>  On 10/28/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
> > Dave Methvin schrieb:
> > >> look at http://imaptools.com:8081/maps/demo.html
> > >> and double click on the map, then click the toggle button under the
> map.
> > >>
> > >> This is currently broken on IE, because of
> > >> http://jquery.com/dev/bugs/bug/164/
> > >> (Which I hope gets FIXED soon, please!)
> > >>
> > >>
> > >
> > > I think this is breaking a find() case in the test suite as well. Did
> some
> > > recent change cause the breakage, or just that the error has been there
> all
> > > along and recently reported?
> > >
> > Check my latest comment here:
> http://jquery.com/dev/bugs/bug/164/
> >
> > These three lines cause lots of trouble when working with XML in IE:
> >
> > } else if ( elem.getAttribute != undefined && elem.tagName ) { // IE
> elem.getAttribute passes even for style
> > if ( value != undefined ) elem.setAttribute( name, value );
> > return elem.getAttribute( name, 2 );
> >
> > Test attr(String, Object)x does not fail, instead IE hangs and skips the
> > test. In addition, it indicates an error on the first line, but only the
> > first time the page is loaded. Something about "Wrong number of
> > arguments or illegal property assignment".
> >
> > If you have any idea how to solve this, you are welcome.
> >
> > --
> > Jörn Zaefferer
> >
> > http://bassistance.de
> >
> >
> > ___
> > jQuery mailing list
> > discuss@jquery.com
> > http://jquery.com/discuss/
> >
>
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
>


-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Sneak Peek and Hover question

2006-10-27 Thread abba bryant

Just a quick note. When you hit the "quick links" button I get an annoying
horizontal shift in FF.

You can fix with the following css rule

html { height:100%; margin-bottom:1px; }

It will force the scrollbar to show in FF which is what is causing the weird
jump in display.
-- 
View this message in context: 
http://www.nabble.com/Sneak-Peek-and-Hover-question-tf2522961.html#a7040733
Sent from the JQuery mailing list archive at Nabble.com.


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


Re: [jQuery] Visual jQuery Announcement

2006-10-27 Thread Yehuda Katz
Part of the next revision is going to be some amount of style switching (as well as a change to DL instead of UL for the nested information). I'm in the process of moving to a new server, and with that will come some new Visual jQuery features :-D
-- YehudaOn 10/27/06, Ⓙⓐⓚⓔ <[EMAIL PROTECTED]> wrote:
Yehuda wrote a great XSL stylesheet, throwing in CSS & JQ... but theData is STRAIGHT from John, it's the same data we get when we get theSVN.Study his techniques, If you can do better, do it... I pulled down his
XSL, and widened the rightmost column... I have a wild screen...--Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬOn 10/27/06, Steve Ivy <[EMAIL PROTECTED]> wrote:> Are we or are we not html/css/_javascript_ wizards? Someone draw up an
> alternate stylesheet for VjQ, and Yehuda can add a styleswitcher! :-)>> --Steve>> [EMAIL PROTECTED] | irc: monkinetic|redmonk>>
>> ___> jQuery mailing list> discuss@jquery.com> http://jquery.com/discuss/
>___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Accordion Requirements

2006-10-27 Thread Yehuda Katz
A quick revision:     jQuery.fn.accordion = function(obj) {  var accordion = this;  jQuery(obj["headCSS"]).click(obj["onClick"]);  obj["speed"] = obj["speed"] || 500;
  jQuery(obj["contentCSS"] + ":gt(0)", this).hide();  jQuery(obj["headCSS"], this).click(function() {    var show = jQuery(this).next();    var part2 = function() {
  if(show.not(":visible")) show.slideDown(obj["speed"] || 500); obj["onShow"] && obj["onShow"](show[0]);    };    jQuery(obj["contentCSS"] + ":visible", accordion).slideUp( obj["speed"] ); obj["onHide"] && obj["onHide"](this);
    setTimeout(part2, obj["synch"] ? obj["speed"] : 0);  });    };The first element in the accordion will not be open by default. Should I provide an option for which item should be open?
-- YehudaOn 10/27/06, Yehuda Katz <[EMAIL PROTECTED]> wrote:
Here is a *very* rough draft that tries to implement your requirements:    jQuery.fn.accordion = function(obj) {  var accordion = this;  jQuery(obj["headCSS"]).click(obj["onClick"]);
  obj["speed"] = obj["speed"] || 500;  jQuery(obj["contentCSS"], this).hide();  jQuery(obj["headCSS"], this).click(function() {    var show = jQuery(this).next();
    var part2 = function() {  if(show.not(":visible")) show.slideDown(obj["speed"] || 500); obj["onShow"] && obj["onShow"](show[0]);    };    jQuery(obj["contentCSS"] + ":visible", accordion).slideUp( obj["speed"] ); obj["onHide"] && obj["onHide"](this);
    setTimeout(part2, obj["synch"] ? obj["speed"] : 0);  });    };jQuery.fn.accordion takes a hash:headCSS: the CSS selector that indicates what will be used for the clickable items ("dt", "h1", "
h2.head", etc.)contentCSS: the CSS selector that indicates what will be used for the body itemsspeed: The speed of the animationssynch: Whether the animation should be synchronous or aynchronous (true for synchronous)
onHide: A callback for the hiding of a node (will pass the node as a parameter)onShow: A callback for the showing of a node (will pass the node as a parameter)onClick: A callback for the clicking of a header (binds a regular event handler to the header, which means it will have the same "this" variable as regular event handlers)
What do you think?-- YehudaOn 10/27/06, Jörn Zaefferer <
[EMAIL PROTECTED]> wrote:
Yehuda Katz schrieb:> I've done a bunch of Accordion implementations for various projects,> but never codified them into a single plugin. I suspect it could be> done with much less code than some of the existing implementations.
> What are the requirements for a totally abstracted accordion plugin?It should rely on a certain hierachical structure, instead of anyconcrete elements. That way it could treat these just the same:

TitleContentTitleContent
It should allow customization of animations, to an extend that it allowsto specify wheather show and hide animations should be run at the sametime or should be queued.It should accept event listeners for changes in the accordion, like
click, show or hide. Best would be to use jQuery's event system for thisinstead of custom callbacks. This is more of an implementation detail,but I think it's an important one.--Jörn Zaefferer

http://bassistance.de___jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325

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


Re: [jQuery] Accordion Requirements

2006-10-27 Thread Yehuda Katz
Here is a *very* rough draft that tries to implement your requirements:    jQuery.fn.accordion = function(obj) {  var accordion = this;  jQuery(obj["headCSS"]).click(obj["onClick"]);
  obj["speed"] = obj["speed"] || 500;  jQuery(obj["contentCSS"], this).hide();  jQuery(obj["headCSS"], this).click(function() {    var show = jQuery(this).next();
    var part2 = function() {  if(show.not(":visible")) show.slideDown(obj["speed"] || 500); obj["onShow"] && obj["onShow"](show[0]);    };    jQuery(obj["contentCSS"] + ":visible", accordion).slideUp( obj["speed"] ); obj["onHide"] && obj["onHide"](this);
    setTimeout(part2, obj["synch"] ? obj["speed"] : 0);  });    };jQuery.fn.accordion takes a hash:headCSS: the CSS selector that indicates what will be used for the clickable items ("dt", "h1", "
h2.head", etc.)contentCSS: the CSS selector that indicates what will be used for the body itemsspeed: The speed of the animationssynch: Whether the animation should be synchronous or aynchronous (true for synchronous)
onHide: A callback for the hiding of a node (will pass the node as a parameter)onShow: A callback for the showing of a node (will pass the node as a parameter)onClick: A callback for the clicking of a header (binds a regular event handler to the header, which means it will have the same "this" variable as regular event handlers)
What do you think?-- YehudaOn 10/27/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
Yehuda Katz schrieb:> I've done a bunch of Accordion implementations for various projects,> but never codified them into a single plugin. I suspect it could be> done with much less code than some of the existing implementations.
> What are the requirements for a totally abstracted accordion plugin?It should rely on a certain hierachical structure, instead of anyconcrete elements. That way it could treat these just the same:
TitleContentTitleContent
It should allow customization of animations, to an extend that it allowsto specify wheather show and hide animations should be run at the sametime or should be queued.It should accept event listeners for changes in the accordion, like
click, show or hide. Best would be to use jQuery's event system for thisinstead of custom callbacks. This is more of an implementation detail,but I think it's an important one.--Jörn Zaefferer
http://bassistance.de___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] xml / javascript help requested

2006-10-27 Thread Danial Tzadeh
Hey all, For XML to JS I use a neat XML2JSON library. Once transfered you have JS native object which you can use much easier than xml.
http://www.xml.com/pub/a/2006/05/31/converting-between-xml-and-json.htmlHope it can help you a bit-Danial Tzadewww.clexus.com
On 10/28/06, Jörn Zaefferer <[EMAIL PROTECTED]> wrote:
Dave Methvin schrieb:>> look at http://imaptools.com:8081/maps/demo.html>> and double click on the map, then click the toggle button under the map.
 This is currently broken on IE, because of>> http://jquery.com/dev/bugs/bug/164/>> (Which I hope gets FIXED soon, please!)
>> I think this is breaking a find() case in the test suite as well. Did some> recent change cause the breakage, or just that the error has been there all> along and recently reported?
>Check my latest comment here: http://jquery.com/dev/bugs/bug/164/These three lines cause lots of trouble when working with XML in IE:} else if ( 
elem.getAttribute != undefined && elem.tagName ) { // IE elem.getAttribute passes even for styleif ( value != undefined ) elem.setAttribute( name, value );return elem.getAttribute( name, 2 );
Test attr(String, Object)x does not fail, instead IE hangs and skips thetest. In addition, it indicates an error on the first line, but only thefirst time the page is loaded. Something about "Wrong number of
arguments or illegal property assignment".If you have any idea how to solve this, you are welcome.--Jörn Zaeffererhttp://bassistance.de___
jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Olivier Percebois-Garve




What about the approach taken in those "rounded corner" scripts ?
I know that some versions use images and it seems that others have an
algo approach.
The first way could be a quick'n easy hack, by using a large image that
can be resized smaller.
I don't know much about the pure algo way by handling 1x1 pixel divs,
but if IE's memory can handle it,
then it might be powerful.

Christof Donat wrote:

  Hi,

  
  
A cross-browser canvas approach is possible:
http://me.eae.net/archive/2005/12/29/canvas-in-ie/

  
  
That is just an implementation for IE. That is not enough for a cross-browser 
canvas. IIRC ExplorerCanvas (the project that emil now seems to be involved) 
creates VML-Elements, which can be quite a lot if you do many drawing 
operations. I remember to have seen an implementation based on Walter Zorns 
Vector graphic library, which needs even more Elements of course:

http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm

Canvas was introduced by Apples Safari, current Gecko-browsers and AFAIK newer 
versions of Opera have it as well, but at the moment there is no way to do it 
with Konqueror and other less popular browsers. I guess Konqueror will get it 
sooner or later, but that ist just my hope and it doesn't help with the less 
popular browsers.

I have tried to use ExplorerCanvas in an Application that needs to set many 
single points with various alpha values (similar to an airbrush-effect). It 
is not capable to handle that - everything slows down dramatically, all your 
memory is eaten and in the end IE crashes.

I have also tried to use a huge data-url for Konqueror and manipulate the 
Base64 encoded PNG on the fly. I didn't manage to handle that complexity 
correctly so I failed. I wanted to modify the PNG inline to save memory which 
is not so simple :-(

If you whant a general drawing-library that works with most browsers and can 
handle very many painting instructions, I'd suggest:

1. Try to use canvas
2. If that fails, try to use data-URLs.
3. If that fails, look out for a Active-X control that can handle data-URLs 
(IIRC there are some)
4. If that fails, try to load a Java Applet that you use via Life-Connect
5. If that fails you may try to implement the drawing on the serverside in 
small pictures (e.g.10x10 pixel) and refresh them. To inform the Server of 
the users Actions you might try to use a XMLHttpRequest or a hidden iframe. 
The answer can include information about which of the small pictures needs to 
be reloaded (i.e. have changed with the drawing-command).
6. If even that fails you bite the dust.

I'd be very interested in something like that and I can help with it, but I 
myself can not do all of it. There is too much complexity in it.

Christof

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

  




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


Re: [jQuery] Sneak Peek and Hover question

2006-10-27 Thread Glen Lipka
I saw this link here.http://evil.che.lu/2006/9/25/no-more-ie6-background-flickerIt includes this code:try {
  document.execCommand('BackgroundImageCache', false, true);
} catch(e) {}
Would this have any negative effect?The single image technique is great because it also reduces page size.GlenOn 10/27/06, Blair McKenzie
 <[EMAIL PROTECTED]> wrote:
This approach stops load time by including hover and unhover backgrounds in the same graphic.

This other one uses css to preload the hover image.BlairOn 10/28/06, Glen Lipka
 <
[EMAIL PROTECTED]
> wrote:I think that technique is called double-buffering.  I can do that, but is there a better way?  It also seems like it is a little slow.
GlenOn 10/27/06, 
Bryan Buchs <[EMAIL PROTECTED]> wrote:



I've tried positioning the background tab image on both the "A" *and*the "LI" elements. If the hover on the "A" flickers, the image in the"LI" behind it shows through instead of a white background.
Erik Beeson wrote:> I don't see a flicker problem on FF or IE6. I DO see an image loading> delay the first time you mouse over one of the tabs, but it looks the> same in both browsers. This is easily avoided by preloading the images.
>> --Erik>> On 10/27/06, *Glen Lipka* <[EMAIL PROTECTED] 


[EMAIL PROTECTED]>>> wrote:>
> http://glenlipka.kokopop.com/jQuery/payroll/> 


http://glenlipka.kokopop.com/jQuery/intuit/
>> Ok, here is my problem, and it's on both pages.> Mouse over the tabs in the middle on either one using IE 6.> HORRIBLE flickering problem.>> I wasn't using $hover().  I tried a few different things.  Single
> image hover, etc.> What is the best way to avoid the flicker in IE.  Does jQuery> Hover() deal with this?>> Thanks,>> Glen>> ___
> jQuery mailing list> discuss@jquery.com 


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


http://jquery.com/discuss/___jQuery mailing list
discuss@jquery.com


http://jquery.com/discuss/

___jQuery mailing listdiscuss@jquery.com


http://jquery.com/discuss/


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


Re: [jQuery] Height overwrite

2006-10-27 Thread Olaf Bosch
Christof Donat schrieb:

>> I can not the Textarea give any ID or CLASS, to establish understanding ;)
> 
> Yes you can:

Yes, now  :)
This is my script:

$(document).ready(function() {
$('textarea').each(function(i) {
$(this).id('txtarea_'+i).
   after('größer<\/span> 
kleiner<\/span>');
});
$('.gro').click(function() {
   var txt = $('#txtarea_'+this.id.substr(4));
   var NHeight = ($(txt).height()+60)+'px';
 $(txt).css({height: NHeight,background: "#c00"});
});
$('.kle').click(function() {
   var txt = $('#txtarea_'+this.id.substr(4));
   var NHeight = ($(txt).height()-60)+'px';
 $(txt).css({height: NHeight,background: "#0c0"});
});
});



-- 
Viele Grüße, Olaf

---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
---

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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Dragan Krstic
Can someone explain to rest of us how this stuff works? And, is there anyway to rotate jpeg in browser (in arbitary amount of degrees)? I need that.2006/10/26, Stephen Woodbridge <
[EMAIL PROTECTED]>:Anyone up to porting some of this to jQuery?
http://archive.dojotoolkit.org/nightly/demos/gfx/circles.htmlhttp://archive.dojotoolkit.org/nightly/demos/gfx/clock.html
http://www.mxgraph.com/demo/mxgraph-web/web/mxWorkflow-Demo.html-Steve___
jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/-- Dragan Krstić krdr
http://krdr.ebloggy.com/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Visual jQuery Announcement

2006-10-27 Thread Ⓙⓐⓚⓔ
Yehuda wrote a great XSL stylesheet, throwing in CSS & JQ... but the
Data is STRAIGHT from John, it's the same data we get when we get the
SVN.

Study his techniques, If you can do better, do it... I pulled down his
XSL, and widened the rightmost column... I have a wild screen...

-- 
Ⓙⓐⓚⓔ - יעקב   ʝǡǩȩ   ᎫᎪᏦᎬ

On 10/27/06, Steve Ivy <[EMAIL PROTECTED]> wrote:
> Are we or are we not html/css/javascript wizards? Someone draw up an
> alternate stylesheet for VjQ, and Yehuda can add a styleswitcher! :-)
>
> --Steve
>
> [EMAIL PROTECTED] | irc: monkinetic|redmonk
>
>
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] xml / javascript help requested

2006-10-27 Thread Jörn Zaefferer
Dave Methvin schrieb:
>> look at http://imaptools.com:8081/maps/demo.html
>> and double click on the map, then click the toggle button under the map.
>>
>> This is currently broken on IE, because of
>> http://jquery.com/dev/bugs/bug/164/
>> (Which I hope gets FIXED soon, please!)
>>
>> 
>
> I think this is breaking a find() case in the test suite as well. Did some
> recent change cause the breakage, or just that the error has been there all
> along and recently reported?
>   
Check my latest comment here: http://jquery.com/dev/bugs/bug/164/

These three lines cause lots of trouble when working with XML in IE:

} else if ( elem.getAttribute != undefined && elem.tagName ) { // IE 
elem.getAttribute passes even for style
if ( value != undefined ) elem.setAttribute( name, value );
return elem.getAttribute( name, 2 );

Test attr(String, Object)x does not fail, instead IE hangs and skips the 
test. In addition, it indicates an error on the first line, but only the 
first time the page is loaded. Something about "Wrong number of 
arguments or illegal property assignment".

If you have any idea how to solve this, you are welcome.

-- 
Jörn Zaefferer

http://bassistance.de


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


Re: [jQuery] Accordion Requirements

2006-10-27 Thread Jörn Zaefferer
Yehuda Katz schrieb:
> I've done a bunch of Accordion implementations for various projects, 
> but never codified them into a single plugin. I suspect it could be 
> done with much less code than some of the existing implementations. 
> What are the requirements for a totally abstracted accordion plugin?
It should rely on a certain hierachical structure, instead of any 
concrete elements. That way it could treat these just the same:


Title
Content



Title
Content


It should allow customization of animations, to an extend that it allows 
to specify wheather show and hide animations should be run at the same 
time or should be queued.

It should accept event listeners for changes in the accordion, like 
click, show or hide. Best would be to use jQuery's event system for this 
instead of custom callbacks. This is more of an implementation detail, 
but I think it's an important one.

-- 
Jörn Zaefferer

http://bassistance.de


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


Re: [jQuery] Sneak Peek and Hover question

2006-10-27 Thread Blair McKenzie
This approach stops load time by including hover and unhover backgrounds in the same graphic.
This other one uses css to preload the hover image.BlairOn 10/28/06, Glen Lipka <
[EMAIL PROTECTED]
> wrote:I think that technique is called double-buffering.  I can do that, but is there a better way?  It also seems like it is a little slow.
GlenOn 10/27/06, 
Bryan Buchs <[EMAIL PROTECTED]> wrote:


I've tried positioning the background tab image on both the "A" *and*the "LI" elements. If the hover on the "A" flickers, the image in the"LI" behind it shows through instead of a white background.
Erik Beeson wrote:> I don't see a flicker problem on FF or IE6. I DO see an image loading> delay the first time you mouse over one of the tabs, but it looks the> same in both browsers. This is easily avoided by preloading the images.
>> --Erik>> On 10/27/06, *Glen Lipka* <[EMAIL PROTECTED] 

[EMAIL PROTECTED]>>> wrote:>
> http://glenlipka.kokopop.com/jQuery/payroll/> 

http://glenlipka.kokopop.com/jQuery/intuit/
>> Ok, here is my problem, and it's on both pages.> Mouse over the tabs in the middle on either one using IE 6.> HORRIBLE flickering problem.>> I wasn't using $hover().  I tried a few different things.  Single
> image hover, etc.> What is the best way to avoid the flicker in IE.  Does jQuery> Hover() deal with this?>> Thanks,>> Glen>> ___
> jQuery mailing list> discuss@jquery.com 

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

http://jquery.com/discuss/___jQuery mailing list
discuss@jquery.com

http://jquery.com/discuss/

___jQuery mailing listdiscuss@jquery.com

http://jquery.com/discuss/

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


Re: [jQuery] Visual jQuery Announcement

2006-10-27 Thread Steve Ivy
Are we or are we not html/css/javascript wizards? Someone draw up an
alternate stylesheet for VjQ, and Yehuda can add a styleswitcher! :-)

--Steve

[EMAIL PROTECTED] | irc: monkinetic|redmonk



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


[jQuery] Accordion Requirements

2006-10-27 Thread Yehuda Katz
I've done a bunch of Accordion implementations for various projects, but never codified them into a single plugin. I suspect it could be done with much less code than some of the existing implementations. What are the requirements for a totally abstracted accordion plugin?
-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Adding class to dynamic element

2006-10-27 Thread Blair McKenzie
Try breaking the chain up. ie instead of $(abc).def().ghi()usevar x=$(abc);x.def();x.ghi();Do the same with the css: set each property seperately. This will allow you to identify exactly which part is causing problems.
BlairOn 10/27/06, smeranda <[EMAIL PROTECTED]> wrote:
Thanks for your help!I tried your code, but I received a 'syntax error' on the first .find line.I don't see anything that looks out of the ordinaryBlair McKenzie-2 wrote:>> Take this with a grain of salt (I haven't tested it), but this should
> work:>> $("majorname", xml).each(function(i){>var $this = $(this); // Wrap this item in jQuery>>// Notice that all of these methods are chained together. For
> debugging you would probably separate them out>// 1) $("") - When the selector string is actually an> element descriptor, jQuery creates that element, and returns it
>// 2) find() - searches again in the context of the origonal jQuery> array>// 3) css() - takes a hash of css properties and their values, and> applies them to the jQuery array
>// 4) end() - closes the last context search, and returns the the> previous result set>// 5) appendTo() - performs a jQuery search, then moves the current> array of elements to the result
>$(""+$this.text()+"> name='"+$this.text()+"' value='3'>> class='currenttotal'>")
> .find("label").css({ 'display':'-moz-inline-box',> 'textAlign':'left' })>   .find("span").css({ 'display':'block', 'width' = '120px'> }).end()
> .end();> .appendTo("#appointmentList");> }); On 10/27/06, smeranda <[EMAIL PROTECTED] > wrote:
>> I am trying to add a class (.currenttotal) to a dynamically generated>> span>> element. How can I do this? Basically, I am pulling an xml file and using the information to create
>> an>> interface. I need to add the .currenttotal class to the registeredSpan.>> Any>> ideas? $("majorname", xml).each(function(i){>> var listItem = 
document.createElement( 'li' );>> var listLabel = document.createElement( 'label' );>> listLabel.style.display = '-moz-inline-box';>> listLabel.style.textAlign = 'left';
>> var labelSpan2 = document.createElement ( 'span' );>> labelSpan2.style.display = 'block';>> labelSpan2.style.width = '120px';>> labelSpan2.innerHTML
 = $(this).text();>> var listInput = document.createElement( 'input' );>> listInput.name = $(this).text();>> listInput.value = '3';>> var registeredSpan = 
document.createElement ( 'span' );>> $(registeredSpan).addClass("currenttotal"); //This>> doesn't>> work.>> listLabel.appendChild( labelSpan2 );
>> listItem.appendChild( listLabel );>> listItem.appendChild ( listInput );>> listItem.appendChild( registeredSpan );>> $("#appointmentList").append( listItem );
>> }); If there is a better way to write the above code, I'm open to>> suggestions!>> -->> View this message in context:>> 
http://www.nabble.com/Adding-class-to-dynamic-element-tf2517168.html#a7020780 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/Adding-class-to-dynamic-element-tf2517168.html#a7030235
Sent from the JQuery mailing list archive at Nabble.com.___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Dave Methvin
Gee, if it works for everyone else I guess it's my browser that's broken
somehow 

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Stephen Woodbridge
Sent: Friday, October 27, 2006 5:11 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Oooh! These are pretty!

Dave Methvin wrote:
>  
>> Hmmm, I just checked all these links in IE 6.0.2800.1106 and they all 
>> work fine for me. So I'm wondering what version you are using? And 
>> why it works for me and not you?
> 
> I've got the latest IE6 for XP SP2, which is 6.0.2900.2180. This page 
> gives me one of those typically unhelpful IE errors: "line 65, 
> this.rawNode.fill is null or not an object". It's hard to trace the 
> real error location in IE because of dojo's dynamic includes.
> 
> http://archive.dojotoolkit.org/nightly/demos/gfx/circles.html
> 
Interesting. This also works for me in
   IE 6.0.2900.2180.xpsp2_gdr.050301-1519  - XP laptop don't you just love
m$ version numbers!

IE 6.0.2800.1106 is on my win2k workstation

-Steve

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


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


Re: [jQuery] Sneak Peek and Hover question

2006-10-27 Thread Glen Lipka
I think that technique is called double-buffering.  I can do that, but is there a better way?  It also seems like it is a little slow.GlenOn 10/27/06, 
Bryan Buchs <[EMAIL PROTECTED]> wrote:
I've tried positioning the background tab image on both the "A" *and*the "LI" elements. If the hover on the "A" flickers, the image in the"LI" behind it shows through instead of a white background.
Erik Beeson wrote:> I don't see a flicker problem on FF or IE6. I DO see an image loading> delay the first time you mouse over one of the tabs, but it looks the> same in both browsers. This is easily avoided by preloading the images.
>> --Erik>> On 10/27/06, *Glen Lipka* <[EMAIL PROTECTED] [EMAIL PROTECTED]>>> wrote:>
> http://glenlipka.kokopop.com/jQuery/payroll/> http://glenlipka.kokopop.com/jQuery/intuit/
>> Ok, here is my problem, and it's on both pages.> Mouse over the tabs in the middle on either one using IE 6.> HORRIBLE flickering problem.>> I wasn't using $hover().  I tried a few different things.  Single
> image hover, etc.> What is the best way to avoid the flicker in IE.  Does jQuery> Hover() deal with this?>> Thanks,>> Glen>> ___
> jQuery mailing list> discuss@jquery.com discuss@jquery.com>> 
http://jquery.com/discuss/> >> ___> jQuery mailing list
> discuss@jquery.com> http://jquery.com/discuss/___jQuery mailing list
discuss@jquery.comhttp://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Visual jQuery Announcement

2006-10-27 Thread Marshall Salinger









I like it the way it is. Very cool.

 

My only complaint is the size of the
absolute positioned header – it’s a little tall for widescreen laptops.
If that was inline and scrolled with the page, you could see more of the descriptions
and examples. Just a thought.

 

-Marshall

 

 

-Original
Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Christopher Jordan
Sent: Friday, October 27, 2006
2:17 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Visual
jQuery Announcement

 

I'm
not currently having this trouble with visualjquery.com, but I could see where
other folks might. Still love it though. :o)
Chris

Alex Cook wrote: 

Yea, I'm going to have to agree there... the functionality ofvisualjquery.com is awesome, but the color scheme leaves something to bedesired... -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] OnBehalf Of Mike AlsupSent: Friday, October 27, 2006 12:09 PMTo: jQuery Discussion.Subject: Re: [jQuery] Visual jQuery Announcement On 10/27/06, Yehuda Katz <[EMAIL PROTECTED]> wrote:  

All of the very dark button use white text. The light buttons (light    

grey  

and blue) use black text. Maybe your screen is very dark?    

 That's not true.  Selected items are extremely difficult to read.:hover elements are challenging as well. ___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/ ___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/    




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


Re: [jQuery] Sneak Peek and Hover question

2006-10-27 Thread Bryan Buchs
I've tried positioning the background tab image on both the "A" *and* 
the "LI" elements. If the hover on the "A" flickers, the image in the 
"LI" behind it shows through instead of a white background.




Erik Beeson wrote:
> I don't see a flicker problem on FF or IE6. I DO see an image loading 
> delay the first time you mouse over one of the tabs, but it looks the 
> same in both browsers. This is easily avoided by preloading the images.
> 
> --Erik
> 
> On 10/27/06, *Glen Lipka* <[EMAIL PROTECTED] > 
> wrote:
> 
> http://glenlipka.kokopop.com/jQuery/payroll/
> http://glenlipka.kokopop.com/jQuery/intuit/
> 
> Ok, here is my problem, and it's on both pages.
> Mouse over the tabs in the middle on either one using IE 6. 
> HORRIBLE flickering problem.
> 
> I wasn't using $hover().  I tried a few different things.  Single
> image hover, etc.
> What is the best way to avoid the flicker in IE.  Does jQuery
> Hover() deal with this?
> 
> Thanks,
> 
> Glen
> 
> ___
> jQuery mailing list
> discuss@jquery.com 
> http://jquery.com/discuss/
> 
> 
> 
> 
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/

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


Re: [jQuery] Visual jQuery Announcement

2006-10-27 Thread Christopher Jordan




I'm not
currently having this trouble with visualjquery.com, but I could see
where other folks might. Still love it though. :o)
Chris

Alex Cook wrote:

  Yea, I'm going to have to agree there... the functionality of
visualjquery.com is awesome, but the color scheme leaves something to be
desired...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Mike Alsup
Sent: Friday, October 27, 2006 12:09 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Visual jQuery Announcement

On 10/27/06, Yehuda Katz <[EMAIL PROTECTED]> wrote:
  
  
All of the very dark button use white text. The light buttons (light

  
  grey
  
  
and blue) use black text. Maybe your screen is very dark?

  
  
That's not true.  Selected items are extremely difficult to read.
:hover elements are challenging as well.

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

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


  



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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Alex Cook








Oh neat, I didn’t know about this…
nice find J

 









From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf
Of Olivier Percebois-Garve
Sent: Friday, October 27, 2006
12:58 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Oooh! These
are pretty!



 

A cross-browser canvas approach is possible:

http://me.eae.net/archive/2005/12/29/canvas-in-ie/

olivvv

Alex Cook wrote: 

Canvas is Mozilla's implementation... IE doesn't support that however.A JQ drawing lib would be great but quite a pain in the ass to code soit was cross browser. -Original Message-From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] OnBehalf Of Bryan BuchsSent: Friday, October 27, 2006 11:14 AMTo: jQuery Discussion.Subject: Re: [jQuery] Oooh! These are pretty! I might be wrong, but isn't that what Canvas is for? Drawing shapes? 

Sam, Yes, some thing like that would be great. It would also be nice to handle arrays of locations without the 'px' so it is easy to do math    

on   

them. // place a circle at the center of some container$("#container").drawShape("circle", { origin: "centre", radius: 30}) // draw a circle$("#container").drawShape("circle", { origin: [5,8], radius: 30}) // draw multiple circles and style them all the same$("#container").drawShape("circle", { origin: [[5,8],[30,45],...], radius: 30, style: {color: "red", opacity: .5, border-color: #900, border-style: "solid"}}) // draw a polyline$("#container").drawShape("line" { path: [[5,8],[30,45],...], style: {color: "red", line-style: "dashed", lineWidth: 2}}).bind("mouseover",    

   

function(e){alert("I'm a line");}); I also think there is something to be said for creating shape objects    

like:  

var redcircle = {   id: "circle01",   type: "circle",   x: 5,   y: 8,   radius: 30,   style: {color: #f00;},};var bluecircle = {   id: "circle02",   type: "circle",   x: 5,   y: 8,   radius: 10,   style: {color: #00f;},};var shapes = [];shapes.push(redcircle);shapes.push(bluecircle); // add to circles, then hide the larger$("#container").addShape(shapes);$("#circle01").hide(); or // add two circles (nested), then hide both of them$("#container").addShape(redcircle);$("#circle01").addShape(bluecircle);$("#circle01").hide(); Anyway you get the idea. -Steve Sam Collett wrote:    

On 27/10/06, Stephen Woodbridge <[EMAIL PROTECTED]> wrote:  

 Since a lot of what Ido it maps and building apps on top of maps, I would really be able    





to  





use some generic tools for drawing that are fast, cross browser andcapable of handling more than a few dozen points or objects.    

So I guess what you want a a shape drawing plugin? That could beuseful and I could imaging a syntax similar to this: // draw a circle in the centre of #container$("#container").drawShape("circle", { origin: "centre", radius:  



"30px"})  



// draw a circle in the 5px from the left and 8px from  the top,cropped when it reaches the edge (so you get a partial circle)$("#container").drawShape("circle", { origin: {left: "5px", top:"8px"}, radius: "30px" }) // draw a rectangle in the centre$("#container").drawShape("rectangle", { origin: "center", width:"30px", height: "35px" }) Other shapes could perhaps be added as well (triangles, trapezoidsetc). Some shapes are under several categories (a square is arectangle and a rohmbus). However, I have no idea how to implementsomething like this. ___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/  

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

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

 






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


Re: [jQuery] Visual jQuery Announcement

2006-10-27 Thread Alex Cook
Yea, I'm going to have to agree there... the functionality of
visualjquery.com is awesome, but the color scheme leaves something to be
desired...

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Mike Alsup
Sent: Friday, October 27, 2006 12:09 PM
To: jQuery Discussion.
Subject: Re: [jQuery] Visual jQuery Announcement

On 10/27/06, Yehuda Katz <[EMAIL PROTECTED]> wrote:
> All of the very dark button use white text. The light buttons (light
grey
> and blue) use black text. Maybe your screen is very dark?

That's not true.  Selected items are extremely difficult to read.
:hover elements are challenging as well.

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

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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Stephen Woodbridge
Dave Methvin wrote:
>  
>> Hmmm, I just checked all these links in IE 6.0.2800.1106
>> and they all work fine for me. So I'm wondering what
>> version you are using? And why it works for me and not you?
> 
> I've got the latest IE6 for XP SP2, which is 6.0.2900.2180. This page gives
> me one of those typically unhelpful IE errors: "line 65, this.rawNode.fill
> is null or not an object". It's hard to trace the real error location in IE
> because of dojo's dynamic includes.
> 
> http://archive.dojotoolkit.org/nightly/demos/gfx/circles.html
> 
Interesting. This also works for me in
   IE 6.0.2900.2180.xpsp2_gdr.050301-1519  - XP laptop
don't you just love m$ version numbers!

IE 6.0.2800.1106 is on my win2k workstation

-Steve

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


Re: [jQuery] jQuery Button Contest: Vote it Up

2006-10-27 Thread Christopher Jordan




John,



  
 I think it'd be cool to vote in this contest (uh... the community is
voting, right?)

  
  
That wasn't the original decision, but I don't see why not. I'll see
if I can get a vote script setup.

  

I didn't mean to
try to change the way things were going to work. I think it was just an
assumption on my part that the community would vote. It actually also
makes sense for only the core developers to vote -- it is your product
after all. I was just kinda pumped that I might be able to participate
even if all I did was vote. :o/

Thanks,
Chris



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


Re: [jQuery] xml / javascript help requested

2006-10-27 Thread Dave Methvin
> look at http://imaptools.com:8081/maps/demo.html
> and double click on the map, then click the toggle button under the map.
> 
> This is currently broken on IE, because of
> http://jquery.com/dev/bugs/bug/164/
> (Which I hope gets FIXED soon, please!)
> 

I think this is breaking a find() case in the test suite as well. Did some
recent change cause the breakage, or just that the error has been there all
along and recently reported?


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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Christof Donat
Hi,

> Also, from my original post on this look at the dojo implementation!
> They already have an API and code if it can be jQuerified.

They don't work with Konqueror 3.5.5 and Opera 8.52. Walter Zorns Library 
works in both.

Christof

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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Dave Methvin
 
> Hmmm, I just checked all these links in IE 6.0.2800.1106
> and they all work fine for me. So I'm wondering what
> version you are using? And why it works for me and not you?

I've got the latest IE6 for XP SP2, which is 6.0.2900.2180. This page gives
me one of those typically unhelpful IE errors: "line 65, this.rawNode.fill
is null or not an object". It's hard to trace the real error location in IE
because of dojo's dynamic includes.

http://archive.dojotoolkit.org/nightly/demos/gfx/circles.html



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


Re: [jQuery] Sneak Peek and Hover question

2006-10-27 Thread Erik Beeson
I don't see a flicker problem on FF or IE6. I DO see an image loading delay the first time you mouse over one of the tabs, but it looks the same in both browsers. This is easily avoided by preloading the images.--Erik
On 10/27/06, Glen Lipka <[EMAIL PROTECTED]> wrote:
http://glenlipka.kokopop.com/jQuery/payroll/
http://glenlipka.kokopop.com/jQuery/intuit/Ok, here is my problem, and it's on both pages.
Mouse over the tabs in the middle on either one using IE 6.  HORRIBLE flickering problem.I wasn't using $hover().  I tried a few different things.  Single image hover, etc.What is the best way to avoid the flicker in IE.  Does jQuery Hover() deal with this?
Thanks,Glen

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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Christof Donat
Hi,

> A cross-browser canvas approach is possible:
> http://me.eae.net/archive/2005/12/29/canvas-in-ie/

That is just an implementation for IE. That is not enough for a cross-browser 
canvas. IIRC ExplorerCanvas (the project that emil now seems to be involved) 
creates VML-Elements, which can be quite a lot if you do many drawing 
operations. I remember to have seen an implementation based on Walter Zorns 
Vector graphic library, which needs even more Elements of course:

http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm

Canvas was introduced by Apples Safari, current Gecko-browsers and AFAIK newer 
versions of Opera have it as well, but at the moment there is no way to do it 
with Konqueror and other less popular browsers. I guess Konqueror will get it 
sooner or later, but that ist just my hope and it doesn't help with the less 
popular browsers.

I have tried to use ExplorerCanvas in an Application that needs to set many 
single points with various alpha values (similar to an airbrush-effect). It 
is not capable to handle that - everything slows down dramatically, all your 
memory is eaten and in the end IE crashes.

I have also tried to use a huge data-url for Konqueror and manipulate the 
Base64 encoded PNG on the fly. I didn't manage to handle that complexity 
correctly so I failed. I wanted to modify the PNG inline to save memory which 
is not so simple :-(

If you whant a general drawing-library that works with most browsers and can 
handle very many painting instructions, I'd suggest:

1. Try to use canvas
2. If that fails, try to use data-URLs.
3. If that fails, look out for a Active-X control that can handle data-URLs 
(IIRC there are some)
4. If that fails, try to load a Java Applet that you use via Life-Connect
5. If that fails you may try to implement the drawing on the serverside in 
small pictures (e.g.10x10 pixel) and refresh them. To inform the Server of 
the users Actions you might try to use a XMLHttpRequest or a hidden iframe. 
The answer can include information about which of the small pictures needs to 
be reloaded (i.e. have changed with the drawing-command).
6. If even that fails you bite the dust.

I'd be very interested in something like that and I can help with it, but I 
myself can not do all of it. There is too much complexity in it.

Christof

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


[jQuery] Sneak Peek and Hover question

2006-10-27 Thread Glen Lipka
http://glenlipka.kokopop.com/jQuery/payroll/http://glenlipka.kokopop.com/jQuery/intuit/Ok, here is my problem, and it's on both pages.
Mouse over the tabs in the middle on either one using IE 6.  HORRIBLE flickering problem.I wasn't using $hover().  I tried a few different things.  Single image hover, etc.What is the best way to avoid the flicker in IE.  Does jQuery Hover() deal with this?
Thanks,Glen
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Stephen Woodbridge
Dave Methvin wrote:
>>> I might be wrong, but isn't that what Canvas is for? Drawing shapes?
>> Canvas is Mozilla's implementation... IE doesn't support that however.
>> A JQ drawing lib would be great but quite a pain in the ass to code
>> so it was cross browser.
> 
> What else is new?  ;-)
> 
> None of those "pretty" dojo examples work on IE6 BTW. Don't you guys use the
> world's most popular browser?  :-O
> 
> If anyone is masochistic and thinking about tackling the drawing problem,
> start here:
> 
> http://starkravingfinkle.org/blog/2006/09/canvassvgvml-drawing-roundup/
> 
> The dojo library might be a good starting point but there are alternatives.
> It worries me that none of the demos work with IE.

Hi Dave,

Hmmm, I just checked all these links in IE 6.0.2800.1106 and they all 
work fine for me. So I'm wondering what version you are using? And why 
it works for me and not you?

-Steve W

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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Richard Thomas
You would have better luck with a php/perl/ruby graphic backend that 
could create the images on the fly using gd.

Richard Thomas - Code Monkey
Cyberlot Technologies Group Inc.
507.398.4124 - Voice


Dave Methvin wrote:
>>> I might be wrong, but isn't that what Canvas is for? Drawing shapes?
>> Canvas is Mozilla's implementation... IE doesn't support that however.
>> A JQ drawing lib would be great but quite a pain in the ass to code
>> so it was cross browser.
> 
> What else is new?  ;-)
> 
> None of those "pretty" dojo examples work on IE6 BTW. Don't you guys use the
> world's most popular browser?  :-O
> 
> If anyone is masochistic and thinking about tackling the drawing problem,
> start here:
> 
> http://starkravingfinkle.org/blog/2006/09/canvassvgvml-drawing-roundup/
> 
> The dojo library might be a good starting point but there are alternatives.
> It worries me that none of the demos work with IE.
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 

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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Lewis, David
The LGPL JavaScript Vector Graphics library supports: IE 4, 5 and 6,
Netscape 4 and later, Opera 5 and later, Safari, Gecko-Engine (Mozilla,
Netscape 6+, Firefox), and Konqueror.
http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm

Maybe someone want to "jQueryize" the libraries?

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Dave Methvin
Sent: October 27, 2006 12:59 PM
To: 'jQuery Discussion.'
Subject: Re: [jQuery] Oooh! These are pretty!

>> I might be wrong, but isn't that what Canvas is for? Drawing shapes?
>
> Canvas is Mozilla's implementation... IE doesn't support that however.
> A JQ drawing lib would be great but quite a pain in the ass to code
> so it was cross browser.

What else is new?  ;-)

None of those "pretty" dojo examples work on IE6 BTW. Don't you guys use
the
world's most popular browser?  :-O

If anyone is masochistic and thinking about tackling the drawing
problem,
start here:

http://starkravingfinkle.org/blog/2006/09/canvassvgvml-drawing-roundup/

The dojo library might be a good starting point but there are
alternatives.
It worries me that none of the demos work with IE.


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

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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Dave Methvin
>> I might be wrong, but isn't that what Canvas is for? Drawing shapes?
>
> Canvas is Mozilla's implementation... IE doesn't support that however.
> A JQ drawing lib would be great but quite a pain in the ass to code
> so it was cross browser.

What else is new?  ;-)

None of those "pretty" dojo examples work on IE6 BTW. Don't you guys use the
world's most popular browser?  :-O

If anyone is masochistic and thinking about tackling the drawing problem,
start here:

http://starkravingfinkle.org/blog/2006/09/canvassvgvml-drawing-roundup/

The dojo library might be a good starting point but there are alternatives.
It worries me that none of the demos work with IE.


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


Re: [jQuery] xml / javascript help requested

2006-10-27 Thread Matt Stith
you could try this:$.post("proc_loadhistory.php", function(xml){    $("string",xml).each(function() {   rawhtml[] = $(this).html();    }
    $('#output').html(rawxml); // Should show [[object Array]], but this is untested.}Remember thats untested, so dont quote me on it.On 10/27/06, 
Sean O <[EMAIL PROTECTED]> wrote:
Hi,I have an application that's loading values as XML from a text file onstartup.I can see the data displayed fine, but I need to get it into an array towork with.the code:// returns XML data as
"..$.post("proc_loadhistory.php",{}, function(xml){rawxml = $("string",xml).text();  // get text of each 
$('#output').html(rawxml);  // displays ALL s clumped togetheroutputs:"data1data2data3..."Soo... I need to be able to save this data (rawxml) in an array I can work
with so that I can access individual  records by number (such asmystring[2] for the 3rd value).e.g.// output value in second  field$("#button2").click(function(){
$('#output').html('rawxml[1]');   // <-- doesn't work, just an example ofwhat i need});Tried googling and scanning the docs, couldn't find anything.Can someone point me in the right direction?
Thanks.SEAN O--View this message in context: http://www.nabble.com/xml---_javascript_-help-requested-tf2522700.html#a7037061
Sent from the JQuery mailing list archive at Nabble.com.___jQuery mailing listdiscuss@jquery.com
http://jquery.com/discuss/
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Olivier Percebois-Garve




A cross-browser canvas approach is possible:

http://me.eae.net/archive/2005/12/29/canvas-in-ie/

olivvv

Alex Cook wrote:

  Canvas is Mozilla's implementation... IE doesn't support that however.
A JQ drawing lib would be great but quite a pain in the ass to code so
it was cross browser.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On
Behalf Of Bryan Buchs
Sent: Friday, October 27, 2006 11:14 AM
To: jQuery Discussion.
Subject: Re: [jQuery] Oooh! These are pretty!

I might be wrong, but isn't that what Canvas is for? Drawing shapes?



  
  
Sam,

Yes, some thing like that would be great. It would also be nice to 
handle arrays of locations without the 'px' so it is easy to do math

  
  on 
  
  
them.

// place a circle at the center of some container
$("#container").drawShape("circle", { origin: "centre", radius: 30})

// draw a circle
$("#container").drawShape("circle", { origin: [5,8], radius: 30})

// draw multiple circles and style them all the same
$("#container").drawShape("circle", { origin: [[5,8],[30,45],...], 
radius: 30, style: {color: "red", opacity: .5, border-color: #900, 
border-style: "solid"}})

// draw a polyline
$("#container").drawShape("line" { path: [[5,8],[30,45],...], style: 
{color: "red", line-style: "dashed", lineWidth: 2}}).bind("mouseover",

  
  
  
  
function(e){alert("I'm a line");});

I also think there is something to be said for creating shape objects

  
  like:
  
  
var redcircle = {
   id: "circle01",
   type: "circle",
   x: 5,
   y: 8,
   radius: 30,
   style: {color: #f00;},
};
var bluecircle = {
   id: "circle02",
   type: "circle",
   x: 5,
   y: 8,
   radius: 10,
   style: {color: #00f;},
};
var shapes = [];
shapes.push(redcircle);
shapes.push(bluecircle);

// add to circles, then hide the larger
$("#container").addShape(shapes);
$("#circle01").hide();

or

// add two circles (nested), then hide both of them
$("#container").addShape(redcircle);
$("#circle01").addShape(bluecircle);
$("#circle01").hide();

Anyway you get the idea.

-Steve

Sam Collett wrote:


  On 27/10/06, Stephen Woodbridge <[EMAIL PROTECTED]> wrote:
  
  
 Since a lot of what I
do it maps and building apps on top of maps, I would really be able

  

  
  to
  
  

  
use some generic tools for drawing that are fast, cross browser and
capable of handling more than a few dozen points or objects.

  
  So I guess what you want a a shape drawing plugin? That could be
useful and I could imaging a syntax similar to this:

// draw a circle in the centre of #container
$("#container").drawShape("circle", { origin: "centre", radius:
  

  
  "30px"})
  
  

  // draw a circle in the 5px from the left and 8px from  the top,
cropped when it reaches the edge (so you get a partial circle)
$("#container").drawShape("circle", { origin: {left: "5px", top:
"8px"}, radius: "30px" })

// draw a rectangle in the centre
$("#container").drawShape("rectangle", { origin: "center", width:
"30px", height: "35px" })

Other shapes could perhaps be added as well (triangles, trapezoids
etc). Some shapes are under several categories (a square is a
rectangle and a rohmbus). However, I have no idea how to implement
something like this.

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


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

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

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

  




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


Re: [jQuery] xml / javascript help requested

2006-10-27 Thread Stephen Woodbridge
Hi Sean,

look at http://imaptools.com:8081/maps/demo.html
and double click on the map, then click the toggle button under the map.

This is currently broken on IE, because of
http://jquery.com/dev/bugs/bug/164/
(Which I hope gets FIXED soon, please!)

You want to use xpath to extract values from your xml.

-Steve

Sean O wrote:
> Hi,
> 
> 
> I have an application that's loading values as XML from a text file on
> startup.
> I can see the data displayed fine, but I need to get it into an array to
> work with.
> 
> the code:
> 
>   // returns XML data as
> "..
>   $.post("proc_loadhistory.php",{}, function(xml){
>   rawxml = $("string",xml).text();  // get text of each 
> 
>   $('#output').html(rawxml);  // displays ALL s clumped 
> together
> 
> outputs:
> 
>   "data1data2data3..."
> 
> Soo... I need to be able to save this data (rawxml) in an array I can work
> with so that I can access individual  records by number (such as
> mystring[2] for the 3rd value).
> 
> e.g.
> 
>   // output value in second  field
>   $("#button2").click(function(){
>   $('#output').html('rawxml[1]');   // <-- doesn't work, just an 
> example of
> what i need
>   });
> 
> Tried googling and scanning the docs, couldn't find anything.
> 
> Can someone point me in the right direction?
> Thanks.
> 
> 
> SEAN O


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


[jQuery] xml / javascript help requested

2006-10-27 Thread Sean O

Hi,


I have an application that's loading values as XML from a text file on
startup.
I can see the data displayed fine, but I need to get it into an array to
work with.

the code:

// returns XML data as
"..
$.post("proc_loadhistory.php",{}, function(xml){
rawxml = $("string",xml).text();  // get text of each 

$('#output').html(rawxml);  // displays ALL s clumped 
together

outputs:

"data1data2data3..."

Soo... I need to be able to save this data (rawxml) in an array I can work
with so that I can access individual  records by number (such as
mystring[2] for the 3rd value).

e.g.

// output value in second  field
$("#button2").click(function(){
$('#output').html('rawxml[1]');   // <-- doesn't work, just an 
example of
what i need
});

Tried googling and scanning the docs, couldn't find anything.

Can someone point me in the right direction?
Thanks.


SEAN O
-- 
View this message in context: 
http://www.nabble.com/xml---javascript-help-requested-tf2522700.html#a7037061
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 Stephen Woodbridge
Also, from my original post on this look at the dojo implementation! 
They already have an API and code if it can be jQuerified.

This would be a HUGE boost in functionality for jQuery to support 
something like this.

-Steve

Lewis, David wrote:
> You may want to check out:
> http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm
> 
> The JavaScript Vector Graphics library allows functions such as: Draw Line, 
> Circle, Ellipse (Oval), Polyline, Polygon, Rectangle using a syntax very 
> similar to Java Swing.
> 
> Quoting form the Web site: 
> "This JavaScript VectorGraphics library provides graphics capabilities for 
> JavaScript: functions to draw circles, ellipses (ovals), oblique lines, 
> polylines and polygons (for instance triangles, rectangles) dynamically into 
> a webpage. Usage of this Vector Graphics library should be easy even if you 
> don't have JavaScript experience. Documentation. Another goal during 
> development of this JavaScript Draw Shapes Vector Graphics Library was to 
> achieve optimized performance and cleanly arranged pixel stair-step patterns 
> (pixel-optimization)."
> 
> This library is licenced under the LGPL 
> 
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer
> Sent: October 27, 2006 11:41 AM
> To: jQuery Discussion.
> Subject: Re: [jQuery] Oooh! These are pretty!
> 
> Stephen Woodbridge schrieb:
>> Sam,
>>
>> Yes, some thing like that would be great. It would also be nice to 
>> handle arrays of locations without the 'px' so it is easy to do math on 
>> them.
>>
>> // place a circle at the center of some container
>> $("#container").drawShape("circle", { origin: "centre", radius: 30})
>>
>> // draw a circle
>> $("#container").drawShape("circle", { origin: [5,8], radius: 30})
>>
>> // draw multiple circles and style them all the same
>> $("#container").drawShape("circle", { origin: [[5,8],[30,45],...], 
>> radius: 30, style: {color: "red", opacity: .5, border-color: #900, 
>> border-style: "solid"}})
>>
>> // draw a polyline
>> $("#container").drawShape("line" { path: [[5,8],[30,45],...], style: 
>> {color: "red", line-style: "dashed", lineWidth: 2}}).bind("mouseover", 
>> function(e){alert("I'm a line");});
>>
>> I also think there is something to be said for creating shape objects like:
>>
>> var redcircle = {
>>id: "circle01",
>>type: "circle",
>>x: 5,
>>y: 8,
>>radius: 30,
>>style: {color: #f00;},
>> };
>> var bluecircle = {
>>id: "circle02",
>>type: "circle",
>>x: 5,
>>y: 8,
>>radius: 10,
>>style: {color: #00f;},
>> };
>> var shapes = [];
>> shapes.push(redcircle);
>> shapes.push(bluecircle);
>>
>> // add to circles, then hide the larger
>> $("#container").addShape(shapes);
>> $("#circle01").hide();
>>
>> or
>>
>> // add two circles (nested), then hide both of them
>> $("#container").addShape(redcircle);
>> $("#circle01").addShape(bluecircle);
>> $("#circle01").hide();
>>   
> I like the idea. Whoever tries to implement it, should have a deep look 
> at GUI frameworks like Swing or SWT (for Java) and check how their 
> drawing APIs look like.
> 


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


Re: [jQuery] Button Contest: Digg It

2006-10-27 Thread Matt Stith
Me too! I should start work on my entry.On 10/27/06, Rey Bango <[EMAIL PROTECTED]> wrote:
Guys, following up on Yehuda's email about DZone, could you guys alsoDigg this entry as well?http://www.digg.com/programming/Build_a_JQuery_Button_Win_Some_Cool_Ajax_Books
Thanks,Rey...___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/

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


Re: [jQuery] Visual jQuery Announcement

2006-10-27 Thread Mike Alsup
On 10/27/06, Yehuda Katz <[EMAIL PROTECTED]> wrote:
> All of the very dark button use white text. The light buttons (light grey
> and blue) use black text. Maybe your screen is very dark?

That's not true.  Selected items are extremely difficult to read.
:hover elements are challenging as well.

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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Lewis, David
You may want to check out:
http://www.walterzorn.com/jsgraphics/jsgraphics_e.htm

The JavaScript Vector Graphics library allows functions such as: Draw Line, 
Circle, Ellipse (Oval), Polyline, Polygon, Rectangle using a syntax very 
similar to Java Swing.

Quoting form the Web site: 
"This JavaScript VectorGraphics library provides graphics capabilities for 
JavaScript: functions to draw circles, ellipses (ovals), oblique lines, 
polylines and polygons (for instance triangles, rectangles) dynamically into a 
webpage. Usage of this Vector Graphics library should be easy even if you don't 
have JavaScript experience. Documentation. Another goal during development of 
this JavaScript Draw Shapes Vector Graphics Library was to achieve optimized 
performance and cleanly arranged pixel stair-step patterns 
(pixel-optimization)."

This library is licenced under the LGPL 


-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer
Sent: October 27, 2006 11:41 AM
To: jQuery Discussion.
Subject: Re: [jQuery] Oooh! These are pretty!

Stephen Woodbridge schrieb:
> Sam,
>
> Yes, some thing like that would be great. It would also be nice to 
> handle arrays of locations without the 'px' so it is easy to do math on 
> them.
>
> // place a circle at the center of some container
> $("#container").drawShape("circle", { origin: "centre", radius: 30})
>
> // draw a circle
> $("#container").drawShape("circle", { origin: [5,8], radius: 30})
>
> // draw multiple circles and style them all the same
> $("#container").drawShape("circle", { origin: [[5,8],[30,45],...], 
> radius: 30, style: {color: "red", opacity: .5, border-color: #900, 
> border-style: "solid"}})
>
> // draw a polyline
> $("#container").drawShape("line" { path: [[5,8],[30,45],...], style: 
> {color: "red", line-style: "dashed", lineWidth: 2}}).bind("mouseover", 
> function(e){alert("I'm a line");});
>
> I also think there is something to be said for creating shape objects like:
>
> var redcircle = {
>id: "circle01",
>type: "circle",
>x: 5,
>y: 8,
>radius: 30,
>style: {color: #f00;},
> };
> var bluecircle = {
>id: "circle02",
>type: "circle",
>x: 5,
>y: 8,
>radius: 10,
>style: {color: #00f;},
> };
> var shapes = [];
> shapes.push(redcircle);
> shapes.push(bluecircle);
>
> // add to circles, then hide the larger
> $("#container").addShape(shapes);
> $("#circle01").hide();
>
> or
>
> // add two circles (nested), then hide both of them
> $("#container").addShape(redcircle);
> $("#circle01").addShape(bluecircle);
> $("#circle01").hide();
>   
I like the idea. Whoever tries to implement it, should have a deep look 
at GUI frameworks like Swing or SWT (for Java) and check how their 
drawing APIs look like.

-- 
Jörn Zaefferer

http://bassistance.de


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

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


Re: [jQuery] Visual jQuery Announcement

2006-10-27 Thread Yehuda Katz
All of the very dark button use white text. The light buttons (light grey and blue) use black text. Maybe your screen is very dark?On 10/27/06, Scott Sharkey
 <[EMAIL PROTECTED]> wrote:
Very nice, except for one thing.  Black text (on the buttons) on verydark blue or brown buttons with a black background is just anon-starter.  At least on my screens, Visual jQuery is useless, becauseI can't read the navigation screens.
If it's just me, I apologize.-ScottYehuda Katz wrote:> I just updated Visual jQuery so it uses docs that include the plugins in> the svn.>> I'm going to be adding inline docs to Interface over the next few days,
> so Interface docs will be available on visualjquery.com>  in the next few days.>> If there's a plugin that you have in the svn repository, but it's not
> currently on Visual jQuery, please let me know whether I can add the> inline docs into the repository, or if you want to do it. The more we> get centralized documentation, the better the overall jQuery community
> becomes.>> --> Yehuda Katz> Web Developer | Wycats Designs> (ph)  718.877.1325>>> 
>> ___> jQuery mailing list> discuss@jquery.com> http://jquery.com/discuss/
___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] js to jquery parent.frame...

2006-10-27 Thread kidult

how would i rewrite the line below using jquery? thanks.

parent.frames['site-diary-frame'].location.href='record.html?newItem='+this.imgsArray[this.unit].itemid+':image:project.html';
-- 
View this message in context: 
http://www.nabble.com/js-to-jquery-parent.frame...-tf2522027.html#a7034897
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 Will Jessup
Dan ,

Those would be great for force directed node graphs. Hrm

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


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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Jörn Zaefferer
Stephen Woodbridge schrieb:
> Sam,
>
> Yes, some thing like that would be great. It would also be nice to 
> handle arrays of locations without the 'px' so it is easy to do math on 
> them.
>
> // place a circle at the center of some container
> $("#container").drawShape("circle", { origin: "centre", radius: 30})
>
> // draw a circle
> $("#container").drawShape("circle", { origin: [5,8], radius: 30})
>
> // draw multiple circles and style them all the same
> $("#container").drawShape("circle", { origin: [[5,8],[30,45],...], 
> radius: 30, style: {color: "red", opacity: .5, border-color: #900, 
> border-style: "solid"}})
>
> // draw a polyline
> $("#container").drawShape("line" { path: [[5,8],[30,45],...], style: 
> {color: "red", line-style: "dashed", lineWidth: 2}}).bind("mouseover", 
> function(e){alert("I'm a line");});
>
> I also think there is something to be said for creating shape objects like:
>
> var redcircle = {
>id: "circle01",
>type: "circle",
>x: 5,
>y: 8,
>radius: 30,
>style: {color: #f00;},
> };
> var bluecircle = {
>id: "circle02",
>type: "circle",
>x: 5,
>y: 8,
>radius: 10,
>style: {color: #00f;},
> };
> var shapes = [];
> shapes.push(redcircle);
> shapes.push(bluecircle);
>
> // add to circles, then hide the larger
> $("#container").addShape(shapes);
> $("#circle01").hide();
>
> or
>
> // add two circles (nested), then hide both of them
> $("#container").addShape(redcircle);
> $("#circle01").addShape(bluecircle);
> $("#circle01").hide();
>   
I like the idea. Whoever tries to implement it, should have a deep look 
at GUI frameworks like Swing or SWT (for Java) and check how their 
drawing APIs look like.

-- 
Jörn Zaefferer

http://bassistance.de


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


Re: [jQuery] Improved Event system & new Accordion

2006-10-27 Thread Jörn Zaefferer
Karl Swedberg schrieb:
> While on the subject of accordion plugins, wouldn't it be nice to use  
> John's nextUntil() plugin for the definition-list accordion so that a  
> DT could take multiple DDs? Just a thought.
>   
Good thought! I'll try it. In addition, I want to try some kind of 
auto-detect-structure. If that runs, it wouldnt matter if your accordion 
contains a dt+dd or a h3+p or h5+div structure. It just takes the first 
child and takes that kind of element for the headers, and all until the 
next header as content. If someone doesn't like definitions list, he 
could use something else, as long as the hierachie is the same.

-- 
Jörn Zaefferer

http://bassistance.de


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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Alex Cook
Canvas is Mozilla's implementation... IE doesn't support that however.
A JQ drawing lib would be great but quite a pain in the ass to code so
it was cross browser.

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Bryan Buchs
Sent: Friday, October 27, 2006 11:14 AM
To: jQuery Discussion.
Subject: Re: [jQuery] Oooh! These are pretty!

I might be wrong, but isn't that what Canvas is for? Drawing shapes?



> Sam,
> 
> Yes, some thing like that would be great. It would also be nice to 
> handle arrays of locations without the 'px' so it is easy to do math
on 
> them.
> 
> // place a circle at the center of some container
> $("#container").drawShape("circle", { origin: "centre", radius: 30})
> 
> // draw a circle
> $("#container").drawShape("circle", { origin: [5,8], radius: 30})
> 
> // draw multiple circles and style them all the same
> $("#container").drawShape("circle", { origin: [[5,8],[30,45],...], 
> radius: 30, style: {color: "red", opacity: .5, border-color: #900, 
> border-style: "solid"}})
> 
> // draw a polyline
> $("#container").drawShape("line" { path: [[5,8],[30,45],...], style: 
> {color: "red", line-style: "dashed", lineWidth: 2}}).bind("mouseover",

> function(e){alert("I'm a line");});
> 
> I also think there is something to be said for creating shape objects
like:
> 
> var redcircle = {
>id: "circle01",
>type: "circle",
>x: 5,
>y: 8,
>radius: 30,
>style: {color: #f00;},
> };
> var bluecircle = {
>id: "circle02",
>type: "circle",
>x: 5,
>y: 8,
>radius: 10,
>style: {color: #00f;},
> };
> var shapes = [];
> shapes.push(redcircle);
> shapes.push(bluecircle);
> 
> // add to circles, then hide the larger
> $("#container").addShape(shapes);
> $("#circle01").hide();
> 
> or
> 
> // add two circles (nested), then hide both of them
> $("#container").addShape(redcircle);
> $("#circle01").addShape(bluecircle);
> $("#circle01").hide();
> 
> Anyway you get the idea.
> 
> -Steve
> 
> Sam Collett wrote:
>> On 27/10/06, Stephen Woodbridge <[EMAIL PROTECTED]> wrote:
>>>  Since a lot of what I
>>> do it maps and building apps on top of maps, I would really be able
to
>>> use some generic tools for drawing that are fast, cross browser and
>>> capable of handling more than a few dozen points or objects.
>> So I guess what you want a a shape drawing plugin? That could be
>> useful and I could imaging a syntax similar to this:
>>
>> // draw a circle in the centre of #container
>> $("#container").drawShape("circle", { origin: "centre", radius:
"30px"})
>>
>> // draw a circle in the 5px from the left and 8px from  the top,
>> cropped when it reaches the edge (so you get a partial circle)
>> $("#container").drawShape("circle", { origin: {left: "5px", top:
>> "8px"}, radius: "30px" })
>>
>> // draw a rectangle in the centre
>> $("#container").drawShape("rectangle", { origin: "center", width:
>> "30px", height: "35px" })
>>
>> Other shapes could perhaps be added as well (triangles, trapezoids
>> etc). Some shapes are under several categories (a square is a
>> rectangle and a rohmbus). However, I have no idea how to implement
>> something like this.
>>
>> ___
>> jQuery mailing list
>> discuss@jquery.com
>> http://jquery.com/discuss/
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/

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

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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Bryan Buchs
I might be wrong, but isn't that what Canvas is for? Drawing shapes?



> Sam,
> 
> Yes, some thing like that would be great. It would also be nice to 
> handle arrays of locations without the 'px' so it is easy to do math on 
> them.
> 
> // place a circle at the center of some container
> $("#container").drawShape("circle", { origin: "centre", radius: 30})
> 
> // draw a circle
> $("#container").drawShape("circle", { origin: [5,8], radius: 30})
> 
> // draw multiple circles and style them all the same
> $("#container").drawShape("circle", { origin: [[5,8],[30,45],...], 
> radius: 30, style: {color: "red", opacity: .5, border-color: #900, 
> border-style: "solid"}})
> 
> // draw a polyline
> $("#container").drawShape("line" { path: [[5,8],[30,45],...], style: 
> {color: "red", line-style: "dashed", lineWidth: 2}}).bind("mouseover", 
> function(e){alert("I'm a line");});
> 
> I also think there is something to be said for creating shape objects like:
> 
> var redcircle = {
>id: "circle01",
>type: "circle",
>x: 5,
>y: 8,
>radius: 30,
>style: {color: #f00;},
> };
> var bluecircle = {
>id: "circle02",
>type: "circle",
>x: 5,
>y: 8,
>radius: 10,
>style: {color: #00f;},
> };
> var shapes = [];
> shapes.push(redcircle);
> shapes.push(bluecircle);
> 
> // add to circles, then hide the larger
> $("#container").addShape(shapes);
> $("#circle01").hide();
> 
> or
> 
> // add two circles (nested), then hide both of them
> $("#container").addShape(redcircle);
> $("#circle01").addShape(bluecircle);
> $("#circle01").hide();
> 
> Anyway you get the idea.
> 
> -Steve
> 
> Sam Collett wrote:
>> On 27/10/06, Stephen Woodbridge <[EMAIL PROTECTED]> wrote:
>>>  Since a lot of what I
>>> do it maps and building apps on top of maps, I would really be able to
>>> use some generic tools for drawing that are fast, cross browser and
>>> capable of handling more than a few dozen points or objects.
>> So I guess what you want a a shape drawing plugin? That could be
>> useful and I could imaging a syntax similar to this:
>>
>> // draw a circle in the centre of #container
>> $("#container").drawShape("circle", { origin: "centre", radius: "30px"})
>>
>> // draw a circle in the 5px from the left and 8px from  the top,
>> cropped when it reaches the edge (so you get a partial circle)
>> $("#container").drawShape("circle", { origin: {left: "5px", top:
>> "8px"}, radius: "30px" })
>>
>> // draw a rectangle in the centre
>> $("#container").drawShape("rectangle", { origin: "center", width:
>> "30px", height: "35px" })
>>
>> Other shapes could perhaps be added as well (triangles, trapezoids
>> etc). Some shapes are under several categories (a square is a
>> rectangle and a rohmbus). However, I have no idea how to implement
>> something like this.
>>
>> ___
>> jQuery mailing list
>> discuss@jquery.com
>> http://jquery.com/discuss/
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/

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


Re: [jQuery] Button Contest: Digg It

2006-10-27 Thread Rey Bango
Awesome! Thanks Andy!

Andy Matthews wrote:
> Dugg
> 
>  andy matthews
> web developer
> certified advanced coldfusion programmer
> ICGLink, Inc.
> [EMAIL PROTECTED]
> 615.370.1530 x737
> --//->
> 
> -Original Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Behalf Of Rey Bango
> Sent: Friday, October 27, 2006 11:20 AM
> To: jQuery Discussion.
> Subject: [jQuery] Button Contest: Digg It
> 
> 
> Guys, following up on Yehuda's email about DZone, could you guys also
> Digg this entry as well?
> 
> http://www.digg.com/programming/Build_a_JQuery_Button_Win_Some_Cool_Ajax_Boo
> ks
> 
> Thanks,
> 
> Rey...
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 

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


Re: [jQuery] Height overwrite

2006-10-27 Thread Christof Donat
Hi,

> I can not the Textarea give any ID or CLASS, to establish understanding ;)

Yes you can:

$('textarea').each(function(i) {
$(this).id('txtarea_'+i).
after('höher');
});

$('resize').click(function() {
var txt = $('#txtarea_'+this.id.substr(8));
txt.heigth(txt.height()+60).slideDown('slow');
});

Christof

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


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Stephen Woodbridge
Sam,

Yes, some thing like that would be great. It would also be nice to 
handle arrays of locations without the 'px' so it is easy to do math on 
them.

// place a circle at the center of some container
$("#container").drawShape("circle", { origin: "centre", radius: 30})

// draw a circle
$("#container").drawShape("circle", { origin: [5,8], radius: 30})

// draw multiple circles and style them all the same
$("#container").drawShape("circle", { origin: [[5,8],[30,45],...], 
radius: 30, style: {color: "red", opacity: .5, border-color: #900, 
border-style: "solid"}})

// draw a polyline
$("#container").drawShape("line" { path: [[5,8],[30,45],...], style: 
{color: "red", line-style: "dashed", lineWidth: 2}}).bind("mouseover", 
function(e){alert("I'm a line");});

I also think there is something to be said for creating shape objects like:

var redcircle = {
   id: "circle01",
   type: "circle",
   x: 5,
   y: 8,
   radius: 30,
   style: {color: #f00;},
};
var bluecircle = {
   id: "circle02",
   type: "circle",
   x: 5,
   y: 8,
   radius: 10,
   style: {color: #00f;},
};
var shapes = [];
shapes.push(redcircle);
shapes.push(bluecircle);

// add to circles, then hide the larger
$("#container").addShape(shapes);
$("#circle01").hide();

or

// add two circles (nested), then hide both of them
$("#container").addShape(redcircle);
$("#circle01").addShape(bluecircle);
$("#circle01").hide();

Anyway you get the idea.

-Steve

Sam Collett wrote:
> On 27/10/06, Stephen Woodbridge <[EMAIL PROTECTED]> wrote:
>>  Since a lot of what I
>> do it maps and building apps on top of maps, I would really be able to
>> use some generic tools for drawing that are fast, cross browser and
>> capable of handling more than a few dozen points or objects.
> 
> So I guess what you want a a shape drawing plugin? That could be
> useful and I could imaging a syntax similar to this:
> 
> // draw a circle in the centre of #container
> $("#container").drawShape("circle", { origin: "centre", radius: "30px"})
> 
> // draw a circle in the 5px from the left and 8px from  the top,
> cropped when it reaches the edge (so you get a partial circle)
> $("#container").drawShape("circle", { origin: {left: "5px", top:
> "8px"}, radius: "30px" })
> 
> // draw a rectangle in the centre
> $("#container").drawShape("rectangle", { origin: "center", width:
> "30px", height: "35px" })
> 
> Other shapes could perhaps be added as well (triangles, trapezoids
> etc). Some shapes are under several categories (a square is a
> rectangle and a rohmbus). However, I have no idea how to implement
> something like this.
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/


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


Re: [jQuery] Height overwrite

2006-10-27 Thread Olaf Bosch
Olaf Bosch schrieb:

> and than works no more

Fine, fine, fine
This works fine ;)

$(document).ready(function() {
$("textarea").after("höher");
   $('.resize').click(function(){
   var NHeight = ($("textarea").height()+60)+'px'
 $('textarea').css("height",NHeight).slideDown('slow');
   });
});

Now i must go to works with more textareas in one document.

-- 
Viele Grüße, Olaf

---
[EMAIL PROTECTED]
http://olaf-bosch.de
www.akitafreund.de
---

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


Re: [jQuery] Visual jQuery Announcement

2006-10-27 Thread Scott Sharkey
Very nice, except for one thing.  Black text (on the buttons) on very 
dark blue or brown buttons with a black background is just a 
non-starter.  At least on my screens, Visual jQuery is useless, because 
I can't read the navigation screens.

If it's just me, I apologize.

-Scott


Yehuda Katz wrote:
> I just updated Visual jQuery so it uses docs that include the plugins in 
> the svn.
> 
> I'm going to be adding inline docs to Interface over the next few days, 
> so Interface docs will be available on visualjquery.com 
>  in the next few days.
> 
> If there's a plugin that you have in the svn repository, but it's not 
> currently on Visual jQuery, please let me know whether I can add the 
> inline docs into the repository, or if you want to do it. The more we 
> get centralized documentation, the better the overall jQuery community 
> becomes.
> 
> -- 
> 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/


Re: [jQuery] jQuery Button Contest: Vote it Up

2006-10-27 Thread Rey Bango
Hi Chris,

The vote link that Yehuda provided is to push the article up so it gets 
front page status. Its like Digg.

The voting on the images is done seperately.

Rey

Christopher Jordan wrote:
> I don't get the point of the link you provided Yehuda. I didn't see any 
> buttons to vote for? I saw that we could vote for the blog page that 
> promotes the contest, I guess. Was that the point?
> 
> Maybe I'm the only dork who doesn't understand how the process (not the 
> contest itself) of this contest will work. I suppose the major thing I 
> don't understand is: where should button creators put their buttons so 
> they can be voted on? I kinda assumed that's what your link was about, 
> but didn't see any buttons.
> 
> I think it'd be cool to vote in this contest (uh... the community is 
> voting, right?)
> 
> Chris
> 
> Yehuda Katz wrote:
> 
>> As you guys know, Rey and John created a contest for the best "Powered 
>> by jQuery" button. Vote it up at 
>> http://www.dzone.com/links/build_a_jquery_button_win_some_cool_ajax_books.html
>>  
>> 
>>
>> Help spread jQuery!
>>
>> -- 
>> 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/

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


Re: [jQuery] Button Contest: Digg It

2006-10-27 Thread Andy Matthews
Dugg



-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Behalf Of Rey Bango
Sent: Friday, October 27, 2006 11:20 AM
To: jQuery Discussion.
Subject: [jQuery] Button Contest: Digg It


Guys, following up on Yehuda's email about DZone, could you guys also
Digg this entry as well?

http://www.digg.com/programming/Build_a_JQuery_Button_Win_Some_Cool_Ajax_Boo
ks

Thanks,

Rey...

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


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


Re: [jQuery] Height overwrite

2006-10-27 Thread Olaf Bosch
Olaf Bosch schrieb:

> Now i must go to works with more textareas in one document.

oh, oh, i come not to the end, is works fine, but
Now i have multiple textareas and this works for all :(

I have experiment with .bind and .prev not works for me.
Any ideas?



$(document).ready(function() {
$("textarea").after("

höher

"); var HHH = $(".resize").prev("textarea").height(); alert (HHH); $('.resize').click(function(){ var NHeight = ($("textarea").height()+60)+'px' $(".resize").prev("textarea").css("height",NHeight).slideDown('slow'); }); }); I can not the Textarea give any ID or CLASS, to establish understanding ;) -- Viele Grüße, Olaf --- [EMAIL PROTECTED] http://olaf-bosch.de www.akitafreund.de --- ___ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/

Re: [jQuery] jQuery Button Contest: Vote it Up

2006-10-27 Thread John Resig
Christopher -

>  Maybe I'm the only dork who doesn't understand how the process (not the
> contest itself) of this contest will work. I suppose the major thing I don't
> understand is: where should button creators put their buttons so they can be
> voted on? I kinda assumed that's what your link was about, but didn't see
> any buttons.

Right now you submit your button by adding it to the comments of this post:
http://jquery.com/blog/2006/10/26/jquery-button-contest-many-prizes/

>  I think it'd be cool to vote in this contest (uh... the community is
> voting, right?)

That wasn't the original decision, but I don't see why not. I'll see
if I can get a vote script setup.

--John

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


Re: [jQuery] jQuery Button Contest: Vote it Up

2006-10-27 Thread Christopher Jordan




I don't
get the point of the link you provided Yehuda. I didn't see any buttons
to vote for? I saw that we could vote for the blog page that promotes
the contest, I guess. Was that the point? 

Maybe I'm the only dork who doesn't understand how the process (not the
contest itself) of this contest will work. I suppose the major thing I
don't understand is: where should button creators
put their buttons so they can be voted on? I kinda assumed that's what
your link was about, but didn't see any buttons.

I think it'd be cool to vote in this contest (uh... the community is
voting, right?)

Chris

Yehuda Katz wrote:
As you guys know, Rey and John created a contest for the
best "Powered by jQuery" button. Vote it up at http://www.dzone.com/links/build_a_jquery_button_win_some_cool_ajax_books.html
  
  
Help spread jQuery!
  
-- 
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/


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Sam Collett
On 27/10/06, Stephen Woodbridge <[EMAIL PROTECTED]> wrote:
>  Since a lot of what I
> do it maps and building apps on top of maps, I would really be able to
> use some generic tools for drawing that are fast, cross browser and
> capable of handling more than a few dozen points or objects.

So I guess what you want a a shape drawing plugin? That could be
useful and I could imaging a syntax similar to this:

// draw a circle in the centre of #container
$("#container").drawShape("circle", { origin: "centre", radius: "30px"})

// draw a circle in the 5px from the left and 8px from  the top,
cropped when it reaches the edge (so you get a partial circle)
$("#container").drawShape("circle", { origin: {left: "5px", top:
"8px"}, radius: "30px" })

// draw a rectangle in the centre
$("#container").drawShape("rectangle", { origin: "center", width:
"30px", height: "35px" })

Other shapes could perhaps be added as well (triangles, trapezoids
etc). Some shapes are under several categories (a square is a
rectangle and a rohmbus). However, I have no idea how to implement
something like this.

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


Re: [jQuery] jQuery Button Contest: Vote it Up

2006-10-27 Thread Rey Bango
Thanks Yehuda! Vote it up fellas!

Yehuda Katz wrote:
> As you guys know, Rey and John created a contest for the best "Powered 
> by jQuery" button. Vote it up at 
> http://www.dzone.com/links/build_a_jquery_button_win_some_cool_ajax_books.html
>  
> 
> 
> Help spread jQuery!
> 
> -- 
> 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/


[jQuery] Button Contest: Digg It

2006-10-27 Thread Rey Bango
Guys, following up on Yehuda's email about DZone, could you guys also 
Digg this entry as well?

http://www.digg.com/programming/Build_a_JQuery_Button_Win_Some_Cool_Ajax_Books

Thanks,

Rey...

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


Re: [jQuery] interface droppable

2006-10-27 Thread Yehuda Katz
Remember that you can always assign more than one class to an element.On 10/27/06, Barry Nauta <[EMAIL PROTECTED]
> wrote:Ok, never mind. Assign a droppable and draggable class to the folder and it
works.(*sigh*)On Friday 27 October 2006 16:17, Barry Nauta wrote:> HI,>> Any idea on how to let the droppable accept multiple classes?>> I have folders and nodes. Both Nodes and Folders can be dragged upon
> Folders (so there are drappable), but Nodes do not accept other itens, they> are not droppable so two classes are needed...>> Any ideas?>> And before I forget: A nice weekend to everyone!
>> ___> jQuery mailing list> discuss@jquery.com> http://jquery.com/discuss/
___jQuery mailing listdiscuss@jquery.comhttp://jquery.com/discuss/
-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Improved Event system & new Accordion

2006-10-27 Thread Wil Stuckey
On 10/26/06, Benjamin Sterling <[EMAIL PROTECTED]
> wrote:














Can you supply an example on how you would
implement this?Sure, I was working on a demo page but here is a quick example of how this would be put together.The HTML can be any pairing you want dt and dd; h2 and ul; h2 and div.


The pugin is chainable and can be used like:jQuery('h2.accordion').accordion('ul.accorion', {startIndex: 0, speed: 'slow'}) The first argument should be a jQuery _expression_. Optional parameters are: startIndex, speed, and callback.
HTH,Wil 
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


[jQuery] jQuery Button Contest: Vote it Up

2006-10-27 Thread Yehuda Katz
As you guys know, Rey and John created a contest for the best "Powered by jQuery" button. Vote it up at http://www.dzone.com/links/build_a_jquery_button_win_some_cool_ajax_books.html
Help spread jQuery!-- Yehuda KatzWeb Developer | Wycats Designs(ph)  718.877.1325
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] Oooh! These are pretty!

2006-10-27 Thread Stephen Woodbridge
Dan,

Yes all good points. I was not very explicit about what I liked. It is 
the vector and object drawing done cross browser. Since a lot of what I 
do it maps and building apps on top of maps, I would really be able to 
use some generic tools for drawing that are fast, cross browser and 
capable of handling more than a few dozen points or objects.

Dan Atkinson wrote:
> 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.

Yeah, just eye candy :) Btw, how do you draw a circle in js?

> 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).

Yeah, I noticed that. It was just a nice integration of a lot of vector 
drawing and nice coordination of dragging the clock hands to adjust the 
time.

> 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 the point here is that it would be nice to have a library of the 
primitive object create tools and the snapping or hotspot tools.

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

or add save/load function that read/writes an xml document somewhere.

-Steve

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


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


Re: [jQuery] Improved Event system & new Accordion

2006-10-27 Thread Karl Swedberg
While on the subject of accordion plugins, wouldn't it be nice to use  
John's nextUntil() plugin for the definition-list accordion so that a  
DT could take multiple DDs? Just a thought.

Karl
___
Karl Swedberg
www.englishrules.com
www.learningjquery.com

On Oct 27, 2006, at 3:37 AM, Klaus Hartl wrote:

> Jörn Zaefferer schrieb:
>> Hi Klaus!
>>
>>> Jörn Zaefferer schrieb:
>> By the way, is there interest to put the accordion into the  
>> jQuery
>> repository?
> If you create a subdirectory in SVN/plugins this would be  
> really good.
> Since Klaus and I also made an accordion plugin, we might need to
>>> change
> that to /plugins/accordion1/ and /plugins/accordion2/.
 I'd rather try to create a merge or best breed. I think the event
>>> delegation approach is the better one as it uses only a single  
>>> event handler, but
>>> there are other details you might have solved better. If I add my  
>>> soltion
>>> to /plugins/accordion/, you are still free to modify it as you  
>>> like :-)
>>>
>>> I agree. Let's put efforts into one plugin...! I'd say our plugin is
>>> pretty basic anyway, I'm more dedicated to my tabs and history  
>>> plugin
>>> right now.
>>>
>>> Franck asked too make it a bit more flexible regarding the HTML
>>> structure. If you find that reasonable (I do, because it could  
>>> also be a
>>> h2+p structure), I have done something similiar for the tabs lately,
>>> i.e. you set an option too define the HTML structure to rely on.
>>
>> I wonder if we really need accordion and tabs parallel... Wouldn't  
>> it be possible to style a definition list to look like tabs? When  
>> you get down to it, the difference between tabs and accordion is  
>> just the positioning of the clickable headers.
>
> Hm, I think they work both a little different. Opening and closing
> animations are chained in tabs but happen simultanously in accordion.
>
> But more important, the underlying structure is quite different as  
> well.
> The tab has one list of links pointing to containers succeding that
> list, like link/link/link, container/container/container, while the
> accordion is a sequence of link, container, link, container, ...
>
>
>> It's something we should at least check. I like the idea of  
>> changing a single argument to make my tabs look like an accordion  
>> and vice-versa.
>>
>>> Could be something like this:
>>>
>>> $(...).accordion({
>>>  struct: 'h2+p'
>>> });
>>>
>>> or
>>>
>>> $(...).accordion({
>>>  struct: 'dl>dd+dt'
>>> });
>>>
>>> One or the other could the default.
>>>
>>> Hm, I'm beginning to think that "struct" is a better option name  
>>> then
>>> "tabSelector"...
>>
>> We should try to find a standard that could be used to describe  
>> this structure (CSS, XPath, SQL, whatever). Or maybe just html,  
>> eg. struct: "TITLECONTENT" or struct:  
>> "TITLECONTENT".
>
> The benefit of passing in an XPath/CSS expression is, that it is ready
> to use in the script. I don't want to parse the sructure from a given
> HTML structure (string) first. I think that is fairly easy in  
> usage, you
> can use CSS or XPath, whatever you are more comfortable with.
>
> -- Klaus
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/


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


Re: [jQuery] How i use the Docs

2006-10-27 Thread Yehuda Katz
It's an error in the docs. Use .prev() not .previous().On 10/27/06, Olaf Bosch <[EMAIL PROTECTED]> wrote:
I will use the snippets from the Docu, how i must handle with This?example: