Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

ydn-javascript · Yahoo! User Interface Library Group

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 12955
  • Category: JavaScript
  • Founded: Dec 15, 2005
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Messages

Advanced
Messages Help
Messages 35370 - 35400 of 52481   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#35370 From: "anil81kesh" <anil81kesh@...>
Date: Fri Aug 1, 2008 7:13 am
Subject: Re: YUI Editor Bug: Cursor goes to next line when bullet/numbering button selected
anil81kesh
Send Email Send Email
 
Just trying to make the issue little more clear. Following are the steps
1. I have YUI Editor implementation
2. Click on the 'Create an Ordered List' or 'Create an Unordered List'
button.
3. we notice that the dots/number appears in the next line and cursor
is misplaced (goes to further next line).


Please let us know, whether it is known issue. If it is known issue,
what is workaround.
Thanks in Advance.

-Anil


--- In ydn-javascript@yahoogroups.com, "anil81kesh" <anil81kesh@...>
wrote:
>
> This seems to be a bug in IE(6+). When we click on the 'Create an
> Ordered List' or 'Create an Unordered List' buttons, cursor goes to
> the next line and creates an empty line.
>

#35371 From: "jefffederman" <jefffederman@...>
Date: Fri Aug 1, 2008 8:54 am
Subject: Dual-thumb Slider with range highlight question
jefffederman
Send Email Send Email
 
Hi, I'm fairly new to web design, and while familiar enough with
JavaScript to make basic modifications to library widgets, I'm out of
my league with this question...

I'd like to modify the existing YUI dual thumb slider with range
highlight, the modification being that the track has THREE different
colors, e.g., (1) red between the left edge of the track and the left
handle; (2) orange between the two handles (the range); and (3) yellow
between the right handle and the right edge of the track.

Ideally, this slider would output three values in text input boxes:
(1) the left handle value (red area); (2) the range value (orange
area); and (3) max value - the right handle value (yellow area).

Any help you can provide is much appreciated!

#35372 From: Rodrigue Lagoue Njinthe <rlagoue@...>
Date: Fri Aug 1, 2008 8:59 am
Subject: setting button width
rlagoue@...
Send Email Send Email
 

hi!

 

i'm trying to set a button's widt programmatically. I use the following method. YAHOO.util.Dom.setStyle('buttonId', 'width', 175 + 'px'); It seems like the call of this method extends the existing button's width. That means if the button had a width of 30px before the call, it has a width of 30px + 175px after.

 

What could be the problem

 

thanks for any help


#35373 From: Rahaman Sharif <krahaman_sharif@...>
Date: Fri Aug 1, 2008 9:26 am
Subject: Develop Rico using YUI
krahaman_sharif
Send Email Send Email
 
Hi All,

I am a new user of yui.I am trying to use YUI to RICO. anybody know RICO.
refer this link http://demos.openrico.org/demos/accordion. i want like(animation menu) that using only YUI. how i do that anybody know. Please Help me.
 
Thanks
Rahamansharif


Did you know? You can CHAT without downloading messenger. Click here

#35374 From: klaudiusz szatanik <racl@...>
Date: Fri Aug 1, 2008 9:48 am
Subject: Re: Develop Rico using YUI
klaudiusz.sz...
Send Email Send Email
 
hi,

this one is similar: http://www.bubbling-library.com/

cheers, klaudiusz


Am 01.08.2008 um 11:26 schrieb Rahaman Sharif:


Hi All,

I am a new user of yui.I am trying to use YUI to RICO. anybody know RICO.
refer this link http://demos.openrico.org/demos/accordion. i want like(animation menu) that using only YUI. how i do that anybody know. Please Help me.
 
Thanks
Rahamansharif


Did you know? You can CHAT without downloading messenger. Click here



#35375 From: "Frank Dietrich" <fdietrich@...>
Date: Fri Aug 1, 2008 10:57 am
Subject: Re: setting button width
dietrich.frank
Send Email Send Email
 
try setting
 
YAHOO.util.Dom.setStyle('buttonId', 'width', (175) + 'px');
 
or if You have a known value use '175px' directly

*********** REPLY SEPARATOR ***********

