Hi,
I have a small issue, which I can't find a solution to on the web.
Perhaps you can help. Using Prototype and Scriptaculous I have created
an autocompleter which calls an ASP.NET web service and works fine.
However when I put it onto a Panel which is made visible by a
modalbox.Show() the
Hi,
I have a small issue, which I can't find a solution to on the web.
Perhaps you can help. Using Prototype and Scriptaculous I have created
an autocompleter which calls an ASP.NET web service and works fine.
However when I put it onto a Panel which is made visible by a
modalbox.Show() the
Hi,
I am using the latest version of Prototype.cs and the scriptaculous
files.
The latest version is a very slippery concept. Specific versions?
--
T.J. Crowder
tj / crowder softare / com
On Oct 3, 9:16 am, CallinBollig [EMAIL PROTECTED] wrote:
Hi,
I have a small issue, which I can't
Hello Kris, and welcome!
When I first started with Prototype, I sat down and read through the
API docs from front to back. It took about an hour (and I'm a slow
reader), and was hugely useful -- so useful, in fact, that when I
started reading this group (well, its predecessor) to gain further
Between me and T.J's post you should be able to get something decent
working now, plenty of code for you!
On Oct 3, 10:38 am, bluezehn [EMAIL PROTECTED] wrote:
So get that javascript out of the html and use observers.
So the code you have so far is much better in prototype as this:
Hi,
http://prototypejs.org/api/event/stop
It's worth taking an hour and reading through the API docs from
beginning to end. It literally takes that long, and it saves you a
lot more time than that in the long run:
http://prototypejs.org/api
Hope this helps,
--
T.J. Crowder
tj / crowder
Hi,
Brilliant. Both answered a lot of questions and expanded my prototype
knowledge ten fold.
Thanks very much.
Kris.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this
So get that javascript out of the html and use observers.
So the code you have so far is much better in prototype as this:
h3Event/h3
div id=divvy2
Test test test test test test test test ets test test test
test test
/div
!-- IN JAVASCRIPT --
Hi all,
Trying to get used to prtotype, I've written this code in jquery but
need a prototype equivalent. I've trawled the web for ages and read
pretty much a whole book (the Manning one with the turk on the front)
but I'm still none the wiser. Any help would be much appreciated. I've
got this
I'll throw in a Low Pro [1] version as well:
Event.addBehavior({
'ul.bopCategories .bopCategoryDetails' : function() {
this.hide();
},
'ul.bopCategories li h3:click' : function(e) {
elm = e.element();
elm.next('div.bopCategoryDetails').toggle();
Hi,
Ah right, that's fair enough. When I wrote that post I didn't realize
that you could simply pass a function reference into the each method.
Personally I prefer to take advantage of the slightly higher level
interfaces provided by Prototype to avoid possible difficulties in
future releases.
If you would try a google search with those words and read the first
2-3 topics you would understand exactly what I'm talking about. I'm
new to Prototype and web in general so I can't explain exactly, but
others are explaining.
On Oct 2, 11:07 pm, kangax [EMAIL PROTECTED] wrote:
On Oct 2, 5:42
With the Droppable class, there is an option 'hoverclass', which
allows us to temporarily add a css class when an acceptable draggable
is hovering it.
I was wondering if such an option exists for the Draggable class? To
add a css class to the draggable instead of the droppable in this
case?
If
OK apologies for being so vague.
Versions are from the .js files
Modalbox.js VERSION 1.6.0 Last Modified: 12/13/2007
Prototype.js Prototype JavaScript framework, version 1.6.0.2
script.aculo.us scriptaculous.js v1.8.1
hope this clears up any confusion
On Oct 3, 9:38 am, T.J. Crowder [EMAIL
You want to call event.preventDefault() in your handler. This
prevents the default action (showing the context menu, in this case)
from happening.
Cheers,
Andrew
On Oct 3, 1:20 am, Maikel Punie [EMAIL PROTECTED] wrote:
hmm,
it seems that i was not verry clear in the explenation
if i use
onDrag runs continuously as you drag the item. Use onStart and onEnd.
Like this:
new Draggable('sample',{onStart:function(){$
('sample').addClassName('dark')},onEnd:function(){$
('sample').removeClassName('dark')}})
On Oct 3, 10:16 am, lfortin [EMAIL PROTECTED] wrote:
With the Droppable
I'm not sure that answered your question.
What conditions are required for the hover?
On Oct 3, 11:10 am, Diodeus [EMAIL PROTECTED] wrote:
onDrag runs continuously as you drag the item. Use onStart and onEnd.
Like this:
new Draggable('sample',{onStart:function(){$
You would have to have the server tell you, and use Ajax to poll that
information.
It can be done, but it would depend on your server-side code.
On Oct 3, 11:22 am, Cristisor [EMAIL PROTECTED] wrote:
Hi everyone. I'm trying to build a photo uploader that tells me in
real time what percent was
On Oct 3, 5:38 am, bluezehn [EMAIL PROTECTED] wrote:
So get that javascript out of the html and use observers.
So the code you have so far is much better in prototype as this:
h3Event/h3
div id=divvy2
Test test test test test test test test ets test test test
test test
Thanks for your reply.
The required condition is that the draggable is being moved over a
droppable which can accept the draggable.
In fact, the same behavior as the droppable 'hoverclass' option, but
add the css class to the draggable instead of the droppable.
Is it possible?
On Oct 3,
Very nice! I'd like to see this added to Scriptaculous.
On Thu, Oct 2, 2008 at 10:38 AM, dinken [EMAIL PROTECTED] wrote:
Bug with Autocompleter not canceling pending Ajax requests causing
potential race condition for onComplete logic.
//I added this function to the Ajax.Autocompleter class
Hi,
I' using protoype in combination with the great symfony framework,
everything worked fine, until now. I just got an email from an user of
my webservice that the drag'n drop function doesn't work anymore.
Sadly, he's using the internet explorer 7 and 8beta, and as I'm
running on a Mac, I
I could not access any .js file there. You might check out the given
permissions.
On Fri, Oct 3, 2008 at 11:39 AM, ljungi [EMAIL PROTECTED] wrote:
Hi,
I' using protoype in combination with the great symfony framework,
everything worked fine, until now. I just got an email from an user of
I get the same JS error in Firebug - 'Draggables undefined.'
On Oct 3, 9:35 am, Douglas [EMAIL PROTECTED] wrote:
I could not access any .js file there. You might check out the given
permissions.
On Fri, Oct 3, 2008 at 11:39 AM, ljungi [EMAIL PROTECTED] wrote:
Hi,
I' using protoype in
That's a good idea. I prefer to leave the prototype and scriptaculous
source files in pristine condition whenever possible so that when I
update to a newer version I don't have to keep track of what I changed
and having to reapply those changes.
So here is the same idea, but extending
Thanks for your response. I tried as you mentioned, but couldn't get
the afterFinish:function() part to work properly, and it didn't help
with IE's behavior.
Out of pure luck, I think I've stumbled upon the solution--add
Overflow: Hidden to the style of each frame's DIV.
On Oct 3, 9:38 pm,
I'm having some problems with ModalBox as well. It doesn't appear to
be very well supported and despite a number of open issues it's going
on a year without an update. It seems its author's have abandoned it
and I am considering the same.
On Oct 3, 10:18 am, CallinBollig [EMAIL PROTECTED] wrote:
Very clever! Thanks!
Walter
On Oct 3, 2008, at 12:27 PM, Hector Virgen wrote:
In my experience I've had success using two different mouseover events
instead of a mouseover/mouseout combination.
The first mouseover observer is a simple one:
$('nav').observe('mouseover', function(event) {
Hi CB,
You could try and assign a zIndex higher than 10.000 to #div1.
I'm using both together without problems, but had to increase the zIndex
of the results div in order to show it above the layer.
Maybe that helps,
Miguel
MikeFeltman wrote:
I'm having some problems with ModalBox as well. It
hey everyone, yeah, i know this is a stupid newb questions, but it seems to
be slipping my mind.
I have ye olde code using ye olde version prototype 1.6.0.2
var pos = Position.cumulativeOffset(element);
landing.style.top = pos[1] + element.offsetHeight + 'px';
the positioning is pretty much
30 matches
Mail list logo