Hi all,
Can someone please help me with the Insertion.Top not working IE 6? I
have an example at
http://www.talaha.com/macnn/test_insert.html
It works in both Firefox (1.5 Mac/Win) and Safari; but does not work in
IE 6.
Is this a bug in the scriptaculous lib or am I not doing something
pro
On Tue, Mar 07, 2006 at 10:01:32PM -0500, Jerod Venema wrote:
> As to the other question...it could be a scope issue. I'd have to see it in
> an example to be of much help, but from the code you've posted, "this" would
> refer to the document window. Assuming the function is not wrapped in some
> o
As to why it borked in IE...IE blows :-) getElementByID in IE also getsElementByName...doh! No workaround that I know of, you just have to keep the "name"s distinct from the "id"s. IE just returns the first one it hits.
As to the other question...it could be a scope issue. I'd have to see it in an
On Tue, Mar 07, 2006 at 08:34:53PM -0500, Jerod Venema wrote:
> Try:
>
>
>
> and I bet it works.
Good call! Is that a problem with IE or my incorrect usage?
I have some other code that doesn't work in IE. I suspect a rather
basic javascript question.
I have an element observed that calls Zi
Try:and I bet it works.-JerodOn 3/7/06, Bill Moseley <
[EMAIL PROTECTED]> wrote:See if I can stir up a little life with a demo. I can't believe that
Ajax.Autocomplete doesn't work on IE, so I *must* be doing somethingwrong.Trying to figure this out I added some alerts to control.js and itseems tha
The shop was simply an example as i said in my post and I'd agree that
doing an entire store in ajax is a poor idea.
However, the technique I was after would allow the url in the title bar
to accurately reflect the state of the page, whether that's the post in
a thread you were reading or a pos
Robin Haswell wrote:
> One more small correction. Allow custom callbacks.
Thanks Robin, you made my hours of mucking around with
InPlaceCollectionEditor worthwhile. Somebody get this patch into the
trunk, please! I still have one problem, though. externalControl doesn't
seem to be working for
See if I can stir up a little life with a demo. I can't believe that
Ajax.Autocomplete doesn't work on IE, so I *must* be doing something
wrong.
Trying to figure this out I added some alerts to control.js and it
seems that IE is not getting the onkeypress events.
So, here's a demo:
http://h
I have done exactly that in my dragdrop.js (warning, highly modified)...
To use that method in my file, set both "ghosting" and "floating" (my
proprietary option) to true. Then when you start dragging, it clones the
element and attaches it at the document level.
Use at your own risk. (attached
controls.js line 471:
Where it says:
new Effect.Highlight(element, {startcolor: this.options.highlightcolor});
can we change it to:
new Effect.Highlight(element, {startcolor:
this.options.highlightcolor, endcolor:
this.options.highlightendcolor});
.
Otherwise, it'll use the default #FF to
If the containing element has it’s overflow property set to anything but
"visible" and I try to drag something out of the list, the draggables
are dragged underneath the “border” ( the hidden area of the container)
and thus become partly or completely invisible. Any ideas to prevent
this from h
If you *really* need to make sure they execute in order, you'll have to implement some sort of queueing of your own. Shouldn't be hard. I'd do something like this:1) Create a global object to manage your queue. QManager lets say. Give it an array, called queue, and a function called "add"
2) Add a
I was looking for a IE bug solution. onComplete event doesnt fire.
Someone post that charset in header it causes this behavior
http://www.archivesat.com/post322214.htm
I want to know if anybody has solve this issue.
Thanks
___
Rails-spinoffs mailing
To answer your first question, the the body's ONLOAD command is executed
once the page has completed loading. Having script in your HTML gets
executed at different times depending on the browser (at least that's my
experience).
As for the other questions, why do you need 2-3 ajax calls to e
Hi,
currently I execute 2-3 AJAX-Calls (located at the end of html-body) on
loading the page. I run into problems now because they are executed
parallel of course :)
How can I garuantee that the Calls are executed when the page has loaded
completely ?
And, more interesing, how can I make one AJA
This is an example of where I think Ajax is taken too far. I see no
value in having a "pure" ajax solution for showing the product. If you
are using pretty URL's, it's no big deal to perform a "true" request
when changing products.
On DevLists I sometimes have some data (i.e. a message) em
Yep, thanks a bunch. I should look through the Prototype functions as well a bit better in the future :)AndreasOn Mar 7, 2006, at 16:11 , Joseph Potenza wrote:Have you tried Position.clone?On 3/7/06, Andreas Wahlin <[EMAIL PROTECTED]> wrote: I'd like an OS X like Puff effect. For those who don't kn
Rob Clayburn wrote:
Hi All
Not specifically a scriptaculous question, but I was wondering how
people were going about maintaining access to their applications via
standard urls.
Doh - as soon as you ask the question you find the answer:
http://ajaxpatterns.org/Unique_URLs
:D
_
Hi All
Not specifically a scriptaculous question, but I was wondering how
people were going about maintaining access to their applications via
standard urls.
Say for example I've a shop at www.shop.com, and its pure ajax to load
in products. Now customer A wants to show a friend a product on
One more small correction. Allow custom callbacks. Did someone just not
think this collection thing through or something?
--- js/controls.js.orig 2006-03-07 15:35:45.0 +
+++ js/controls.js 2006-03-07 16:19:50.0 +
@@ -784,10 +784,27 @@
this.editField = this.cached
Sorry, I get paid to write code, not to document it. I can paste what
I'm using though:
new Ajax.InPlaceCollectionEditor(el, "___relations.saveRelation.ajax", {
okText:"Save",
cancelText:"Cancel",
externalControl:control,
externalControlOnly:true,
loadOption
Thanks. I might do that.
Andrew Kaspick wrote:
> Patches can be submitted at http://dev.rubyonrails.org/ for
> scriptaculous if you want a better shot at getting it into the main
> trunk.
>
> Just mentioning for those who may not know.
>
> On 3/7/06, Robin Haswell <[EMAIL PROTECTED]> wrote:
>
>
I have IE 6.0.2 on an old Win 98 machine (that sounds like a vacuum
cleaner when running), but I'm developing with FireFox and on Mac and
Linux where things seem to work fine.
On IE my Ajax.Updater code and my scriptaculous effects are working
fine, but my autocomplete fields are not. I assume I'
Hi,
> Attached is a patch to allow Ajax.InPlaceCollectionEditor to load the
> collection using AJAX.
>
> It adds a new option, loadOptionsURL, which is the URL used to load the
> values over the interweb. It expects the server to return
> values. If one of them has a selected="selected"
> attribut
Patches can be submitted at http://dev.rubyonrails.org/ for
scriptaculous if you want a better shot at getting it into the main
trunk.
Just mentioning for those who may not know.
On 3/7/06, Robin Haswell <[EMAIL PROTECTED]> wrote:
> Attached is a patch to allow Ajax.InPlaceCollectionEditor to loa
Attached is a patch to allow Ajax.InPlaceCollectionEditor to load the
collection using AJAX.
It adds a new option, loadOptionsURL, which is the URL used to load the
values over the interweb. It expects the server to return
values. If one of them has a selected="selected"
attribute, it will probab
Have you tried Position.clone?On 3/7/06, Andreas Wahlin <[EMAIL PROTECTED]> wrote:
I'd like an OS X like Puff effect. For those who don't know, thiskeeps the original object during the puff effect. Is there some
simple option or do you have to do it yourself?I tried it something like this
On 3/7/06, Andreas Wahlin <[EMAIL PROTECTED]> wrote:
> Is there some way to simply override CSS rules specified in a CSS file?
> Scenario being that scriptaculous effects would be nicer to have on
> things like :hover, but wishing to keep CSS "effects" for people
> without javascript.
> Specifik in
Is there some way to simply override CSS rules specified in a CSS file?
Scenario being that scriptaculous effects would be nicer to have on
things like :hover, but wishing to keep CSS "effects" for people
without javascript.
Specifik in this case is that I have a slight padding on a navigation
I'd like an OS X like Puff effect. For those who don't know, this
keeps the original object during the puff effect. Is there some
simple option or do you have to do it yourself?
I tried it something like this
var self = this;
va
HiI discovered the same behaviour, see http://dev.rubyonrails.org/ticket/3391A simple workarount is to include a reverteffect to the options, which clears
style.top and style.left of the elementfor example:Sortable.create(, {... reverteffect: function(e) {e.style.top = 0;
function searchSales()
{
var empID = $F('lstEmployees');
var y = $F('lstYears');
var url = 'http://yoursever/app/get_sales';
var pars = 'empID=' + empID + '&year=' + y;
var myAjax = new Ajax.Request( url, { met
Hi everybody,
Could somebody have a look at a little sortable example at
http://www.weisshuhn.de/diagnose/sortable.html
It implements two Sortables and a Draggable. You can drag elements
from the "source" Sortable to the main Sortable, sort them (surprise)
and drag them to a trash. Whenever
Hi All. In my site I have situation that I always want to execute some piece of
code when AJAX call happen. I am using function onCreate and onComplete from
tutorial:http://www.sergiopereira.com/articles/prototype.js.html
but I don'k how to manipulate Ajax responseText in this function. Does anyo
34 matches
Mail list logo