On 01.08.08 at 10:59 Rodrigue Lagoue Njinthe wrote:

hi!

 

i'm trying to set a button's widt programmatically. I use the following method. YAHOO It seems like the call of this method extends the existing button's width. That means if the button had a width of 30px before the call, it has a width of 30px + 175px after.

 

What could be the problem

 

thanks for any help


#35376 From: "Nick Fox" <nicolaspatrickfox@...>
Date: Fri Aug 1, 2008 11:10 am
Subject: replacement for getElementByID
nicolaspatri...
Send Email Send Email
 
Is there a replacement in the library for getElementByID like in
prototype.js. What library is it in if there is?

var a = $('b'); // prototype.js

for

var a = document.getElementByID('b');

thanks
Nick

#35377 From: "info2hussain" <info2hussain@...>
Date: Fri Aug 1, 2008 11:14 am
Subject: Dynamic tree with XHR data
info2hussain
Send Email Send Email
 
Hi All,

I want to create a dynamic tree with XHR data. I followed the YUI's example about that and wrote my own code but I see nothing in the browser. I don't even get any error message. My codes are:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www. w3.org/TR/ html4/strict. dtd">
<html>
    <head>
        <meta http-equiv=" Content-Type" content="text/ html; charset=iso- 8859-1" />
        <title>Untitled Document</title>
        <!-- css -->
        <link rel="stylesheet" type="text/css" href="http:/ /yui.yahooapis. com/2.5.2/ build/treeview/ assets/skins/ sam/treeview. css">
       
        <script type="text/javascri pt" src="http:// yui.yahooapis. com/2.5.1/ build/yahoo/ yahoo-min. js"></script>
        <script type="text/javascri pt" src="http:// yui.yahooapis. com/2.5.2/ build/event/ event-min. js"></script>
        <script type="text/javascri pt" src="http:// yui.yahooapis. com/2.5.2/ build/connection /connection- min.js"></script>
        <script type="text/javascri pt" src="http:// yui.yahooapis. com/2.5.1/ build/json/ json-min. js"></script>
        <script src = "http://yui. yahooapis. com/2.5.2/ build/treeview/ treeview- min.js" ></script>
        <script type="text/javascri pt">
           
            function buildTree(){
               
                //create a new tree:
                tree = new YAHOO.widget. TreeView( "tree");
               
                //turn dynamic loading on for entire tree:
                tree.setDynamicLoad (loadNodeData, currentIconMode) ;
               
                //get root node for tree:
                var root = tree.getRoot( );
               
                //add child nodes for tree;
                var aStates = ["Process", "Activity", "Process Instance", "Activity Instance"];
                for (var i = 0, j = aStates.length; i < j; i++) {
                    var tempNode = new YAHOO.widget. TextNode( aStates[i] , root, false);
                }
               
               
                tree.draw();
               
            }   
                function loadNodeData( node, fnLoadComplete) {
               
               
                    var callbacks = {
                        // Successful XHR response handler
                        success: function(o){
                            var messages = [];
                           
                            // Use the JSON Utility to parse the data returned from the server
                            try {
                                messages = YAHOO.lang.JSON. parse(o.response Text);
                            }
                            catch (x) {
                                alert("JSON Parse failed!");
                                return;
                            }
                           
                            var len = messages.length;
                            for (var i = 0; i < len; ++i) {
                           
                                var m = messages[i];
                                var tempNode = new YAHOO.widget. TextNode(m.result[0]. value, node, false);
                               
                            }
                            o.argument.fnLoadCo mplete();
                        },
                       
                        // Failed XHR response handler
                        failure: function(o) {
                       
                            document.writeln( "XHR Transaction failed!");
                        },
                   
                       
                        argument: {
                            "node": node,
                            "fnLoadComplete" : fnLoadComplete
                        },
                   
                   
                        timeout: 7000
                       
                       
                    };
                   
                   
                    url = "/api-rest/query? f=json&o=execution- history&q=" + escape("(setofall ?x (instance-of ?x #_COBRA:ActivityIns tance))") ;
                   
                    // Make the call to the server for JSON data
                    YAHOO.util.Connect. asyncRequest( 'GET', url, callbacks);
                   
                }
           
        </script>
    </head>
    <body class="yui-skin- sam" onload="buildTree( )">
        <div id="tree"></div>
       
    </body>
