Re: [jQuery] Flickering problem in Firefox

2007-01-14 Thread Anders Bäckman
Tested this on a PC now and it worked fine, so the problem only seems
to exist on Mac.
Still problem on Mac in both OSX and WinXP in Firefox though.

2007/1/14, Anders Bäckman <[EMAIL PROTECTED]>:
> Now I've removed the scroll-function to get focus on the problem.
>
> 2007/1/14, Anders Bäckman <[EMAIL PROTECTED]>:
> > Interesting. I've noticed that it doesn't blink when click the first
> > time page is loaded. But if you reload the page and click "Who is
> > this?" again, it should blink (does to me anyway).
> >
> > Sure it's jerky but that's not the problem in this case.
> >
> > 2007/1/14, Giuliano Marcangelo <[EMAIL PROTECTED]>:
> > > On a slow computer, the animation is "jerky"..on the way up and 
> > > down
> > > the animations stutters
> > >
> > >
> > > On 14/01/07, Miles Storey < [EMAIL PROTECTED]> wrote:
> > > > There's no white page thing happening for me. It's smooth on the way 
> > > > down,
> > > a bit jerky on the way up but I don't see the page turning white for a
> > > second.
> > > >
> > > > Using XP and FF 2.0
> > > >
> > > > m
> > > >
> > > >
> > > >
> > > >
> > > > On 1/14/07, speedabuser <[EMAIL PROTECTED]> wrote:
> > > > >
> > > > > It does to me in Firefox 2.0 / WinXP!
> > > > > Maybe flickering is the wrong expression, since it just blinks if you
> > > have a
> > > > > computer that's fast enough. It shows much more if you're on a slow
> > > > > computer.
> > > > >
> > > > > However, the whole site become white for a quick moment when click on
> > > the
> > > > > link "Who is this?".
> > > > >
> > > > > Look again!
> > > > >
> > > > >
> > > > > dave.methvin wrote:
> > > > > >
> > > > > >> My site flickers when slide-animation is activated.
> > > > > >> This only happens in Firefox (both Mac & PC).
> > > > > >> Click "Who is this" on http://cv.gulligt.com/ to see what happens.
> > > > > >
> > > > > > It does not flicker for me. Windows XP, Firefox 2.0.
> > > > > >
> > > > > >
> > > > > > ___
> > > > > > jQuery mailing list
> > > > > > discuss@jquery.com
> > > > > > http://jquery.com/discuss/
> > > > > >
> > > > > >
> > > > >
> > > > > --
> > > > > View this message in context:
> > > http://www.nabble.com/Flickering-problem-in-Firefox-tf2972738.html#a8361081
> > > > > Sent from the JQuery mailing list archive at Nabble.com.
> > > > >
> > > > >
> > > > > ___
> > > > > jQuery mailing list
> > > > > discuss@jquery.com
> > > > > http://jquery.com/discuss/
> > > > >
> > > >
> > > >
> > > > ___
> > > > jQuery mailing list
> > > > discuss@jquery.com
> > > > http://jquery.com/discuss/
> > > >
> > > >
> > > >
> > >
> > >
> > > ___
> > > jQuery mailing list
> > > discuss@jquery.com
> > > http://jquery.com/discuss/
> > >
> > >
> > >
> >
>

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


Re: [jQuery] Flickering problem in Firefox

2007-01-14 Thread Anders Bäckman
Now I've removed the scroll-function to get focus on the problem.

