I am unable to do the following within the Yahoo UI Library framework
with Scriptaculous:
YAHOO.namespace(mycompanyname);
YAHOO.mycompanyname.MyClass=Class.create({
initialize:function()
{
}
,
anotherFunction:function(options)
{
TJ,
Thanks for the reply!
I will try out new Element(tagName,{}); (I have a feeling you are right).
As to the YUI issue, it was a syntax error where I was closing
anotherFunction below with a ')' instead of a '}'
On Tue, Apr 7, 2009 at 5:59 PM, Ananth araghuram...@gmail.com wrote:
I am
...@ckiweb.comwrote:
If you are planning on extending YUI classes using Prototype's
Class.create, you might want to look at the bottom of this bug:
https://prototype.lighthouseapp.com/projects/8886/tickets/151-extending-yui-objects-with-prototype
Trevan
On 4/7/2009 3:59 PM, Ananth wrote:
I am unable
I am trying to do something exactly like this.
I suppose you are also trying to guarantee that a function's this always
refers to its original owner?
Anyway, have you tried
this func = (test:function(){return this.name;}}
instead of var func = ...
?
On Thu, Apr 9, 2009 at 3:36 PM, kstubs
I suppose it is like using your mouse to select and choose/click on the
selection;
this would make it disappear too..
On Thu, Apr 16, 2009 at 3:35 PM, Maarten maartenwie...@gmail.com wrote:
The autocompleter behaves this way because once you have typed in the
full word, it is simply no longer
I have been using YUI (Yahoo User Interface Library) to display JSON data
(after doing whatever transformations I need to do, using Javascript code)
So I avoided HTML altogether.
On Wed, Apr 22, 2009 at 3:28 AM, Ron Derksen cheval...@gmail.com wrote:
Hi,
Lately I've run into the challenge
Can you try removing this -- style=display:none
and setting it in Javascript like so: $(comments-section).hide() [to hide
it] and $(comments-section).show() [to show it]??
On Wed, Apr 22, 2009 at 10:12 AM, Ram yourstruly.vi...@gmail.com wrote:
hey Mona,
i tried removing the css on the div
$(your element id).observe(DOMCharacterDataChanged,function(evt){
//your code here
});
Try above
Check the Event.Observe documentation on prototype api documentation
website.
This website gives you a link to DOM 2 Events list. Check the Mutation
Events section.
On Wed, Apr 22, 2009 at 7:02
I think it is DOMCharacterDataModified
not DOMCharacterDataChanged (Sorry I gave the wrong even name earlier)
On Thu, Apr 23, 2009 at 12:03 PM, Yozefff yoze...@gmail.com wrote:
hmm no luck :(
a href='javascript:test()'test/a
div id='myDiv'/div
script
function test(){
JSON should not contain HTML for tactical/ease of programming purposes
unless the HTML is there as part of a larger design, but there may or may
not be implementation restrictions.
If you are facing problems, can you try encoding the HTML string (Base64)
and decoding back (using Javascript Base64
Need prototype function to convert object/string/number to number. Please
help.
--~--~-~--~~~---~--~~
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
...@iinet.net.au wrote:
On Apr 25, 2:06 am, Ananth Raghuraman araghuram...@gmail.com wrote:
Need prototype function to convert object/string/number to number. Please
help.
Without a more concise specification for what the object/string/number
might be, you will end up with a large
AM, pradeep pradeep...@gmail.com wrote:
Dear Ananth,
you can also use..
Math.abs(string); to get the number
which is one of the prototypes method.
However, the beauty of the javascript is that it automatically
typecaste's the varible declared to number or string
Look at YUILoader's onSuccess method; it is the same as dom:loaded event
On Mon, Apr 27, 2009 at 2:48 AM, Mark Mansour markmans...@gmail.com wrote:
Hey guys,
I'm looking for the earliest point to execute a method when a HTML
element is available. Currently I can only get my desired
I thought we were discussing the Prototype and Scriptaculous framework..what
is Mochikit and how is it related to Proto-Scripty?
On Thu, Apr 30, 2009 at 2:47 PM, WLQ maybe...@gmail.com wrote:
Thanks man! You've saved a lot of headache trouble!
Thanks, Bruno
+1 from Yan :)
Scriptaculous/Prototype dont have it. Try YUI (Yahoo User Interface libary:
http://developer.yahoo.com/yui)
On Fri, May 1, 2009 at 7:15 PM, Benedikt.Rothe
benedikt.ro...@googlemail.com wrote:
Hi
Does anybody know a Splitter-control for prototype?
jQuery-equivalent:
16 matches
Mail list logo