</html>


I marked something red in my code as I think many of you might think there is something wrong with that specific part. But, I can assure you that this red marked part is completely ok and I tested it. When I tried the XHR part of my code separately, it worked fine and I can access the data and show them in the browser properly but problem comes when I try to use the same code in with the treeview thing. When I try to run the code, it doesn't even do anything to retreive the XHR data.


Any one has any idea or any suggestion?

Thanks,
H

#35378 From: Rodrigue Lagoue Njinthe <rlagoue@...>
Date: Fri Aug 1, 2008 11:57 am
Subject: RE: setting button width
rlagoue@...
Send Email Send Email
 

Hi Frank,

 

thanks for your answer.  It is the use of the setStyle function that had the behaviour i described in my first mail. I cannot set it directly, because this may change dynamically at runtime.

 

Thanks for any help

 

From: ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Frank Dietrich
Sent: Freitag, 1. August 2008 12:57
To: ydn-javascript@yahoogroups.com
Subject: Re: [ydn-javascript] setting button width

 

try setting

 

YAHOO.util.Dom.setStyle('buttonId', 'width', (175) + 'px');

 

or if You have a known value use '175px' directly


*********** REPLY SEPARATOR ***********

On 01.08.08 at 10:59 Rodrigue Lagoue Njinthe wrote:

hi!

 

i'm trying to set a button's widt programmatically. I use the following method. YAHOO It seems like the call of this method extends the existing button's width. That means if the button had a width of 30px before the call, it has a width of 30px + 175px after.

 

What could be the problem

 

thanks for any help


#35379 From: "joehud888" <joehud@...>
Date: Fri Aug 1, 2008 1:12 pm
Subject: How to make YUI even easier
joehud888
Send Email Send Email
 
If you are a Java developer, ZipScript has just added struts2 support.

ZipScript is a very powerful template language which can be used to
wrap YUI components very nicely.  If you are interested in seeing how
ZipScript can work with YUI javascript components, check out some
examples:

http://code.google.com/p/zipscript/wiki/YUIMacros

Feedback would be appreciated.  Thanks.

Joe Hudson

#35380 From: "Frank Dietrich" <fdietrich@...>
Date: Fri Aug 1, 2008 1:18 pm
Subject: RE: setting button width
dietrich.frank
Send Email Send Email
 
 
Sure, normally You get there with a variable comming from somewhere
 
but
 
var nNewWidth = 175;
...
...
YAHOO.util.Dom.setStyle('buttonId', 'width', (nNewWidth) + 'px');
 
should work
 
 
 
 

*********** REPLY SEPARATOR ***********

On 01.08.08 at 13:57 Rodrigue Lagoue Njinthe wrote:

Hi Frank,

 

thanks for your answer.  It is the use of the setStyle function that had the behaviour i described in my first mail. I cannot set it directly, because this may change dynamically at runtime.

 

Thanks for any help

 

From: ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Frank Dietrich
Sent: Freitag, 1. August 2008 12:57
To: ydn-javascript@yahoogroups.com
Subject: Re: [ydn-javascript] setting button width

 

try setting

 

YAHOO.util.Dom.setStyle('buttonId', 'width', (175) + 'px');

 

or if You have a known value use '175px' directly


*********** REPLY SEPARATOR ***********

On 01.08.08 at 10:59 Rodrigue Lagoue Njinthe wrote:

hi!

 

i'm trying to set a button's widt programmatically. I use the following method. YAHOO It seems like the call of this method extends the existing button's width. That means if the button had a width of 30px before the call, it has a width of 30px + 175px after.

 

What could be the problem

 

thanks for any help


#35381 From: Dav Glass <dav.glass@...>
Date: Fri Aug 1, 2008 2:02 pm
Subject: Re: Re: YUI Editor Bug: Cursor goes to next line when bullet/numbering button selected
dav.glass
Send Email Send Email
 
Anil --

There have been a few reports on SF for this issue & I will be working on them for the 2.6.0 release..

Dav
 
Dav Glass
dav.glass@...
blog.davglass.com



