Whoops! Also... IE collapsed your wrapper div. i put 75% on that and then
100% on the inner div - worked like a charm.
On Fri, Jun 5, 2009 at 9:27 PM, Rick Waldron wrote:
> Sorry, should've explained why IE is so dumb... Firefox knows to wait to
> execute, but it doesnt know everything all the t
Sorry, should've explained why IE is so dumb... Firefox knows to wait to
execute, but it doesnt know everything all the time, so its safer to wrap
everything in the document.observe(). IE doesnt know anything at all and
tries to execute as the page loads... so if you start observing elements
that a
Simple fix, you need to put those observers inside the proper
document.observe('dom:loaded') block for them to actually know when and what
to start observing.
i posted your demo - fixed:
http://www.genevajs.com/misc/demo-ps-list-0013.php
cope/paste as needed. be sure to update the tags... those
Nothing I do seems to be working with IE. I thought that prototype/
scriptaculous was supposed to fix IE's retardedness.
I tried using the following code. It works for FF but not IE:
http://paste.windower.net/f3dd16107
Move Test
I'm hitting the SOP wall in one of the applications I'm developing and
I really need to find a way to hit a remote script and get data back
from it.
A solution that I found about online is JSONP.
I was wondering if Prototype had something in store to deal with JSONP
(my research online seems to i
WLQ,
You really have received **GREAT** advice along with ample code to get
this working (with a bit of work on your end). It is not an overly
complicated request where no mere mortal can figure out/implement.
Especially with all the code that has already been shared. You may
need to learn a bit
That's entirely up to your server, your framework (if you use one)
etc. I've posted a very concise bit of code that does the update order
part before, have a look through the archives at Google Groups.
Walter
Not sure what you mean by freezing -- you should simply see a page of
code, it's
What I've meant is what kind of code should be in those update,
create, remove php.
P.S The page is freezing.
On Jun 5, 3:46 pm, Walter Lee Davis wrote:
> Naturally this won't run in jsbin, because it's trying to connect to a
> non-existent server. Each of these Ajax calls will send a POST re
> Is there a way to initially load the page with the map open
> and then close it after a timed period? Better yet, is there some way
> to load it with it hidden but not chopped up?
Yeah, having it display:none or visibility:hidden can muck up the
calculations of the containers dimensions. I'd
Alex is right ... I would even suggest not using Event.observe(window,
'load', function() {}); for this application at all...
you can wrap all those other event handlers in one big
document.observe('dom:loaded', function () {
all your stuff goes here.
});
On Fri, Jun 5, 2009 at 6:18 AM,
Naturally this won't run in jsbin, because it's trying to connect to a
non-existent server. Each of these Ajax calls will send a POST request
to your server. Have a search of this list, I've posted a simple
script to handle the update of sortable order in PHP before.
http://jsbin.com/emuya/
Thanks guys for your answers !
--~--~-~--~~~---~--~~
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 unsubscribe from t
I have a hard time connecting your js with a database. Could you give
an example of what I should write there?
On May 31, 8:22 pm, Walter Lee Davis wrote:
> I took another run up this hill, and got quite a bit further than the
> last time.
>
> http://jsbin.com/itanu
>
> This is quite a lot of
Sure.
What I'm doing is this -- removing them from the parent object in the
order I want them to re-appear, then inserting them in that order at
the bottom of the parent object. So if you start out like this:
div#foo
div#bar1
div#bar2
div#bar3
div#bar4
Then w
Thanks Walter!
Some good advice. I'll bare those methods in mind for future
projects..
I guess the best practice would be as follows:
If you have to use a 'name' which needs to be quoted, quote them all!
I didn't know about the 'cssName' type, so I'll be trying those as
well.
If I find a solu
Sorry I'm not sure how that works, can you please explain a bit more.
Basically I have 4 divs in a row ordered 1,2,3,4
When I press a button I want them to re order themselves 4,1,2,3
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
oops sorry, I'm new to this. How do I combine it into one statement
but keep everything separated?
On Jun 5, 6:53 am, MIGhunter wrote:
> btw, this works in Firefox but in IE the window for the map doesn't
> show up at all.
--~--~-~--~~~---~--~~
You received this
btw, this works in Firefox but in IE the window for the map doesn't
show up at all.
--~--~-~--~~~---~--~~
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-
TY muchly
Regards
Alex
- Original Message -
From: "Szymon Wilkołazki"
To:
Sent: Friday, June 05, 2009 11:33 AM
Subject: [Proto-Scripty] Re: Last table row
>
> Jeztah wrote:
>> Morning...
>>
>> Very silly and easy question but my brain isn't working today
>>
>> How can i get the l
Jeztah wrote:
> Morning...
>
> Very silly and easy question but my brain isn't working today
>
> How can i get the last row of a table (table id="foo") ...
>
> The row is inserted dynamically via an ajax request so its not on the
> page at load time!.
>
> $('foo').select('tr:last');
>
Un
You dont need all those Event.observe(window one will do !!!...
If you want to toggle something after some time just do something like
var timerOuting=setTimeout(function() {
$('foo').toggle;
},5000); // 5 seconds
will toggle foo after 5 seconds of window loading if you put it in a wrappe
very strange .. works for me with anything all the time
- Original Message -
From: "Matt"
To: "Prototype & script.aculo.us"
Sent: Friday, June 05, 2009 10:05 AM
Subject: [Proto-Scripty] Re: HTML breaks JSON
Hi Alex,
Still didn't work for me :( Just produced broken HTML output again.
Morning...
Very silly and easy question but my brain isn't working today
How can i get the last row of a table (table id="foo") ...
The row is inserted dynamically via an ajax request so its not on the
page at load time!.
$('foo').select('tr:last');
Doesnt work as its returning more than
Matt wrote:
> Hi Alex,
>
> Still didn't work for me :( Just produced broken HTML output again.
>
If your html code is not broken on inside of php variable, then it
won't break anything inside json_encode;
[code]
this is correct html
You have to escape single Quotes
Hi Alex,
Still didn't work for me :( Just produced broken HTML output again.
On Jun 4, 5:24 pm, "Alex McAuley"
wrote:
> You need to do it a bit differently with php json_encode/decode ... i had
> this problem when i first started using it
>
> where you send post data (JSON) as p
>
> $post=s
Couldn't find the edit button.
Here is an easier to read markup page: http://paste.windower.net/fb6f0e0c
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, se
I'm trying to use a script to hide and show user information. Right
now I am just playing with it and here is what I have:
http://migcfdesign.com/joani/index.html
The problem is the map.
I can't load the page with the map hidden. If I do chops off 1/2 of
the map. Is there a way to initially lo
I see now what you mean with expand. That cannot be a solution. There
must be something else ;)
On 4 Jun., 19:21, david wrote:
> Hi Cyrus,
>
> I've made some test and can add some info.
> The link CAN be clicked, you just need to expand the select option,
> and it works now for all other links.
Hi David,
thanks for the tests. What do you mean with expand? Specify a width
for the select box?
If you load the page -> change the window -> come back to the window
with the list, it also works. But I can't tell this my users ;)
On 4 Jun., 19:21, david wrote:
> Hi Cyrus,
>
> I've made some t
29 matches
Mail list logo