Yeah
I had that problem also (http://www.partygek.nl .. see the carousel).
What I did was something like this
div id='container1'
div id='logo'/div
/div
I put a mouseover and mouseout on container1. on mouseover and
mouseout I check the fire element is a
On Jan 25, 5:41 pm, KaR kylere...@gmail.com wrote:
Hi, I actually figured it out, there were a couple of errors in my
syntax.
However, I do have one question regarding adding multiple Droppables.
Is there any easy way to just declare all the droppables in one line
of code?
For example,
On the presumption that you're submitting from a button's click
observer, you can use Event#element() to determine which element was
clicked. Also, rather than using
input type=submit .../
i typically use
input type=button .../
to prevent the form from trying to unload the page as a form
JFYI - Upgrade from 1.6.0.1 to 1.6.0.3 solved the issue.
On Jan 24, 10:28 pm, Alex K klizhen...@gmail.com wrote:
Ok, here you are:
//inside some class...
this.on_resize_ = this.on_resize.bindAsEventListener(this);
Event.observe(window,'resize',this.on_resize_);
on_resize: function(e){
Jerod,
On Jan 25, 8:34 pm, Jerod Venema jven...@gmail.com wrote:
Not sure about the bug, but is there a reason you can't use the prototype
JSON methods?
I've got a workaround in place, but I'm working on an app that doesn't
normally depend on Prototype.js, but breaks when it's there. There
2009/1/26 nlloyds nllo...@gmail.com:
Jerod,
On Jan 25, 8:34 pm, Jerod Venema jven...@gmail.com wrote:
Not sure about the bug, but is there a reason you can't use the prototype
JSON methods?
I've got a workaround in place, but I'm working on an app that doesn't
normally depend on
I am loading some XML:
new Ajax.Request(this.options.url, {
method: 'post',
parameters: 'r=hlf=' + $F(this.textbox),
onSuccess:function(transport)
{
thisObject.data = transport.responseXML;
sounds like an encoding problem ... for me IE often stops working if
everyting is utf-8 and
i also declare the reponse to be utf-8 encoded. if i remove the
encoding on the response
it works fine in IE, too
On Mon, Jan 26, 2009 at 4:08 PM, Patrick patr...@clickfactor.nl wrote:
I am loading some
Just add a new JavaScript block to your current page and paste it in.
On Jan 23, 4:45 pm, antonio.grazi...@gmail.com
antonio.grazi...@gmail.com wrote:
I have declared a New Draggable called 'module_left' in a script in
my HTML page
should I add your code in the HTML page or in the .js file ?
Richard,
What happens if you load prototype first?
I think it does the same thing no matter which order the scripts are
loaded.
Thanks,
Nathan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype
On Jan 25, 7:30 pm, nlloyds nllo...@gmail.com wrote:
I'm using this code:
script src=http://www.json.org/json2.js;/script
script runat=server src=https://ajax.googleapis.com/ajax/libs/
prototype/1.6.0.3/prototype.js/script
script runat=server
document.write(JSON.stringify([]));
This is some working code that makes a Draggable:
this.draggable = new Draggable(ts.up(div.rsrcRow), {
revert: true,
ghosting: true,
onStart: function(draggable, event) {
var G = window.grid;
var dzs = G.gridElt.select(div.rsrcRow);
G.dropZoneElts =
I am a web developer that is well versed in PHP and MySQL development
environments. Lately, I have been picking up Prototype and
script.aculo.us on a piece by piece basis. I have found myself using
(or relying) heavily on event observers and calls to Ajax.Update()
functions which pass
Eric,
I'm interested in seeing your solution. I have the same problem of
trying to prevent the nested sortables from accepting groups.
Stephen
On Jan 7, 3:35 pm, Eric eylin2...@gmail.com wrote:
I ended up extending Scriptaculous to allow for this behavior. The
changes in the new API are:
Hello,
I'm having a weird issue when trying to use Ajax.Request in a function
within a function.
I'm using LiveValidation from http://www.livevalidation.com/ which
uses prototype.js. It has a custom attribute that allows you to pass
in a custom function to validate against. I call this custom
The pattern you've described doesn't sound too awful in practice, but
if you start updating large chunks of your page at once, consider
making the server share some of the work with the client. If you've
already got the whole page there, and all the script, it doesn't make
sense to (for
16 matches
Mail list logo