+ Windows: n. - The most successful computer virus, ever. +
+ A computer without a Microsoft operating system is like a dog
without bricks tied to its head +
+ A Microsoft Certified Systems Engineer is to computing what a
McDonalds Certified Food Specialist is to fine cuisine +


----- Original Message ----
From: anil81kesh <anil81kesh@...>
To: ydn-javascript@yahoogroups.com
Sent: Friday, August 1, 2008 12:13:21 AM
Subject: [ydn-javascript] Re: YUI Editor Bug: Cursor goes to next line when bullet/numbering button selected

Just trying to make the issue little more clear. Following are the steps
1. I have YUI Editor implementation
2. Click on the 'Create an Ordered List' or 'Create an Unordered List'
button.
3. we notice that the dots/number appears in the next line and cursor
is misplaced (goes to further next line).


Please let us know, whether it is known issue. If it is known issue,
what is workaround.
Thanks in Advance.

-Anil


--- In ydn-javascript@yahoogroups.com, "anil81kesh" <anil81kesh@...>
wrote:
>
> This seems to be a bug in IE(6+). When we click on the 'Create an
> Ordered List' or 'Create an Unordered List' buttons, cursor goes to
> the next line and creates an empty line.
>



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ydn-javascript/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ydn-javascript/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:ydn-javascript-digest@yahoogroups.com
    mailto:ydn-javascript-fullfeatured@yahoogroups.com

<*> To unsubscribe from this group, send an email to:
    ydn-javascript-unsubscribe@yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/


#35382 From: "dietrich.frank" <fdietrich@...>
Date: Fri Aug 1, 2008 2:14 pm
Subject: Re: YUI and Firebug
dietrich.frank
Send Email Send Email
 
> I'm using it and prefer it for IE over the crappy free MS debugger. It
> doesn't matter which web server. VDWE starts its own web server
> locally, but you don't need to care about it. Actually there are not
> many hoops.
>
> After installing VDWE, create an empty web site-
> File->New website->Empty website
> Click on new create website, click on on the green arrow debugging
> button under Help. It will start its own asp.net web server and invoke
> a new IE window.
>
> Type in the IE window the url you want to debug. It will jump into the
> debugger interface if it encounters an error or debugger; js
instruction.
>

But, as we are used from MS now, the download and installation is
huuuuuge. FireBug was installed within a snap. VDWE calls for a 123MB
download and 1.4GB free Diskspace

#35383 From: Rodrigue Lagoue Njinthe <rlagoue@...>
Date: Fri Aug 1, 2008 2:57 pm
Subject: LayoutManager scrolling
rlagoue@...
Send Email Send Email
 

Hi,

 

is there a way to allow a part on the Layout Manager to have just the horizontal scroll, and NO vertical one?

 

thanks for any help


#35384 From: Dav Glass <dav.glass@...>
Date: Fri Aug 1, 2008 3:00 pm
Subject: Re: LayoutManager scrolling
dav.glass
Send Email Send Email
 
Rodrigue --

Currently there is no way out of the box..

You can however make sure that you are sizing the inner elements correctly to make sure that it doesn't scroll vertically..

Dav
 
Dav Glass
dav.glass@...
blog.davglass.com



+ Windows: n. - The most successful computer virus, ever. +
+ A computer without a Microsoft operating system is like a dog
without bricks tied to its head +
+ A Microsoft Certified Systems Engineer is to computing what a
McDonalds Certified Food Specialist is to fine cuisine +


----- Original Message ----
From: Rodrigue Lagoue Njinthe <rlagoue@...>
To: ydn-javascript@yahoogroups.com
Sent: Friday, August 1, 2008 7:57:47 AM
Subject: [ydn-javascript] LayoutManager scrolling

Hi,

 

is there a way to allow a part on the Layout Manager to have just the horizontal scroll, and NO vertical one?

 

thanks for any help


#35385 From: "ae3interactive" <ae3interactive@...>
Date: Fri Aug 1, 2008 3:22 pm
Subject: Control of Easing Effects
ae3interactive
Send Email Send Email
 
Hi,

Sorry, I'm sure this has been asked before in here, but I can't seem to find an
answer:

