Hi celso,
effectivelly, you have the removeClassName which remove the given
class for an element, but what you could also do is having another
class (say 'notchecked') that correspond to original style, and you
want to revert the 'checked' just do $('tr-xxx').morph('notchecked');
Depending to
Hi Tobias,
I have only IE6, and it works without crashes, just a different look
than on FF.
The first notice is that prototype / scriptaculous have no problem
with IE 6 / 7 / 8.
So the crash is somewhere else.
To be sure, remove every script tag (inline and external files). Just
reload the page
Hi lun.ashis,
the first part, creating the Animal class is OK.
For the Snake class, you'll create a new class based on Animal. So all
Animal methods will be avalaible in the Snake class. This is done by
this part:
var Snake = Class.create(Animal, { ...});
Next, you want to modify the Initialize
Chill out dude i wasn't arguing, As i said -again- that was a simple example.
My bad on the 2 Ajax requests i forgot my original statement about making one
or more on the initial page
I also did not say inline handlers were OOP nor my code was OOP but Prototype
JS is written in an OOP fashion
Hi lun.ashis,
the first part, creating the Animal class is OK.
For the Snake class, you'll create a new class based on Animal. So all
Animal methods will be avalaible in the Snake class. This is done by
this part:
var Snake = Class.create(Animal, { ...});
Next, you want to modify the Initialize
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 david.brill...@gmail.com wrote:
Hi
I see now what you mean with expand. That cannot be a solution. There
must be something else ;)
On 4 Jun., 19:21, david david.brill...@gmail.com 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
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
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, send
Hi Alex,
Still didn't work for me :( Just produced broken HTML output again.
On Jun 4, 5:24 pm, Alex McAuley webmas...@thecarmarketplace.com
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
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]
?php
$html = '
div id=someIdthis is correct html
span
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
very strange .. works for me with anything all the time
- Original Message -
From: Matt guitarroman...@gmail.com
To: Prototype script.aculo.us prototype-scriptaculous@googlegroups.com
Sent: Friday, June 05, 2009 10:05 AM
Subject: [Proto-Scripty] Re: HTML breaks JSON
Hi Alex,
Still
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
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');
Unlike jQuery,
TY muchly
Regards
Alex
- Original Message -
From: Szymon Wilkołazki wilkola...@gmail.com
To: prototype-scriptaculous@googlegroups.com
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
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
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 ad...@botdls.com wrote:
btw, this works in Firefox but in IE the window for the map doesn't
show up at all.
--~--~-~--~~~---~--~~
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
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
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
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 wa...@wdstudio.com wrote:
I took another run up this hill, and got quite a bit further than the
last time.
http://jsbin.com/itanu
This is
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
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
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
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 wa...@wdstudio.com wrote:
Naturally this won't run in jsbin, because it's trying to connect to a
non-existent server. Each of these Ajax calls
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
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 script
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
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 waldron.r...@gmail.com wrote:
Sorry, should've explained why IE is so dumb... Firefox knows to wait to
execute, but it doesnt know
30 matches
Mail list logo