Re: [Proto-Scripty] Re: Scrodicator: a javascript indicator while you scroll through your form or page

2010-03-21 Thread bernard wolsieffer
Rather evokes the idea of fishmongery in Boston... but that's just me, 
probably. ;-)


On 3/21/2010 6:40 PM, joe t. wrote:

Not me. i snickered. Brings images of The Terminator as an adult film
to mind. :)
-joe t.


On Mar 21, 8:04 am, T.J. Crowdert...@crowdersoftware.com  wrote:
   

Hi,

 

I can change the name from
scrodicator to scrolldicator, if it sounds more polite to native English
speakers.
   

It does to *this* native speaker; I can't speak for everyone.
Hopefully other people are more mature. :-)

-- T.J.

On Mar 21, 10:15 am, greengreenlaw...@gmail.com  wrote:

 

Hi Mr. T.J.Crowder
   
 

I really don't get you on FWIW, and it's likely just the 13 year-old boy in
me. But anyway thanks for the naming suggestion, I can change the name from
scrodicator to scrolldicator, if it sounds more polite to native English
speakers.
   
 

Yes I am going to create a demo page in the github wiki. As for now, people
can download the package and open sample html files for a demo.
   
 

Thx,
Green
   
 

On Sun, Mar 21, 2010 at 9:05 PM, T.J. Crowdert...@crowdersoftware.comwrote:
   
 

Hi,
 
 

I have publish a UI control named scrodicator...
   
 

FWIW, and it's likely just the 13 year-old boy in me, but
scrodicator sounds vaguely crude to (this) native English
speaker...  Perhaps scrolldicator?
 
 

Hi, I've created a video clip to demonstrate what scrodicator is.
   
 

Why not just create a demo page? Just curious...
--
T.J. Crowder
Independent Software Consultant
tj / crowder software / com
www.crowdersoftware.com
 
 

On Mar 20, 10:27 pm, greengreenlaw...@gmail.com  wrote:
 

Hi, I've created a video clip to demonstrate what scrodicator is. You can
find it athttp://www.youtube.com/watch?v=rYkgrCsN52c
   
 

On Sun, Mar 21, 2010 at 1:12 AM, Walter Lee Daviswa...@wdstudio.com
wrote:
   
 

Is there a demo anywhere? It looks interesting, but I'm not immediately
sure what you mean it does. I don't use Gmail, so I haven't seen the
 

example
 

you reference.
 
 

Walter
 
 

On Mar 20, 2010, at 9:42 AM, green wrote:
 
 

  Hi
 
 

I have publish a UI control named scrodicator at
http://github.com/greenlaw110/lgl_ui.
   
 

Scrodicator is facilitated by gmail which design a visual indication
   

show
 

the next email sender in a long mail loop.
   
 

This control is licensed in MIT license.
   
 

Comments are welcome.
   
 

Thx,
Green
   
 

--
You received this message because you are subscribed to the Google
   

Groups
 

Prototype  script.aculo.us group.
To post to this group, send email to
prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculou 
s%2bunsubscr...@googlegroups.comprototype-scriptaculou
   

s%2bunsubscr...@googlegroups.coms%252bunsubscr...@googlegroups.com
 

.
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.
   
 

--
You received this message because you are subscribed to the Google
 

Groups
 

Prototype  script.aculo.us group.
To post to this group, send email to
prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculou 
s%2bunsubscr...@googlegroups.comprototype-scriptaculou
 

s%2bunsubscr...@googlegroups.coms%252bunsubscr...@googlegroups.com
 

.
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.
 
 

--
You received this message because you are subscribed to the Google Groups
Prototype  script.aculo.us group.
To post to this group, send email to
prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.comprototype-scriptaculou 
s%2bunsubscr...@googlegroups.com
.
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.
 


 
   



--

/Le homme n'est rien; le oeuvre c'est tout/
Flaubert

--
You received this message because you are subscribed to the Google Groups Prototype 
 script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



Re: [Proto-Scripty] Effect.Fade/Effect.Appear

2010-03-19 Thread bernard wolsieffer

Update:
I changed things up a bit:

   body onload=loadPage('index.html'); id='home'
   style=display:inline; 
   div id=root width=100% height=100% style=display:inline; 
   div id=container width=100% height=100% style=display:inline; 
   /div
   /div
   /body

Note that I removed the iframe from the page definition. Now, the 
changes in code:


   function loadPage(s) {
Effect.Fade('root', {duration:1.5});
if ($('contentFrame')) {
$('contentFrame').remove();
}
Element.insert('container', {top: iframe
   id='contentFrame' src=' + s + ' frameborder='0' scrolling='no'
   width='100%' height='100%' style='display:inline; '/iframe});
Effect.Appear('root', {duration:1.5});
   }

Result? The element upon which I apply Fade/Appear has either

   style=display:none;

or

   style= (which seems to force 'display:none')

and it doesn't matter if it's the body element or the root div. The 
effect still is:


  1. page appears (without the 1.5 duration).
  2. page disappears (without any duration).

Note that I'm using Google Chrome - its debugging facility is actually 
pretty nice. The behaviour is the same in Firefox.


Thanks in advance for any hints that might help.

bernard

--
You received this message because you are subscribed to the Google Groups Prototype 
 script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