What's the easiest interface for control of Easing methods?
Is it simply to override the method in your code and set constant values for the
arguments, or
is there some way to pass values to the Easing method's constructor when
instantiating an
Anim?  For example, can I pass a value for "s" in the  list of attributes passed
to Anim?

I'd like to change the overshoot on backIn and the number of bounces on
bounceOut, but
can't seem to do it without overriding the methods, which seems inelegant.

Thanks for your help!

#35386 From: "y_lsmith" <lsmith@...>
Date: Fri Aug 1, 2008 3:41 pm
Subject: Re: replacement for getElementByID
y_lsmith
Send Email Send Email
 
--- In ydn-javascript@yahoogroups.com, "Nick Fox"
<nicolaspatrickfox@...> wrote:
>
>
> Is there a replacement in the library for getElementByID like in
> prototype.js. What library is it in if there is?
>
> var a = $('b'); // prototype.js
>
> for
>
> var a = document.getElementByID('b');
>
> thanks
> Nick
>

YAHOO.util.Dom.get('b');

It's common to create an alias to YAHOO.util.Dom, or even to Dom.get
to shave verbosity:

// wrap in anon function to avoid poluting the global namespace
(function () {

var Dom = YAHOO.util.Dom;

...
var b = Dom.get('b');
...

})();

Hope this helps,
Luke

#35387 From: "y_lsmith" <lsmith@...>
Date: Fri Aug 1, 2008 3:50 pm
Subject: Re: "draggableColumns:true" - causing errors
y_lsmith
Send Email Send Email
 
--- In ydn-javascript@yahoogroups.com, "soccerdudemulder"
<soccerdudemulder@...> wrote:
>
> That did the fix.  Why does this matter though?  Aren't those just
> files that get referenced when they are called from the script?
>
[snip]

Each file builds the library incrementally.  datatable-beta.js also
assumes that the YAHOO global is in place, for example.  yahoo-min.js
or yahoo-dom-event.js or utilities.js must therefore come before
datatable-beta.js

DataTable includes a class that extends YAHOO.util.DDProxy in
dragdrop.js to facilitate the column DnD.  That class must be known
before datatable-beta.js can extend it.

Luke

#35388 From: "Frank Dietrich" <fdietrich@...>
Date: Fri Aug 1, 2008 3:55 pm
Subject: Re: Control of Easing Effects
dietrich.frank
Send Email Send Email
 
>...I'd like to change the overshoot on backIn and the number of bounces on
>bounceOut, but
>can't seem to do it without overriding the methods, which seems inelegant.
>


You can define Your own easing methods. the Anim receives a parameter like
YAHOO.util.Easing.easeOut

But You could create Your own easing-object and pass this instead.
Download the YAHOO js files and have a look in the non "-min" versions.

You should be able to do

var ddTech = new Object();

