nks a million for your help. Now I have to fix the next problem...
--
Cheers... Chris
Chris Sansom: composer and… whatnot
http://www.chrissansom.net/
https://www.youtube.com/channel/UCVUKb7vK0KiIaiLhs7zht2Q
https://soundcloud.com/mfthoad
As every parent of a small child knows, converting a large objec
vailable to the pouter part of the code
for the 'if (newhtml)’ block at the end. But I can’t figure out how to do it
because it doesn’t meet my normal assumptions about global and local variables.
I really feel I’m almost there with this problem - just this last hurdle to get
over!
--
C
n of the parent
> });
>
> If #parent_element_id is a , then the HTML you get from
> /server/url?foo=bar should be:
>
>
>
>
>
>
>
> ... with all of the whitespace removed.
>
> Walter
>
>> On Jun 22, 2019, at 11:25 AM, Chris Sansom w
With apologies in advance for the length...
I retired a few years ago from web development, where I used Prototype
quite a bit in the later years. I'm somewhat rusty now, but I'm trying to
do some development for purely personal use. It won't be on the open web,
just on our local server. It's a
enes.
Right - thanks. That could be useful.
--
Cheers... Chris
Highway 57 Web Development -- <http://www.highway57.co.uk/>
--
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email t
er, asynchronicity (if that's a word
- if not, Ive just invented it, so there).
So many thanks for your time and thoughts, Richard and Phil, also ncubica and
Walter for chipping in.
--
Cheers... Chris
Highway 57 Web Development -- <http://www.highway57.co.uk/>
--
You received
assword-protected CMS, so the world at large will never get the benefit, and I
could simply reload the whole page instead of just the one div, but it's become
a challenge!
--
Cheers... Chris
Highway 57 Web Development -- <http://www.highway57.co.uk/>
--
You received this m
On 29 Sep 2011, at 15:00, Chris Sansom wrote:
> I've tried various things to stop it caching, such as loading the top image
> via a tiny php script
Forgot to mention, before anyone else does, that the first thing I tried, after
Googling, was to put various query strings [such as
is whole problem
bass-ackwards, and would be grateful for any pointers.
* I did this via an include file because I need to do the same processing when
the page is initially loaded, so this seemed the most efficient way, code-wise.
--
Cheers... Chris
Highway 57 Web Development -- <http://www
ter/-leave
or indeed mouseover/-out on the inner divs while continuing to catch them on
the enclosing div? Probably to do with bubbling or something where, as I said
before, I get a bit out of my depth.
--
Cheers... Chris
Highway 57 Web Development -- <http://www.highway57.co.uk/>
--
by whipping the mouse repeatedly in
and out or across a corner a few times. I'm not sure whether to take the
attitude that it serves the user right if they're going to behave like that!
Thanks for your help.
--
Cheers... Chris
Highway 57 Web Development -- <http://www.highway57.c
On 13 Sep 2011, at 15:29, Chris Sansom wrote:
> I /think/ what's happening is that when you roll the mouse over various
> elements inside the JS thinks it's mousing out and over repeatedly
Just been out for a walk and had a think about this. I think what I need to do
is som
the other hand, the pause and resume
works fine.
It could well be that I'm approaching this completely the wrong way...
--
Cheers... Chris
Highway 57 Web Development -- <http://www.highway57.co.uk/>
--
You received this message because you are subscribed to the Google Groups
&q
Event.stop(event);
Is the line T.J is hinting at.
Equally for those who have yet to discover it.
var e = Event.element(event);
Will give you the element that has triggered the event, this is highly
useful for when you use "bubbling".
Chris
On 27 February 2011 09:18, T.J. Crow
I've been banging my head trying to figure this out (and yes reading
all the documentation).
What I want to do is:
1. Set an observer for multiple forms which enables a set of buttons
2.. When the "reset" button is clicked:
2a.Stop the current .Observer event associated with the current form
2b.
Hi,
as stated in the official documentation, there is a method you can
use, see http://docs.prototype-ui.com/rc0/Carousel?anchor=UI.Carousel.scrollTo
(should be something like yourcarouselinstance.scrollTo(2) for the
second container).
Hope this helps.
Greetings from Germany,
Chris
On 23 Dez
for every one of these cells (that /is/
what you're doing isn't it? - I'm not imagining it?) is terribly
inefficient, not least with regard to load on the server.
I'm not going to suggest in any detail how to do it, because I'm sure
others will have better idea
Mac. If I
do this, the entire /screen/ zooms in and out, regardless of what
software is currently active.
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
Old professors never die; they just lose their faculties.
--~--~-~--~~~---~--~
At 11:08 +0100 28/9/09, Alex McAuley wrote:
>I am sure that its a regex in the "name=" bit so a regilar expression
>something like
>(0-9Aa-Zz) would do it
In that case, surely just (\w)?
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
Anything play
Hi TJ,
Thank you so much for your explanation! That was incredibly helpful
and in depth.
--Chris
On Sep 23, 1:20 am, "T.J. Crowder" wrote:
> Hi Chris,
>
> There are a couple of reasons that calling functionB from functionAA
> didn't work, primarily that you called
Event.observe(window, 'load', function() {
var bar = new Foo();
bar.functionA();
});
Any help would be appreciated!
Thanks,
--Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
View Generated Source'
which usually reflects such changes pretty well.
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
Heaven would be a place where bullshit existed only on television.
-- Frank Zappa
--~--~-~--~~~---~--~~
You
ual I
should be reading though. Can someone give me a shove in the right
direction?
Thanks,
Chris
On 9/10/09, T.J. Crowder wrote:
>
> Hi,
>
> All relative URLs within a page (including ones in JavaScript Ajax
> calls) are resolved relative to the document's URL, not the script
&g
over',
> accept: 'G3',
> onDrop: DropHandler
> });
>});
>
>
>Cleaner and DRYer :)
...except that in the original they accepted G1, G2 and G3 in turn,
rather than all accepting G3, so you'd have to jump th
ich has a very handy
facility for seeing whether pairs of brackets (of all types) are
balanced. You have no closing ) to match the ( after '.observe'. In
fact you need a ');' at the end of the whole thing.
And btw, shouldn't mail/process_message.php be in quotes?
--
Chee
ult action!
>
>but, I can't see a missing close bracket.
Jumping in here as a non-expert, but I think the problem may be that
your 'Event.stop(event);' is in the wrong place and should be outside
the 'new Ajax.Updater(...)', either before or after, but not inside.
It&
Hi all!
@Trevan:
Thank you for this information, I am going to look if I need to tweak
that function or if I leave it alone.
@Matt:
As stated in my mail from 22 Jul., 12:07, this is no option for us. I
am well aware that the title-Attribute exists, but cannot use it for
the reasons I stated in m
useleave, you could never
do event delegation with mouseenter/mouseleave. Am I right here?
Greetings from Germany,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" gro
At 03:07 -0700 22/7/09, Chris wrote:
>There are some problems with this. As far as I know the title-
>Attribute is limited to about 255 Chars (at least in some browsers).
>As it is just plain text, you cant format it (like use strongs etc).
>Next thing is that you cant style
Hi Chris,
> At the risk of stating the bleedin' obvious - and maybe there's a
> good reason why you can't do this - have you thought about simply
> sing title attributes for the elements? In most, if not all, modern
> browsers, they produce tooltips when the element
At 15:25 -0700 21/7/09, Chris wrote:
>If I have about 60 tooltips on page (that could load another subset of
>elements, that maybe have tooltips too), I would have about 120
>listeners (each tooltip needs at least a mouseover and one mouseout,
>right?). Is it the right way to
e, but some of the
application features make heavy use of prototype and including a
second js-lib is not an option.
Greetings from Germany,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo
At 22:35 +0100 21/7/09, Alex McAuley wrote:
>I love semantical arguments !!
Especially if you can pass them to a function.
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
I'm on a seafood diet - I see food, I eat it.
-- Doll
ry time something is
hovered, it uses the findElement()-method to check for a tooltip. So
what is faster and less memory consuming?
Greetings from Germany,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Pr
Well, at all I thought I would get some help and not taunts for my
english (I am not a native speaker, but I think it should be clear
what I mean).
Greetings from Germany,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
Ah, forgot:
Call it in your function with the_id_i_want_to_use = getId(elm.id,
'Item_');
Greetings from Germany,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us
Id, prefix) { return realId.replace(prefix, ''); }
Hope I understood right and could help you.
Greetings from Germany,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us&
image_free_css_tooltip_pointers_a_use_for_polygonal_css/,
to save some more bandswidth.
Thanks in advance,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To pos
t want to have
to convert several large and complex PHP-driven sites to a different
doctype if I can help it!
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
Nobody looks good bent over. Especially to pick up a cheque.
-- Frank Zappa
--~--~-~--~~
At 10:01 -0400 29/5/09, Mitchell McCulloch wrote:
>Ah! I didn't look too closely at that I guess, whoops. Indeed that should
>solve the problem for Chris.
No problem for me - at least, not /that/ problem. :-) I was the one
who suggested he had the filename wrong when he didn'
lement -
though why you would want to remove an element immediately, rather
than in response to some user action, I've no idea.
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
The lead car is absolutely unique, except f
ips or suggestions?
Er, yes. The file is 'prototype.js', not 'javascriptPrototype.js', so try:
...unless, for some reason, you've renamed the file which of course
you're perfectly at liberty to do...
--
Cheers... Chris
Highway 57 Web Development -- http:/
Hi Ed,
the function uses Timeouts to scroll the contents of your container
(this is what var x is). I think you should only need to set x =
setTimeout("scrollMe()",40)
The second argument (40) is the time in ms I think.
Greetings from Germ
stuff), but Prototype and script.aculo.us seems
to be written a bit more professional. Both books are worth the money,
however.
Greetings from Germany,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&quo
Addition:
The syntax must be in form of
Effect.ScrollTo('id_of_element', {
offset: 175
});
Greetings from Germany
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.
same website. I never tried it out for myself.
Greetings from Germany,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send emai
scriptaculous wiki:
Effect.ScrollTo('id_of_element', 175);
Hope this helps
Greetings from Germany
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to t
at comes after
it. To do what you want, I believe you'd have to escape the backslash
in turn:
$H({s:'\\'}).toJSON()
I hope that's right!
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
Why do you necessarily have to be wrong just because
a few mil
a label saying 'Enter Your
Name' the tooltip is entirely superfluous!
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
Without music to decorate it, time is just a bunch of boring
production deadlines or dates by which b
Hi Mona,
> Form.Observer [http://prototypejs.org/api/timedObserver/form-observer]
nice, didnt know that Prototype has this function. After working more
than 1 year with this library, there are always new and exciting
things. Thank you prototype-devs for that :)
--~--~-~--~~--
Hi all,
I want to add some sort of Saving-Reminder to forms on my page. The
process would be roughly the following:
1. I fill out a form element (Input or Textarea, doesnt really matter)
2. I click on a link that takes me away of the form (lets say from
forms.html to index.html)
3. The Saving-Re
Hi, Todd,
I think you should use Prototypes Event.Observe feature insted the
element.onclick you use at the moment (http://prototypejs.org/api/
event).
Greetings from Germany,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
.
Greetings from Germany,
Chris
--~--~-~--~~~---~--~~
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-scriptaculous@googlegroups.com
To unsubsc
lass, so I suggest doing something like this:
All
Encrypted
Unencrypted
But having, as I say, not used this call, I'm not sure how you
register the callback. Someone else will have to advise on the
detail, but you might be able to do something with:
$$('input.rbEncryption')
At 06:41 -0700 23/3/09, T.J. Crowder wrote:
>function venFormhandler(event) {
>
> event.stop();
>
> /* ...do your ajaxy goodness... */
>}
That's the one! I was trying to be too complicated.
Thank you.
--
Cheers... Chris
Highway 57 Web Development -- http://hig
tionally), and
this no longer works. I can't quite figure out what syntax I should
use with Event.stop in this context.
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
That's inches away from being millimetre perfect.
-- Ted Lowe
--~--~-~--~~
t.getElementById(allDivs[s]).style.display = 'none';
>}
Try this instead:
allDivs.each(function(s)
{
document.getElementById(allDivs[s]).style.display = 'none';
});
Or, even better:
allDivs.each(function(s)
{
$(allDivs[s]).style.display = 'none';
});
--
Ch
27;s up to you).
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
Who needs horror movies when we have Microsoft?
-- Christine Comaford, PC Week
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
e. Use prototype to send
the parameters, then use those to build the WHERE clause in your PHP
script.
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
Despite the high cost of living, it remains very popular.
--~--~-~--~~~---~--~~
You rece
ttp://www.londonbusinessforum.com/> - click any of those events,
then click the 'Email this to a colleague' link on the right (try
emailing it to yourself). Is this what you mean?
--
Cheers... Chris
Highway 57 Web Development -- htt
round, but the Hourglass comes back).
Is there a way to fix that flickering behaviour for IE6?
Thank you in advance for your replies.
Greetings,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & s
#x27;s something to do with not being able to run the Ajax
request again or something - a good thing it doesn't actually!
And the reason I hadn't been noticing it straight away is that when I
view the source my eyes are looking at the source window, so I don't
notice the error
out this. I'll have to try and keep a closer eye on it!
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
Star Wars won't work.
-- Frank Zappa
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
)") +
It appears not to have any adverse effect on the operation of what
I'm doing - should I be concerned about this or just go on ignoring
it as I have been? :-)
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
It's better t
ore the
Ajax.Request call, came up undefined, the rest of the function was
broken.
Thanks again - I can press on now.
--
Cheers... Chris
Highway 57 Web Development -- http://highway57.co.uk/
Only two things are infinite, the universe and stupidi
itely as read straight from the form fields, rather
than after the necessary JS processing that's done to it (that
'complicated stuff' I took out) before calling the Ajax.
But what the heck is the difference from the two functions that work?
Sure, there's plenty of diffe
Hi, I have been trying to find a way of making prototype play nicely
with mootools. There seems to be a perfect solution in protosafe, but
all the links to it seem to have gone dead. Does anybody know where I
can get it, have a copy they can send me or know of any alternatives.
Cheers
Chris
I am hoping someone will correct me, that said I have spent a little
time looking at this now. 2hours infact.
Prototype doesnt support getValue for input radio.
The work around to equal getValue().[1]
/**
* Returns the value of the selected radio button in the radio group, null if
* none are se
I have a problem with using multiple sortables and containment. I
have a 3 column page with 3 different sortable regions. Columns 1 and
2 are active modules (this is for a portal layout page) and the 3rd is
all available modules to be able to add.
The catch is that in the third column, the drag
You're not seeing this work? Looks like it works as you expect, at
least when looking at it with Firebug:
testSortBy : function () {
var RS = [
{id: 1, dateFrom: 20090101, dateTo:
20090309, tariff: [
I found "Package" on www.scripteka.com
See http://code.google.com/p/kproto/
On Dec 17, 11:40 am, Chris Wash wrote:
> Has anyone implemented a namespacing and importing module the likes of
> YUI's Namespace/Loader or Dojo's declare/provide/require?
>
> Please
Hi,
thanks for your hints, I managed to get it right that way. The code is
a bit different from yours, because I dont want multiple effects to
overlap. I also added a short timeout, so the effects have enough time
to finish. If someone is running into similiar problems, here is the
full code exam
an't maintain a codebase of any size or hope
to reuse things properly without it.
Any thoughts?
Thanks,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
Hi Diodeus,
that wont work for me, because i am runing the function just once.
This adds the event listeners to all of the images.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
Hi,
I got a little problem with prototype/scriptacolous effects. I have an
unordered list (Navigation element) that I want to apply an effect on.
If you hover over one of the images, all other images should fade out.
The effect itself works fine, but the problem is, that after I hover
on another
d have been more prudent.
>
>
> On Wed, Nov 26, 2008 at 9:43 AM, Alex Mcauley
> <[EMAIL PROTECTED]> wrote:
>>
>> They are not tips for prototype they are jQuery tips and are on the jQuery
>> page!!
>>
>> Regards
>>
>> Alex
>> - Or
Quick sugggestion from a beginner to consider putting some of these
ideas on FAQ & link pages?
On Wed, Nov 26, 2008 at 1:10 PM, Alex Mcauley
<[EMAIL PROTECTED]> wrote:
> if you want to use the jquery one you can tell jquery to not conflict with
> prototype's namespace
>
> $jQuery=jQuery.noConflic
hey
> are in the correct place ...
>
> out of interest what safari version are you running ?
>
> Regards
>
> Alex
> ----- Original Message -
> From: "Chris Brody" <[EMAIL PROTECTED]>
> To:
> Sent: Thursday, November 13, 2008 10:20 AM
>
ment the code properly If anyone would like to Aid me in
>> turning this into a Javascript class it would be a good learning
>> experience for all those taking part
>>
>> Regards
>>
>> Alex
>>
>>
>>
>>
>> - Original Message
On Wed, Nov 12, 2008 at 5:46 PM, Alex Mcauley
<[EMAIL PROTECTED]> wrote:
>
> yes its untested in IE6 and will not be supported i dont think
>
> for demo purposes i aggree it maybe should open smaller
>
> MIT liscence it is then !!
Cool!
I took a quick look at the source. My one suggestion right
I click anywhere outside the start menu it
should go away.
When you release the source code, properly stated license is important
to some people. GPL is highly viral, while MIT is extremely friendly
for commercial use.
On Wed, Nov 12, 2008 at 5:09 PM, Alex Mcauley
<[EMAIL PROTECTED]> wrot
ider the same license as Prototype
& scriptaculous? I think this would give your project much wider
usage.
Thanks,
Chris
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" g
Hello, I let say I've an object created like this
my_slider = new Control.Slider(handle, track, options);
How can I do to completely destroy this instance ?
Thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"
83 matches
Mail list logo