Re: [Proto-Scripty] Effect.Fade/Effect.Appear

2010-03-19 Thread bernard wolsieffer

Very good. Thanks. I'll give it a shot.

On 3/19/2010 9:20 AM, Christophe Decaux wrote:
I haven't look thoroughly at your issue, but seems to me that you have 
to queue those two effects. Otherwise, they try to happen together.

I ran a while ago into the same issue.
When you lauch an effect, javascript doesn't wait for it. Remaining 
code is executed immediately.
So either you look at Effects.Queue in Scriptaculous doc, or you 
investigate the afterFinish option that you could add to the first effect


Christophe

Le 19 mars 2010 à 15:44, bernard wolsieffer a écrit :


Update:
I changed things up a bit:

body onload=loadPage('index.html'); id='home'
style=display:inline; 
div id=root width=100% height=100% style=display:inline; 
div id=container width=100% height=100%
style=display:inline; 
/div
/div
/body

Note that I removed the iframe from the page definition. Now, the 
changes in code:


function loadPage(s) {
Effect.Fade('root', {duration:1.5});
if ($('contentFrame')) {
$('contentFrame').remove();
}
Element.insert('container', {top: iframe
id='contentFrame' src=' + s + ' frameborder='0' scrolling='no'
width='100%' height='100%' style='display:inline; '/iframe});
Effect.Appear('root', {duration:1.5});
}

Result? The element upon which I apply Fade/Appear has either

style=display:none;

or

style= (which seems to force 'display:none')

and it doesn't matter if it's the body element or the root div. The 
effect still is:


   1. page appears (without the 1.5 duration).
   2. page disappears (without any duration).

Note that I'm using Google Chrome - its debugging facility is 
actually pretty nice. The behaviour is the same in Firefox.


Thanks in advance for any hints that might help.

bernard

--
You received this message because you are subscribed to the Google 
Groups Prototype  script.aculo.us http://script.aculo.us group.
To post to this group, send email to 
prototype-scriptaculous@googlegroups.com 
mailto:prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com 
mailto:prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.


--
You received this message because you are subscribed to the Google 
Groups Prototype  script.aculo.us group.
To post to this group, send email to 
prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



--

/Le homme n'est rien; le oeuvre c'est tout/
Flaubert

--
You received this message because you are subscribed to the Google Groups Prototype 
 script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



Re: [Proto-Scripty] Effect.Fade/Effect.Appear

2010-03-19 Thread bernard wolsieffer
Woohoo! Works pretty well, although, i'm not sure that I did it 
completely correctly. I had to put the Effect.Appear inside the 
afterFinish for the Effect.Fade... otherwise, nothing showed up.
Now all I have to do is generalize the buttons to use this... merci 
boucoups.

bernard

On 3/19/2010 9:20 AM, Christophe Decaux wrote:
I haven't look thoroughly at your issue, but seems to me that you have 
to queue those two effects. Otherwise, they try to happen together.

I ran a while ago into the same issue.
When you lauch an effect, javascript doesn't wait for it. Remaining 
code is executed immediately.
So either you look at Effects.Queue in Scriptaculous doc, or you 
investigate the afterFinish option that you could add to the first effect


Christophe

Le 19 mars 2010 à 15:44, bernard wolsieffer a écrit :


Update:
I changed things up a bit:

body onload=loadPage('index.html'); id='home'
style=display:inline; 
div id=root width=100% height=100% style=display:inline; 
div id=container width=100% height=100%
style=display:inline; 
/div
/div
/body

Note that I removed the iframe from the page definition. Now, the 
changes in code:


function loadPage(s) {
Effect.Fade('root', {duration:1.5});
if ($('contentFrame')) {
$('contentFrame').remove();
}
Element.insert('container', {top: iframe
id='contentFrame' src=' + s + ' frameborder='0' scrolling='no'
width='100%' height='100%' style='display:inline; '/iframe});
Effect.Appear('root', {duration:1.5});
}

Result? The element upon which I apply Fade/Appear has either

style=display:none;

or

style= (which seems to force 'display:none')

and it doesn't matter if it's the body element or the root div. The 
effect still is:


   1. page appears (without the 1.5 duration).
   2. page disappears (without any duration).

Note that I'm using Google Chrome - its debugging facility is 
actually pretty nice. The behaviour is the same in Firefox.


Thanks in advance for any hints that might help.

bernard

--
You received this message because you are subscribed to the Google 
Groups Prototype  script.aculo.us http://script.aculo.us group.
To post to this group, send email to 
prototype-scriptaculous@googlegroups.com 
mailto:prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com 
mailto:prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.


--
You received this message because you are subscribed to the Google 
Groups Prototype  script.aculo.us group.
To post to this group, send email to 
prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



--

/Le homme n'est rien; le oeuvre c'est tout/
Flaubert

--
You received this message because you are subscribed to the Google Groups Prototype 
 script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Effect.Fade/Effect.Appear

2010-03-18 Thread bernard wolsieffer
also, the src attribute (no matter where I put it) always reverts to , 
even though I explicitly set it in the function...

--

/Le homme n'est rien; le oeuvre c'est tout/
Flaubert

--
You received this message because you are subscribed to the Google Groups Prototype 
 script.aculo.us group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.