2007/1/14, Anders Bäckman <[EMAIL PROTECTED]>:
> Interesting. I've noticed that it doesn't blink when click the first
> time page is loaded. But if you reload the page and click "Who is
> this?" again, it should blink (does to me anyway).
>
> Sure it's jerky but that's not the problem in this case.
>
> 2007/1/14, Giuliano Marcangelo <[EMAIL PROTECTED]>:
> > On a slow computer, the animation is "jerky"..on the way up and down
> > the animations stutters
> >
> >
> > On 14/01/07, Miles Storey < [EMAIL PROTECTED]> wrote:
> > > There's no white page thing happening for me. It's smooth on the way down,
> > a bit jerky on the way up but I don't see the page turning white for a
> > second.
> > >
> > > Using XP and FF 2.0
> > >
> > > m
> > >
> > >
> > >
> > >
> > > On 1/14/07, speedabuser <[EMAIL PROTECTED]> wrote:
> > > >
> > > > It does to me in Firefox 2.0 / WinXP!
> > > > Maybe flickering is the wrong expression, since it just blinks if you
> > have a
> > > > computer that's fast enough. It shows much more if you're on a slow
> > > > computer.
> > > >
> > > > However, the whole site become white for a quick moment when click on
> > the
> > > > link "Who is this?".
> > > >
> > > > Look again!
> > > >
> > > >
> > > > dave.methvin wrote:
> > > > >
> > > > >> My site flickers when slide-animation is activated.
> > > > >> This only happens in Firefox (both Mac & PC).
> > > > >> Click "Who is this" on http://cv.gulligt.com/ to see what happens.
> > > > >
> > > > > It does not flicker for me. Windows XP, Firefox 2.0.
> > > > >
> > > > >
> > > > > ___
> > > > > jQuery mailing list
> > > > > discuss@jquery.com
> > > > > http://jquery.com/discuss/
> > > > >
> > > > >
> > > >
> > > > --
> > > > View this message in context:
> > http://www.nabble.com/Flickering-problem-in-Firefox-tf2972738.html#a8361081
> > > > Sent from the JQuery mailing list archive at Nabble.com.
> > > >
> > > >
> > > > ___
> > > > jQuery mailing list
> > > > discuss@jquery.com
> > > > http://jquery.com/discuss/
> > > >
> > >
> > >
> > > ___
> > > jQuery mailing list
> > > discuss@jquery.com
> > > http://jquery.com/discuss/
> > >
> > >
> > >
> >
> >
> > ___
> > jQuery mailing list
> > discuss@jquery.com
> > http://jquery.com/discuss/
> >
> >
> >
>

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


Re: [jQuery] Flickering problem in Firefox

2007-01-14 Thread Anders Bäckman
Interesting. I've noticed that it doesn't blink when click the first
time page is loaded. But if you reload the page and click "Who is
this?" again, it should blink (does to me anyway).

Sure it's jerky but that's not the problem in this case.

2007/1/14, Giuliano Marcangelo <[EMAIL PROTECTED]>:
> On a slow computer, the animation is "jerky"..on the way up and down
> the animations stutters
>
>
> On 14/01/07, Miles Storey < [EMAIL PROTECTED]> wrote:
> > There's no white page thing happening for me. It's smooth on the way down,
> a bit jerky on the way up but I don't see the page turning white for a
> second.
> >
> > Using XP and FF 2.0
> >
> > m
> >
> >
> >
> >
> > On 1/14/07, speedabuser <[EMAIL PROTECTED]> wrote:
> > >
> > > It does to me in Firefox 2.0 / WinXP!
> > > Maybe flickering is the wrong expression, since it just blinks if you
> have a
> > > computer that's fast enough. It shows much more if you're on a slow
> > > computer.
> > >
> > > However, the whole site become white for a quick moment when click on
> the
> > > link "Who is this?".
> > >
> > > Look again!
> > >
> > >
> > > dave.methvin wrote:
> > > >
> > > >> My site flickers when slide-animation is activated.
> > > >> This only happens in Firefox (both Mac & PC).
> > > >> Click "Who is this" on http://cv.gulligt.com/ to see what happens.
> > > >
> > > > It does not flicker for me. Windows XP, Firefox 2.0.
> > > >
> > > >
> > > > ___
> > > > jQuery mailing list
> > > > discuss@jquery.com
> > > > http://jquery.com/discuss/
> > > >
> > > >
> > >
> > > --
> > > View this message in context:
> http://www.nabble.com/Flickering-problem-in-Firefox-tf2972738.html#a8361081
> > > Sent from the JQuery mailing list archive at Nabble.com.
> > >
> > >
> > > ___
> > > jQuery mailing list
> > > discuss@jquery.com
> > > http://jquery.com/discuss/
> > >
> >
> >
> > ___
> > jQuery mailing list
> > discuss@jquery.com
> > http://jquery.com/discuss/
> >
> >
> >
>
>
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
>
>
>

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


