Shouldn't it be:
new Effect.Appear('menu');
On Aug 31, 7:56 am, mau wrote:
> Hi, I've an issue with scriptaculous appear effect and IE 7, when I
> nest a div inside another div with display none to make it appear, it
> doesn't appear slow, it appears at once.
>
> I call a js function when div
My classes are just class definitions.
MYAPP.Class1= Class.create({...});
MYAPP.Class2= Class.create({...});
I don't create the objects until I get to main.js, which creates them
after the window has loaded. Why is IE7 not giving an error when I
access MYAPP in Class1.js and Class2.js, but is g
On Sep 4, 3:43 pm, RobG wrote:
> On Sep 4, 4:40 am, JoJo wrote:
>
> > ^ great article!
>
> > Now I have another question. Here is my new workflow in an attempt to
> > execute files in the correct order across all browsers. It works in
> > IE8, but not in IE7. In IE7 I get an error saying "o
On Sep 4, 4:40 am, JoJo wrote:
> ^ great article!
>
> Now I have another question. Here is my new workflow in an attempt to
> execute files in the correct order across all browsers. It works in
> IE8, but not in IE7. In IE7 I get an error saying "object expected"
> on line 2 of main.js. Thi
This may not be Prototype's fault after all. I made a very simple test
now. I compared the rendering of two pieces of HTML code separately:
(1)
(2)
I measured both inputs with a "pixel ruler" and I realized their
rendering is identical. Not a single pixel of difference. In both
cases, the
On Sep 3, 11:42 am, Jim Higson wrote:
> On Thursday 03 September 2009 16:29:33 Jim Higson wrote:
>
>
>
> > On Thursday 03 September 2009 06:51:19 kangax wrote:
> > > On Sep 2, 2:23 pm, Mojito wrote:
> > > > What's the Prototyped syntax equivalent of:
>
> > > > window.frames['iFrameID'].document.
@RobG
I'm not sure that DOMSubtreeModified works in the IE. I tried to use
it and I think it doesn't.
@Marko
That's the problem... I don't want to fire it manually.
But thanks guys for help.
--~--~-~--~~~---~--~~
You received this message because you are subscrib
> > Ajax.Updater('menu',
try "new Ajax.Updater..."
--
http://positionabsolute.net
On Sep 3, 4:39 pm, Bob wrote:
> Sorry pulled this from a template /%libr%/ will actually get filled in
> with the correct path to that program on the server
>
> > Ajax.Updater('menu',
> >
Sorry pulled this from a template /%libr%/ will actually get filled in
with the correct path to that program on the server
> Ajax.Updater('menu',
> '/%libr%//SYG938',
> {method: 'post',
> parameters:{USER: data.ASID,
>
I added a semicolon to the end of my global wrapper var:
var MYAPP = {class1: null, class2: null};
But I still get the same order. I believe that since this is
executable code, IE doesn't care if it creates it AFTER I try to use
it.
On Sep 3, 12:56 pm, "Alex McAuley"
wrote:
> Sometimes IE moan
In the onSuccess function of one ajax call I am trying to perform an
Ajax.Updater to get an fill in another portion of the screen. The
server side program is not getting called Using firebug it looks like
the call still thinks it is complete from teh previous call. I've only
been doing JavaScript
Sometimes IE moans about the lack of a semi colon on the end of some Json'd
code
For example
var foo ={bar:function(){alert('Hi');}}
fails in some IE's (cant remember which one) but
var foo ={bar:function(){alert('Hi');};
Works in every browser - i had to update some code to fix similar erro
^ great article!
Now I have another question. Here is my new workflow in an attempt to
execute files in the correct order across all browsers. It works in
IE8, but not in IE7. In IE7 I get an error saying "object expected"
on line 2 of main.js. This is not very descriptive; what does it
mean?
See this article:
http://proto-scripty.wikidot.com/prototype:how-to-load-scripts-dynamically
On Thu, Sep 3, 2009 at 9:25 AM, JoJo wrote:
>
> Instead of loading JS in the , how do I do includes like
> virtually all other languages? Isn't Scriptaculous loading Effects.js
> and other files? How i
Instead of loading JS in the , how do I do includes like
virtually all other languages? Isn't Scriptaculous loading Effects.js
and other files? How is it doing that?
On Sep 2, 11:36 pm, "Alex McAuley"
wrote:
> If you need to garuntee that a variable,function or method exists i would
> always w
Can I use Effect.toggle in an HTML list box? I want the toggle effect to
display when an item in the list box is clicked.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post
On Thursday 03 September 2009 16:29:33 Jim Higson wrote:
> On Thursday 03 September 2009 06:51:19 kangax wrote:
> > On Sep 2, 2:23 pm, Mojito wrote:
> > > What's the Prototyped syntax equivalent of:
> > >
> > > window.frames['iFrameID'].document.getElementById
> > > ('elementInsideIFrame');
> >
>
That's the odd thing. It was working, and now it's kinda working --
you see the favicon for a fraction of a second, then it disappears and
is replaced with the generic globe.
Walter
On Sep 3, 2009, at 11:34 AM, Alex McAuley wrote:
>
> I had a similar issue with caching once with firefox.. i
I had a similar issue with caching once with firefox.. i had to delete the
whole cache and it reverted the favicon back to the one i chose.
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Walter Lee Davis"
To:
Sent: Thursday, September 03, 2009 3:36 PM
Subject:
On Thursday 03 September 2009 06:51:19 kangax wrote:
> On Sep 2, 2:23 pm, Mojito wrote:
> > What's the Prototyped syntax equivalent of:
> >
> > window.frames['iFrameID'].document.getElementById
> > ('elementInsideIFrame');
>
> Current version of Prototype doesn't really support programmatic
> con
I am seeing something on a site I'm developing that I've never seen
before. The favicon appears briefly, then (watching in Firebug) the
various Ajax requests run, and as soon as they do, the favicon
disappears. Nothing in my Ajax callbacks is set to modify the head of
the main page, they m
Alex,
I think you're right. But I thought an element had to be absolutely
positioned for clonePosition to work properly. In fact, I tried to
turn span #2 into a relative element and the positioning was not even
close. You said span #2 inherits the style, but the parent element, in
my case, is jus
T.J.,
Thanks for the help, but I tried replacing the numbers with valid IDs
and the result was the same...
Tiago
On Sep 3, 5:09 am, "T.J. Crowder" wrote:
> Hi,
>
> This probably isn't the answer, but FWIW, those IDs are invalid. IDs
> cannot start with a digit.[1]
>
> It'd be nice if correctin
You could use prototype custom events. See example here:
http://jsbin.com/ayiku
But you will have to fire function manually after update or override
default Element.update function to do it for you.
Marko
On Sep 2, 7:30 pm, Hipnotik wrote:
> Thanks Walter!
> I would like to avoid of using PE
On Sep 3, 12:07 am, Hipnotik wrote:
> Hi
> How to call some action if content of the div element has changed?
>
> I'm talking about something like this:
> $("my-div").observe("change", function(e) {
> alert("hello");
>
> });
>
> Expecting behavior:
> I have this
> some text
>
> now I'm chan
Hi David!, thank you for your reply, I tried to put the filter opacity
in each and both of the div's, and it still doesn't work as expected.
On Sep 2, 8:17 am, david wrote:
> Hi mau,
>
> just a guess, because I do not have IE7 on my work computer.
> If you set the filter opacity to a value in
Dunno what any of that meant !! just seemed a complicated jumble of
words to me!
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Richard Quadling"
To:
Sent: Thursday, September 03, 2009 12:39 PM
Subject: [Proto-Scripty] Re: Prototype 1.6.1 Released!
>
>
2009/9/2 Alex McAuley :
>
> Nice work guys... now i have the mamoth task of updating everything with the
> new version!!!..
>
>
> Alex Mcauley
> http://www.thevacancymarket.com
> - Original Message -
> From: "T.J. Crowder"
> To: "Prototype & script.aculo.us"
> Sent: Tuesday, September 01
Its to do with the absolute positioning of Span 2 as it inherits the
style...
Alex Mcauley
http://www.thevacancymarket.com
- Original Message -
From: "Tiago"
To: "Prototype & script.aculo.us"
Sent: Thursday, September 03, 2009 3:24 AM
Subject: [Proto-Scripty] clonePosition not behaving
Hi,
This probably isn't the answer, but FWIW, those IDs are invalid. IDs
cannot start with a digit.[1]
It'd be nice if correcting them happened to fix it, but I tend to
doubt it. :-)
[1] http://www.w3.org/TR/html401/types.html#type-name
--
T.J. Crowder
tj / crowder software / com
www.crowdersof
Hi ,
I am getting a problem , i have added a js function on onchange event
of a drop-down box , which calls Ajax.Updater , now whenever i call
this function i get an error
"element.DispatchEvent is not a function" in error console . please
help
Waiting for prompt reply
Vaibhav
--~--~
Hello,
I wrote the following HTML code:
And I would like to place span #2 on the same position as span #1. I
tried to run the following command:
$('2').clonePosition($('1'));
However, span #2 is placed a little below span #1 (2 pixels or so).
Does anyone know why this happens? Is there
Hello-
I was wondering if you could please tell me where in the documentation
you found this. There is very little about destroy() that I can
find. In fact, I only found a single mention of it on the "draggable"
page.
Also, I tried the bit of code you posted and it does not seem to be
working
33 matches
Mail list logo