ddTech.Easing ={
     easeInWithMyKindOfBounce: function(t, b, c, d) {
         return (t==0) ? b : c * Math.pow(.......
     },
     superEasyEasing: function(t, b, c, d) {
         return bla....
     }
};


then You should be able to call the Anim-instance with

easing: ddTech.easeWithMyKindOfBounce


HTH

Frank

#35389 From: "Frank Dietrich" <fdietrich@...>
Date: Fri Aug 1, 2008 3:58 pm
Subject: Re: Control of Easing Effects
dietrich.frank
Send Email Send Email
 
..... Dav Glass has a lot of easing samples on his page. I currently have no
Link at hand but You'll find it here easily


....... here it is:

http://blog.davglass.com/files/yui/effects

#35390 From: Rodrigue Lagoue Njinthe <rlagoue@...>
Date: Fri Aug 1, 2008 4:23 pm
Subject: RE: LayoutManager scrolling
rlagoue@...
Send Email Send Email
 

thanks Dav for the response

 

From: ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Dav Glass
Sent: Freitag, 1. August 2008 17:01
To: ydn-javascript@yahoogroups.com
Subject: Re: [ydn-javascript] LayoutManager scrolling

 

Rodrigue --

Currently there is no way out of the box..

You can however make sure that you are sizing the inner elements correctly to make sure that it doesn't scroll vertically..

Dav

 

Dav Glass
dav.glass@...
blog.davglass.com


+ Windows: n. - The most successful computer virus, ever. +
+ A computer without a Microsoft operating system is like a dog
without bricks tied to its head +
+ A Microsoft Certified Systems Engineer is to computing what a
McDonalds Certified Food Specialist is to fine cuisine +

 

 

----- Original Message ----
From: Rodrigue Lagoue Njinthe <rlagoue@...>
To: ydn-javascript@yahoogroups.com
Sent: Friday, August 1, 2008 7:57:47 AM
Subject: [ydn-javascript] LayoutManager scrolling

Hi,

 

is there a way to allow a part on the Layout Manager to have just the horizontal scroll, and NO vertical one?

 

thanks for any help


#35391 From: "myworld100us" <myworld100us@...>
Date: Fri Aug 1, 2008 5:07 pm
Subject: Datatable Reload CollumnSet - Help Required
myworld100us
Send Email Send Email
 
Any  Ideas ?


--- In ydn-javascript@yahoogroups.com, "myworld100us"
<myworld100us@...> wrote:
>
> Folks , first of all I use yahoo UI 2.4.1 . I dint have time to
> upgrade to the latest version , so I am not able to do this on the
> latest version .
>
> This is the issue I have . I know with 2.5.1 i can do with
> removeCollumn/insertCollumn
>
> Cabn anyone tell me how will i be able to reload the collumnSet of
> the datatble in 2.4.1. I have 4 sets of radio buttons and each
radio
> button has different collumns totally . So can anyone tell me how
> will i be able to reload the collumns .
>
> I am doing something like this
>
> I dont know how to set CollumnSet on the datatable , new Collumn Set
>
>
> myDatatable.sendRequest(
> 							 '',
>
>  myDatatable.onDataReturnInitializeTable,
>
>  myDatatable
> 					 );
>

#35392 From: "Kyle Decot" <owner@...>
Date: Fri Aug 1, 2008 5:25 pm
Subject: Refreshing json URL in Chart
affinity_ska...
Send Email Send Email
 
I have a chart that pulls in a json array. How do I update the url that is is
pulling from ?

#35393 From: "ae3interactive" <ae3interactive@...>
Date: Fri Aug 1, 2008 5:25 pm
Subject: Re: Control of Easing Effects
ae3interactive
Send Email Send Email
 
--- In ydn-javascript@yahoogroups.com, "Frank Dietrich" <fdietrich@...> wrote:
>
>
>
> ..... Dav Glass has a lot of easing samples on his page. I currently have no
Link at hand but
You'll find it here easily
>
>
> ....... here it is:
>
> http://blog.davglass.com/files/yui/effects
>
Thanks for both responses, they're exactly what I was looking for.

#35394 From: "tripp.bridges" <trippb@...>
Date: Fri Aug 1, 2008 5:52 pm
Subject: Re: Refreshing json URL in Chart
tripp.bridges
Send Email Send Email
 
Hi,
You can use the liveData property of the DataSource.

jsonData.liveData = [your new url];

Thanks,
Tripp

--- In ydn-javascript@yahoogroups.com, "Kyle Decot" <owner@...> wrote:
>
> I have a chart that pulls in a json array. How do I update the url
that is is pulling from ?
>

#35396 From: Eric Miraglia <miraglia@...>
Date: Fri Aug 1, 2008 7:12 pm
Subject: Re: Develop Rico using YUI
ericmiraglia
Send Email Send Email
 
Rahaman,

Have you looked at 


?

Regards,
Eric


On Aug 1, 2008, at 2:26 AM, Rahaman Sharif wrote:


Hi All,

I am a new user of yui.I am trying to use YUI to RICO. anybody know RICO.
refer this link http://demos.openrico.org/demos/accordion. i want like(animation menu) that using only YUI. how i do that anybody know. Please Help me.
 
Thanks
Rahamansharif


Did you know? You can CHAT without downloading messenger. Click here



#35397 From: Rodrigue Lagoue Njinthe <rlagoue@...>
Date: Fri Aug 1, 2008 7:14 pm
Subject: problem using Element.get
rlagoue@...
Send Email Send Email
 

hi!

 

i'm trying to get the value of an attribute using the method Element.get(key)   Here is the description of the method in the API

get

void get ( key )

Returns the current value of the attribute.

Parameters:

key <String> The attribute whose value will be returned.

Returns: void

 

how could it have "void" and return the attribute value?  Can anybody explain  it?

 

Thanks for any help


#35398 From: Eric Miraglia <miraglia@...>
Date: Fri Aug 1, 2008 7:14 pm
Subject: Re: Autocomplete "C is undefined"
ericmiraglia
Send Email Send Email
 
Slapyo,

What is the URL of the page where you're having the problem?

-Eric


On Jul 31, 2008, at 9:07 PM, slapyo wrote:

I built this trying to us the example given for the XHR JSON response.
But when I do I get the following error in Firefox every time I press
a key in the Autocomplete input.

Error: C is undefined
Source File:
http://yui.yahooapis.com/combo?2.5.2/build/utilities/utilities.js&2.5.2/build/autocomplete/autocomplete-min.js&2.5.2/build/container/container-min.js&2.5.2/build/menu/menu-min.js&2.5.2/build/button/button-min.js&2.5.2/build/calendar/calendar-min.js&2.5.2/build/datasource/datasource-beta-min.js&2.5.2/build/datatable/datatable-beta-min.js&2.5.2/buil d/json/json-min.js&2.5.2/build/tabview/tabview-min.js
Line: 47

You can see what my js include is above.

Here is my js:
this.acDS = new YAHOO.widget.DS_XHR("ac.php", ["ResultSet.Result",
"type", "id"]);
this.ac = new YAHOO.widget.AutoComplete("ac", "acContainer", this.acDS);
this.ac.animVert = true;
this.ac.animHoriz = true;
this.ac.forceSelection = true;

var acSubmit = function(type, args) {
var dataArray = args[2];
var id = dataArray[1];
YAHOO.util.Get("id").value = id;
};

this.ac.itemSelectEvent.subscribe(acSubmit);



#35399 From: "Frank Dietrich" <fdietrich@...>
Date: Fri Aug 1, 2008 7:43 pm
Subject: Re: Re: Image Not Loading - Overlay
dietrich.frank
Send Email Send Email
 
Raja,

sorry. Had no time to look into this yet... Already 10pm here

*********** REPLY SEPARATOR  ***********

On 31.07.08 at 22:49 Raja wrote:

>Hi,
>
>this is what I have tried :
>
>theOverlay.setBody(companyName + "<img id='quoteChart'
>src='http://app.quotemedia.com/quotetools/getChart.go?webmasterId=91664&chtype=\
AreaChart&"
>
>+"symbol=YHOO&chmrg=3&chwid=160&chhig=130&chbg=ffffff&chln=104E8B&chgrd=CAE1FF&\
chxyc=000000&chton=off'
>border='1' hspace='3'><br>" + chartNav);
> theOverlay.setFooter(generateFooter(symbol));
> theOverlay.render(document.body);
> theOverlay.symbolCell.addClass('hoversymbol_active');
> theOverlay.align();
> theOverlay.show();
>
>Thank You,
>Raja
>
>--- In ydn-javascript@yahoogroups.com, "Frank Dietrich"
><fdietrich@...> wrote:
>>
>>
>> Raja, hi,
>>
>> >the same image wont load on my overlay. Could this be an image loading
>> >issue, the image is rendered dynamically on mouseover over some cells
>> >in my Table. The image is not loaded when the window load occurs.
>>
>> Did You try to split the URL as I did in my code?
>>
>> As You can see, I also dynamically write the code to the overlay when
>> I move over it. Maybe You can compare What You do to what I did in my
>> sample.
>>
>
>
>
>------------------------------------
>
>Yahoo! Groups Links
>
>
>

#35400 From: "Frank Dietrich" <fdietrich@...>
Date: Fri Aug 1, 2008 7:45 pm
Subject: Re: Re: Control of Easing Effects
dietrich.frank
Send Email Send Email
 
>Thanks for both responses, they're exactly what I was looking for.
>

perfect!

Messages 35370 - 35400 of 52481   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help