Re: [jQuery] Visual jQuery Redux

2007-01-10 Thread Anders
> What would the back button do?

> Working back button would definitely be appreciated. You could also
> bookmark where you are and go straight to it when needed.

Yehuda: I don't know if Sam's mail about being able to bookmark
methods clarified what I meant with a working back button. I actually
had a somewhat working demo a while ago with visual jquery and the
history plugin (http://www.mikage.to/jquery/jquery_history.html), I
can dig it up if you like.

/Anders

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


Re: [jQuery] Visual jQuery Redux

2007-01-08 Thread Anders
Looks nice. Two things:

* Working back button: Have you for example looked at the jQuery
history plugin, or the tabs plugin implementation?
* The centered headlines (Returns, Parameters etc) looks out of place
on my wide screen. Aligned to the left would work better.

/Anders

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


Re: [jQuery] Adding an element directly below another one

2006-12-08 Thread Anders
Haven't looked at this in detail, but I think my CSS demonstration for
datePicker could be relevant in this case as well,
http://perifer.se/test/datepickerCSS.htm

One advantage I could see directly is when changing the text size in
the browser, where the box in my CSS solution stays positioned when
the text is changed.

I'm planning to use the CSS approach in my example for a slightly
rewritten timePicker. I'll put up an example when it's ready.

/Anders

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


Re: [jQuery] datePicker changes layout

2006-12-07 Thread Anders
On 12/7/06, Kelvin Luck <[EMAIL PROTECTED]> wrote:
> In the longer term I'll look into changing the way the date picker is
> attached so that it can be absolutely positioned in the right place
> rather than inserting markup around the relevant inputs.

I put up a crude CSS example page on positioning the calendar div
without doing any wrapping. Hopefully it's useful.

Link: http://perifer.se/test/datepickerCSS.htm

/Anders

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


[jQuery] Form plugin: license

2006-11-22 Thread Anders
I couldn't find any license info on the Form plugin, is it under same
dual license as jQuery (MIT/GPL)?

I'm asking because I would like to include it in a Drupal project, and
with good reason Drupal don't want non-GPL code in the repositary.

/Anders

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


Re: [jQuery] Form plugin: possible to alter the form after a submit?

2006-11-22 Thread Anders
> var options = { ... };
> $("form.severalForms").each(function(formElement){
>  $(this).ajaxForm($.extend(options, {
>after: function(data, status) {
>  $(formElement).insertBefore("ajax complete");
>}
>  });
> });
>

Thanks for the closure tip. I come up with the code below, but your
example might be cleaner.

var formElement;
var options = {
  // Store the current form so it can be used in after:
  before: function(data, object) {formElement = object;},
  after: function(data){
$(data).insertBefore(formElement);
};
$("form.severalForms").ajaxForm(options);

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


[jQuery] Form plugin: possible to alter the form after a submit?

2006-11-22 Thread Anders
I'm using the form plugin and want do to things with the form doing
the ajax submit, after the submit has happened. Unlike the option
"before:", "after:" doesn't seem to pass the jQuery object. Any way
around this?

Simplified example using ajaxForm() :

var options = {
  after: function(data){
$(data).insertBefore("THE FORM");
};
$("form.severalForms").ajaxForm(options);

Thanks,
Anders

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


Re: [jQuery] new jQuery API draft

2006-11-15 Thread Anders
On 11/14/06, "Jörn Zaefferer" <[EMAIL PROTECTED]> wrote:
> > One suggestion, I really love in the php documentation: it should be
> > possible to add user comments to every navigation point. I think, that
> > such a feature is very helpful.
>
> It's true that the comments in the PHP documentation are very helpful. I 
> wonder if it would be better to add a discussion system that results in 
> improving the actualy documetantion.
>
> Anyway, it would be nice to have a comment system in the API, but it is 
> currently out of the scope and not that easy with XML/XSTL only :-)

I have some simple PHP code that builds a html page from the xml doc
file. It would be pretty straightforward with that kind of server-side
coding to import the xml doc into a database system like Drupal. In
Drupal language this would mean that each JQuery method would become a
"node", which could for example have comments. This was actually an
idea I had when I first started to code - that and to make the API
searchable (which Drupal also would provide), and to render as a
regular HTML page.

As the new jQuery homepage will be built on Drupal (correct me if I'm
wrong) this might be  a good way to go with the API documentation.

/Anders

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


[jQuery] jTextBar plugin, Markdown/Textbar toolbar - code input

2006-10-29 Thread Anders
I've jQuerified Michael Geary's TextBar module, a Markdown and TextBar
toolbar 
(http://mg.to/2005/02/26/textbar-drupal-module-for-markdown-and-textile).

The result can bee seen at http://perifer.se/jtextbar/

The code is as mentioned mostly Michael's work and the original
authors. The plugin structure is stolen from Steven Wittens'
Farbtastic plugin (http://www.acko.net/dev/farbtastic).

It's pretty slow in IE after a while, but I know nothing about memory
leaks etc, input welcome :)

The code structure could probably be further optimized, input welcome
here as well. I've a feeling that .prototype could be usefull but not
really sure if or how it would be used in this context.

/Anders

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


[jQuery] Simple Example of adding animations to thickbox?

2006-10-23 Thread Anders Schneiderman




Does anyone have code they wouldn't mind sharing 
that adds a simple animation to thickbox? The documentation for thickbox says 
animations have been taken out of the latest versions of the code but that 
authors can add the ones they like.  Unfortunately, I'm still too new to 
jquery -- and _javascript_ -- to be clear on what I need to do.  So an 
example I could model would be fabulous.
 
Thanks,
Anders
___
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/


Re: [jQuery] jQuery API discussion

2006-10-17 Thread Anders Schneiderman
Hi JornjQuer,

As a newbie, my impression is that overall it's a _lot_ simpler and sleeker 
than say prototype.  And I love the compactness of the language.  However, 
there are a few aspects that will throw off new folks -- particularly graphic 
designers who don't have a programming background -- that they encounter right 
from the beginning.  If more advanced features, which few people will use until 
they've been working in jquery for a while, seem a bit arcane, that's OK.  But 
to do almost anything, you run into code that looks like this:

1   $(document).ready(function(){
2   $("a#shownote").click(function(){
3   $('#note').fadeIn("slow");
4   });

The first time I saw line 1, I had no clue what it was doing.  If all it's 
doing is running some jquery before the page is loaded, there's _got_ to be a 
more intuitive, succinct way to say it.

Ditto for line 2's click(function().  If I know CSS, I can guess what 
a#shownote does.  I can guess what click does.  But function() { is just too 
frikin' weird for a newbie designer who's not been a programmer.  

Readability for people who are relatively new is particularly poured in for the 
world of JavaScript.  Lots of people add a little JavaScript  to a page and 
then don't do much more coding for another couple of months.  

The easier it is for new folks to get started with jquery, the closer we are to 
JWD (Jquery World Domination).

Thanks,
Anders Schneiderman
Service Employees International Union

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Jörn Zaefferer
> Sent: Sunday, October 15, 2006 1:32 PM
> To: jQuery Discussion.
> Subject: [jQuery] jQuery API discussion
> 
> Hi folks,
> 
> I'd like to discuss the jQuery API in general and the current 
> event API in detail:
> 
> For all newcomers: I'd like to hear about your first 
> impression of the jQuery API! This is invaluable for all 
> those geeks who spent way too much time with jQuery.
> 
> Regards
> JörnjQuer
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

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


Re: [jQuery] More jQuery Tutorials (was "unsuscribe")

2006-10-13 Thread Anders Schneiderman
Hi Jorn,

Your page is a well-written tutorial for its target audience:  people who are 
already very comfortable with JavaScript and/or are skilled programmers.  

But if your target audience is newbies -- particularly web designers who are 
just learning how to code -- it's too hard to read.  Therefore it doesn't 
encourage newbies to start thinking in terms of using plugins right away.  For 
example, the page begins:

jQuery offers a mechanism for adding in methods and functionality, 
bundled as plugins. Most of the methods and 
functions included in the default download are written using the jQuery 
plugin construct. 

Plugin writing comes in two steps. The first is writing any of your 
public methods and functions

I showed this to the designer in my shop who is interested in learning 
JavaScript.  His reaction was, "it's too complex."  What he meant was, he 
doesn't know what methods, constructs, public methods, etc. are.   Would he 
keep reading?  Not likely.

I was suggesting a tutorial aimed at newbies that would encourage them to use 
plugins from the get-go.  To do that, you'd language such as:

If you've just started using jQuery, you've probably tried out a few of 
the hundreds of jQuery plugins 
that let you add powerful features to a website with almost no work on 
your part.  

But writing plug-ins isn't just for uber-geeks.  Plug-ins are a great 
way of bundling your own jquery code
so you can esily re-use it.  If you're just learning jQuery, learning 
how to create your own plugins today 
can save you a lot of pain and suffering down the line.  

Best of all, writing jQuery plugins is a snap.  Here's how.

Let's say you frequently want to...

Again, not a criticism of your original page.  You were writing for a different 
audience.

Thanks,
Anders

> -Original Message-
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of "Jörn Zaefferer"
> Sent: Friday, October 13, 2006 3:10 AM
> To: jQuery Discussion.
> Subject: Re: [jQuery] More jQuery Tutorials (was "unsuscribe")
> 
> > * An example of how to start creating your own plug-ins.  
> One of the 
> > really nice things I learned when picking up Python a few 
> years ago is 
> > that if someone holds your hand and walks you through 
> learning how to 
> > modularize your code early on, you're much more likely to 
> start with 
> > good habits.
> 
> Check this out: http://jquery.com/docs/Plugins/Authoring/
> 
> If you think there is missing anything: Say it!
> 
> -- Jörn
> --
> GMX DSL-Flatrate 0,- Euro* - Überall, wo DSL verfügbar ist!
> NEU: Jetzt bis zu 16.000 kBit/s! http://www.gmx.net/de/go/dsl
> 
> ___
> jQuery mailing list
> discuss@jquery.com
> http://jquery.com/discuss/
> 
> 

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


Re: [jQuery] More jQuery Tutorials (was "unsuscribe")

2006-10-12 Thread Anders Schneiderman
 Hi Karl,

Love your blog!  It's made a huge difference in wrapping my head around
jquery.

Some suggestions for tutorials:
* An example of how to use XPATH.  The style switcher on Kevin's blog --
http://www.kelvinluck.com/article/switch-stylesheets-with-jquery -- is a
very slick use of XPATH, and more help for newbies such as myself in
understanding what else you can do with XPATH would be great.

* An example that talks about strategies for using jquery if you're
using a content management system.  

For example, the CMS's I use at work, I can make a change to to a page's
template once in a long while -- not uncommon for folks who do web work
these days.  I can certainly add a HEAD include for jquery itself and
any plug-ins or homemade libraries I use consistantly.  But if I want
to, say, put a calculator or a small effect or use a plugin on just one
page, most newbies like myself would end up including the javascript
inside the page (bleh).  A tutorial could show how with just a few lines
of code you could dynamically include the javascript file you need for
just one page -- at least that's what I'm going to try after seeing the
Discuss thread about dynamically including style sheets

* As someone else suggested, something on forms -- maybe doing it
yourself a little, then doing it with a forms plug-in.

* An example of how to start creating your own plug-ins.  One of the
really nice things I learned when picking up Python a few years ago is
that if someone holds your hand and walks you through learning how to
modularize your code early on, you're much more likely to start with
good habits.

* A short post on best practices that might not be obvious to a newbie


I'm too green to write tutorials just yet.  But I'm happy to help review
& offer feedback on any drafts you do, if it's useful to you.

Thanks,
Anders Schneiderman
SEIU


> Any suggestions for other tutorials or offers to write one 
> will be warmly and gratefully received.
> 
> Cheers,
> 
> Karl
> ___
> Karl Swedberg
> www.englishrules.com
> www.learningjquery.com
>

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