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: 12954
  • 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 1848 - 1877 of 52481   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#1848 From: "ghn_woodworker" <wood-worker@...>
Date: Thu Jun 1, 2006 7:56 am
Subject: Re: reset.css and calendar
ghn_woodworker
Send Email Send Email
 
--- In ydn-javascript@yahoogroups.com, "ahundiak" <zhundiak@...> wrote:
>
> Add the line
> <link rel="stylesheet" href="../../../build/reset/reset.css"
> type="text/css">
> To
> example/calendar/default/index.html
> And refresh
>
> The calendar style breaks.  Among other things the Month Year title is
> no longer centered.  The 2up is even worse.
>
> I'd like to add calendars to grid pages but reset.css seems to prevent
> this.
>
> Can anyone else confirm this is a bug?  Or am I doing something wrong
> again.
>

i have this problem also, any results at the moment?
its really bad

#1849 From: Simon Willison <swillison@...>
Date: Thu Jun 1, 2006 8:35 am
Subject: Re: can't make 2 animations on same obj at once?
simonwillison
Send Email Send Email
 
On 1 Jun 2006, at 03:16, Patrick Sullivan wrote:

> I am trying to increase opacity and fontsize at the same time.
> Either one works by itself (opacity or fontSize) but I cannot get
> both to work simultaneously. This seems kind of strange, because we
> eventually did get a div to animate 3 attributes at once (width,
> height, opacity) a few days ago.
>
> var myanim = new YAHOO.util.Anim('sample', {fontSize: {from: 0, to:
> 40}}, {opacity: {from: 0, to: 1}});

This should work:

var myanim = new YAHOO.util.Anim('sample', {
    fontSize: {from: 0, to: 40},
    opacity: {from: 0, to: 1}
});

Cheers,

Simon

#1850 From: "franck_342" <franck@...>
Date: Thu Jun 1, 2006 9:00 am
Subject: Re: Cheat Sheets for YUI Utilities v0.10
franck_342
Send Email Send Email
 
>
> 2) Currently, we're only distributing these resources in English.
> If  you'd like to contribute translated version(s) here, please post
> a reply to this message and I'll contact you offlist.
>
> Regards,
> Eric
>

Hi Eric, i'm ready to translate them in french.

Regards,
Franck

#1851 From: Grzegorz Bugaj <gregbugaj@...>
Date: Thu Jun 1, 2006 1:11 pm
Subject: Re: Re: Cheat Sheets for YUI Utilities v0.10
gregbugaj
Send Email Send Email
 
Hi,
I can translate them into Polish(Polski).
Grzegorz Bugaj

franck_342 <franck@...> wrote:
>
> 2) Currently, we're only distributing these resources in English. 
> If  you'd like to contribute translated version(s) here, please post
> a reply to this message and I'll contact you offlist.
>
> Regards,
> Eric
>

Hi Eric, i'm ready to translate them in french.

Regards,
Franck






Regards
Greg Bugaj

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com


#1852 From: "Patrick Sullivan" <psully99@...>
Date: Thu Jun 1, 2006 1:34 pm
Subject: Re: can't make 2 animations on same obj at once?
yggdrasil34
Send Email Send Email
 
Wow, that works! So I just had too many curly braces, huh? Well, the code looks
better without all those, too. Thank you, Simon.

I feel dumb.

Patrick Sullivan, AA-BA, BA-IT

#1853 From: "Peter Michaux" <petermichaux@...>
Date: Thu Jun 1, 2006 1:54 pm
Subject: Re: Dragdrop perfomance
petermichaux
Send Email Send Email
 
>  The boolean isTarget can be set to false, then the DD instance is not a
>  target.

Thanks for the info. I'll try this. So when I am dragging the libary
only looks for interactions with possible targets? That would be nice
and efficient like I was trying for with the groups games I was
playing.

>  I think that the pattern used by the YAHOO DragDrop library might be
>  slightly flawed.
>
>  To me, there should be a difference between a draggable object, and a
>  target object.
>
>  The drag events (onDragEnter, onDrag, onDragDrop and onDragOut)  should
>  be delivered to the draggable (as now), *and* the target. The target
>  should get to decide what kind of action needs to be taken. The
>  draggable probably doesn't know enough to actually implement any of
>  these handlers. The *target* would do drop position highlighting, change
>  the cursor type to indicate whether drop is possible, and handle the
>  drop event creating a new object, and HTMLElement of it's own choosing.
>
>  I have implemented this pattern on top of the current library in my
>  DDTreeView/Draggable implementation, but I think that should be the
>  pattern the library uses.

I agree it seems a little strange but I don't think it is a disaster.
In my onDragEnter, onDragOut etc methods I have some "hey you" calls
to get the target to pay attention. Things like

Draggable.prototype.onDragEnter = function(e, id) {
   YAHOO.util.getDDById(id).heyYou();
   //..do other stuff
};

If the onDragEnter was delivered to the both the draggable and the
target then which one will fire first? It might be better the way it
is so that we can know the order things happen. I'm curious how you
did implement it however.

For you draggabble tree, did you make it so that items in an
individual node can be reordered or just that items can be moved from
node to node. I am looking at sortable lists too and will have to do
something different than the Yahoo! example. I don't want the
individual items to be targets. I want the node to be the target since
the node's HTMLelement might be much bigger than the few elements
inside.

Peter

#1854 From: "Dave" <me@...>
Date: Thu Jun 1, 2006 2:07 pm
Subject: Re: Panel modal:true in IE giving me a "number expected" error!
daveklawitter
Send Email Send Email
 
Steve, thanks for the input but it seems as though modal:true is still
causing a "Number expected" js error for me even after making the
change to the panel divs as you suggested.  The panel displays as
expected in both browsers however the page is not graying out in IE
and I'm recieving the javascript error.

--- In ydn-javascript@yahoogroups.com, "Steven Peterson"
<peterson@...> wrote:
>
> Dave,
>
>
>
> Your markup is not formatted correctly. In order to render your Panel
> properly, you need to make sure that your existing markup is in Standard
> Module Format, which looks like this:
>
>
>
> <div id="myModule">
>
>   <div class="hd"></div>
>
>   <div class="bd"></div>
>
>   <div class="ft"></div>
>
> </div>
>
>
>
> Your markup, which appears to only have a body (with no header/footer),
> would look like this:
>
>
>
> <div id="processingPopup" style="border-top:1px solid #e7dfe7;
> border-right:1px solid #736d63; border-bottom:1px solid #736d63;
> border-left:1px solid #e7dfe7; visibility: hidden;">
>     <div style="border-top:1px solid #ffffff; border-right:1px solid
> #9c9ea5; border-bottom:1px solid #9c9ea5; border-left:1px solid
#ffffff;"
> class="bd">
>         <div style="padding:35px 15px 35px 15px; line-height:1.4;
> background:#ffffff; text-align:center;">
>            PROCESSING...<br/>
>            please wait
>         </div>
>     </div>
> </div>
>
>
>
> Notice that I added a CSS class to the inner body of your container
so that
> the Panel widget would know how your markup is structured. I would also
> recommend that you move those inline styles to CSS. You can use the CSS
> classes that are predefined for you in container.css and modify them to
> match your own custom styles.
>
>
>
> Steven Peterson
>
> Web Developer, Platform Engineering
>
> Yahoo!
>
> From: ydn-javascript@yahoogroups.com
[mailto:ydn-javascript@yahoogroups.com]
> On Behalf Of Dave
> Sent: Wednesday, May 31, 2006 1:48 PM
> To: ydn-javascript@yahoogroups.com
> Subject: [ydn-javascript] Panel modal:true in IE giving me a "number
> expected" error!
>
>
>
> Hello,
>
> I've got a popup panel working fine in FireFox but in IE I get a
> javascript error when setting modal:true which tells me that a number
> is expected... does this make any sense?  It sure doesn't to me.
>
> var myPanel;
>
>     function initProcessingPopup() {
>         myPanel = new YAHOO.widget.Panel("processingPopup", {
>             width:"400px",
>             fixedcenter:true,
>             close:false,
>             visible:false,
>             draggable:false,
>             modal:true} );
>         myPanel.render(document.body);
>     }
>
>     initProcessingPopup();
>
>
>
> <div id="processingPopup" style="border-top:1px solid #e7dfe7;
> border-right:1px solid #736d63; border-bottom:1px solid #736d63;
> border-left:1px solid #e7dfe7; visibility: hidden;">
>     <div style="border-top:1px solid #ffffff; border-right:1px solid
> #9c9ea5; border-bottom:1px solid #9c9ea5; border-left:1px solid
#ffffff;">
>         <div style="padding:35px 15px 35px 15px; line-height:1.4;
> background:#ffffff; text-align:center;">
>            PROCESSING...<br/>
>            please wait
>         </div>
>     </div>
> </div>
>
>
> Obviously in use is the default css and js files included in the Yahoo
> package.  Any help would be MUCH appreciated.
>
>
>
>
>
>
> SPONSORED LINKS
>
>
> C
>
<http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=C+programming
>
+language&w2=Computer+programming+languages&w3=Java+programming+language&w4=
>
The+c+programming+language&w5=C+++programming+language&w6=Concept+of+program
> ming+language&c=6&s=194&.sig=lC1PxfzvANy_Br-nPkXYTA>  programming
language
>
> Computer
>
<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=C+pro
>
gramming+language&w2=Computer+programming+languages&w3=Java+programming+lang
>
uage&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of
> +programming+language&c=6&s=194&.sig=7XFXh-0Mon1IfLuOVlwvdg>
programming
> languages
>
> Java
>
<http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=C+programm
>
ing+language&w2=Computer+programming+languages&w3=Java+programming+language&
>
w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of+prog
> ramming+language&c=6&s=194&.sig=UITodqn0qTCUcae_mpRQog>  programming
> language
>
>
> The
>
<http://groups.yahoo.com/gads?t=ms&k=The+c+programming+language&w1=C+program
>
ming+language&w2=Computer+programming+languages&w3=Java+programming+language
>
&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of+pro
> gramming+language&c=6&s=194&.sig=xnZC2-BzDSLhhir3MLtssg>  c programming
> language
>
> C
>
<http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=C+programmi
>
ng+language&w2=Computer+programming+languages&w3=Java+programming+language&w
>
4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of+progr
> amming+language&c=6&s=194&.sig=RTzTl3BOJWbWK14CdUrO0w>  programming
language
>
>
> Concept
>
<http://groups.yahoo.com/gads?t=ms&k=Concept+of+programming+language&w1=C+pr
>
ogramming+language&w2=Computer+programming+languages&w3=Java+programming+lan
>
guage&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+o
> f+programming+language&c=6&s=194&.sig=x4ueM0tA417JDq3ckdJ9CQ>  of
> programming language
>
>
>
>   _____
>
> YAHOO! GROUPS LINKS
>
>
>
> *  Visit your group "ydn-javascript
> <http://groups.yahoo.com/group/ydn-javascript> " on the web.
>
> *  To unsubscribe from this group, send an email to:
>  ydn-javascript-unsubscribe@yahoogroups.com
> <mailto:ydn-javascript-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>
> *  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> .
>
>
>
>   _____
>

#1855 From: "chris_k_becker" <cbecker@...>
Date: Thu Jun 1, 2006 2:22 pm
Subject: Tree view control - task list - posting results
chris_k_becker
Send Email Send Email
 
Hi all;
I am exploring the use of the TreeView control to allow users to make
selections from a hierarchical structure, and post the choices back to
the server for database update. The Task List approach in the online
examples served as my starting point for development.

I wish to have user's choices rendered as an array of request
parameters, to be sent via a POST in a form back to the server. Could
someone point me in the right direction as to how to achieve this?

Any help would be greatly appreciated - thanks!

Regards,

--Chris

#1856 From: "Troy Wolf" <troy@...>
Date: Thu Jun 1, 2006 2:24 pm
Subject: Calling connection object from child window problem
wolf8769
Send Email Send Email
 
I have a javascript object with a function (method) that uses the
connection object. The app opens a child window that uses the TinyMCE
rich-text editor. When the user saves the content they were editing,
the child window returns with just enough code to fire the parent
window's LoadPhotoDetails function and close itself using
self.close(); The line I use to fire the parent's function is this:

window.opener.SiteAlbum.LoadPhotoDetails();

"SiteAlbum" being the name of the existing javascript object created
in the parent.

The child window is successfully firing the parent's function. I can
insert debugging alert() statements to see the values of variables and
such---everything looks good to me. However, when the connection
object is fired, it returns immediately with a failure status of 0.
Using an alert() statement, I have tested the URL value I'm sending
the connection object--it is good and does return promptly and
successfully.  Of course calling this same function within the parent
itself works fine as expected. Ideas?

Here is the parent's LoadPhotoDetails() function:

...
LoadPhotoDetails : function() {
     // Clean out current values to load new data.
     this.adata[this.aimgs[this.curID]] = new Array();
     this.adata[this.aimgs[this.curID]]['caption'] = "";
     this.adata[this.aimgs[this.curID]]['filesize'] = "";
     this.adata[this.aimgs[this.curID]]['dimensions'] = "";
     this.adata[this.aimgs[this.curID]]['timestamp'] = "";

     var url =
"/SiteAlbum/index.php?a="+this.path+"&m=details&i="+this.curID;
     var callback =
     {
         success: this.AJAXsuccess,
         failure: this.AJAXfailure,
         argument: new Array("LoadPhotoDetails"),
         scope: this
     }
     var cObj = YAHOO.util.Connect.asyncRequest('GET',url,callback,null);
}, ...

#1857 From: Nige White <nigelw@...>
Date: Thu Jun 1, 2006 2:36 pm
Subject: Re: Dragdrop perfomance
exguardianre...
Send Email Send Email
 
Peter Michaux wrote:

>> The boolean isTarget can be set to false, then the DD instance is not a
>> target.
>>
>>
>
>Thanks for the info. I'll try this. So when I am dragging the libary
>only looks for interactions with possible targets? That would be nice
>and efficient like I was trying for with the groups games I was
>playing.
>
>
>
>> I think that the pattern used by the YAHOO DragDrop library might be
>> slightly flawed.
>>
>> To me, there should be a difference between a draggable object, and a
>> target object.
>>
>> The drag events (onDragEnter, onDrag, onDragDrop and onDragOut)  should
>> be delivered to the draggable (as now), *and* the target. The target
>> should get to decide what kind of action needs to be taken. The
>> draggable probably doesn't know enough to actually implement any of
>> these handlers. The *target* would do drop position highlighting, change
>> the cursor type to indicate whether drop is possible, and handle the
>> drop event creating a new object, and HTMLElement of it's own choosing.
>>
>> I have implemented this pattern on top of the current library in my
>> DDTreeView/Draggable implementation, but I think that should be the
>> pattern the library uses.
>>
>>
>
>I agree it seems a little strange but I don't think it is a disaster.
>In my onDragEnter, onDragOut etc methods I have some "hey you" calls
>to get the target to pay attention. Things like
>
>Draggable.prototype.onDragEnter = function(e, id) {
>  YAHOO.util.getDDById(id).heyYou();
>  //..do other stuff
>};
>
>If the onDragEnter was delivered to the both the draggable and the
>target then which one will fire first? It might be better the way it
>is so that we can know the order things happen. I'm curious how you
>did implement it however.
>
>For you draggabble tree, did you make it so that items in an
>individual node can be reordered or just that items can be moved from
>node to node. I am looking at sortable lists too and will have to do
>something different than the Yahoo! example. I don't want the
>individual items to be targets. I want the node to be the target since
>the node's HTMLelement might be much bigger than the few elements
>inside.
>
I do it in a similar way. In my example at
https://secure0.forward-comp.co.uk/yui/examples/treeview/fcl.html

I implement onDragEnter, onDrag, onDragDrop and onDragOut in my
DDTreeView. When I construct the DDTarget for this, I override those
methods in the DDTarget to call the corresponding events in the scope of
the DDTreeView, so it's as if the DDTreeView *is* the target:

//        Make the tree droppable on. Extend this DDTreeView object to
look like a DDTarget.
         this.ddTarget =  new YAHOO.util.DDTarget(this.id, "menuTree");
         var _this = this;
         this.ddTarget.onDragEnter = function()
         {
             _this.onDragEnter.apply(_this, arguments);
         };
         this.ddTarget.onDragOver = function()
         {
             _this.onDragOver.apply(_this, arguments);
         };
         this.ddTarget.onDragDrop = function()
         {
             return _this.onDragDrop.apply(_this, arguments);
         };
         this.ddTarget.onDragOut = function()
         {
             _this.onDragOut.apply(_this, arguments);
         };

It's a bit like my idea of being able to register any object as a
DDTarget (as long as they implement these methods).

The Draggable object (an extension of DDProxy) delivers the event, and
itself to the target (the DDTreeView) on each of these events:

/**
     This informs the recipient that it has been dropped upon.
     @return The object created as a result of the drop. It will be null
if the target does not accept
     the drop.
*/
     Draggable.prototype.onDragDrop = function(e, id)
     {
         this.target = ((typeof id == "string") ?
YAHOO.util.DragDropMgr.getDDById(id) : id[0]);
         return this.target.onDragDrop(e, this);
     };


Nige

_____________________________________________________________________
This message has been checked for all known viruses. Virus scanning
powered by Messagelabs http://www.messagelabs.com For more information
e-mail : hostmaster@...

#1858 From: "franck_342" <franck@...>
Date: Thu Jun 1, 2006 2:46 pm
Subject: YUI: opensource project or not ?
franck_342
Send Email Send Email
 
YUI is great. Really.

YUI Forum is on Yahoo!
YUI project is on sourceforge.
YUI Request Feature on sourceforge (new features are only made by the
Yahoo! team ??)
YUI Bug track is on sourceforge (bugfixes are only made by the Yahoo!
team ??).
YUI source code, with cvs/svn, not available, just an end user zip file.

By example, i'd like to speak about/add a new feature or fix a bug, can
i do it ? how ?

Is there any coding standard and where can i download last developement
tree ?

Which features will be added ? users features and/or only Yahoo
features ?

So finally ... YUI is a full opensource project or not ?

(it's just a question, perhaps i'm asking it to early ?)

Best regards,
Franck

#1859 From: Nige White <nigelw@...>
Date: Thu Jun 1, 2006 2:47 pm
Subject: Re: Tree view control - task list - posting results
exguardianre...
Send Email Send Email
 
chris_k_becker wrote:

>Hi all;
>I am exploring the use of the TreeView control to allow users to make
>selections from a hierarchical structure, and post the choices back to
>the server for database update. The Task List approach in the online
>examples served as my starting point for development.
>
>I wish to have user's choices rendered as an array of request
>parameters, to be sent via a POST in a form back to the server. Could
>someone point me in the right direction as to how to achieve this?
>
>Any help would be greatly appreciated - thanks!
>
I trap the submit event, and send an XML version of the tree:

             YAHOO.util.Event.addListener("mainForm", "submit", function(e)
             {
                 var c = YAHOO.util.Connect.asyncRequest("POST", "<%=
request.getContextPath()%>/MenuBuilder.jsp?updateUserUuid=<%=userUuid%>",
                 {
                     success:updateDone,
                     failure:updateNotDone,
                     scope:c
                 }, tree.toXML());
                 YAHOO.util.Event.preventDefault(e);
             });


     DDTreeView.prototype.toXML = function(url)
     {
         return fcl.util.objectToXml(this.getData());
     };

     DDTreeView.prototype.getData = function()
     {
         var result = this.data || {};
         var r = this.getRoot();
         var c = [];
         result[result.length]= c;
         for (var i = 0; i < r.children.length; i++)
         {
             c.push({node:this.getNodeData(r.children[i])});
         }
         return {tree:result};
     };

     DDTreeView.prototype.getNodeData = function(node)
     {
         var result = (typeof node.data == "object") ? node.data : {};
         result.description = node.label;
         if (node.children && node.children.length)
         {
             var c = [];
             result[result.length] = c;
             for (var i = 0; i < node.children.length; i++)
             {
                 c.push({node:this.getNodeData(node.children[i])});
             }
         }
         return result;
     };



fcl.util.objectToXml = function(o, name)
{
     var result = "";
     var body = "";
     if (name)
         result = "<" + name;
     for (var prop in o)
     {
         if (o[prop].constructor == Array)
         {
             var a = o[prop];
             if (a.length)
             {
                 for (var i = 0; i < a.length; i++)
                 {
                     if (prop != "undefined")
                         body += fcl.util.objectToXml(a[i], prop);
                     else
                         body += fcl.util.objectToXml(a[i]);
                 }
             }
             else
             {
                 if (prop && (prop != "undefined"))
                     body += "<" + prop + "/>";
             }
         }
         else if (typeof o[prop] == "object")
         {
             body += fcl.util.objectToXml(o[prop], prop);
         }
         else
         {
             if (name)
                 result += " " + prop + "=\"" + o[prop] + "\"";
             else
                 body += "<" + prop + " value=\"" + o[prop] + "\"/>";
         }
     }
     if (name)
     {
         if (body.length)
             return result + ">" + body + "</" + name + ">";
         else
             return result + "/>";
     }
     else
         return body;
};

_____________________________________________________________________
This message has been checked for all known viruses. Virus scanning
powered by Messagelabs http://www.messagelabs.com For more information
e-mail : hostmaster@...

#1860 From: "Dave" <me@...>
Date: Thu Jun 1, 2006 3:01 pm
Subject: SOLVED!
daveklawitter
Send Email Send Email
 
Strangely enough modal:true was not working in IE because of a style
set on the body... margin: 0 auto 0 auto;

I changed it to margin-top: 0; and margin-bottom: 0; and everything is
working fine now!  Phew that took quite some time to figure that one out.

--- In ydn-javascript@yahoogroups.com, "Dave" <me@...> wrote:
>
> Hello,
>
> I've got a popup panel working fine in FireFox but in IE I get a
> javascript error when setting modal:true which tells me that a number
> is expected... does this make any sense?  It sure doesn't to me.
>
> var myPanel;
>
>     function initProcessingPopup() {
>         myPanel = new YAHOO.widget.Panel("processingPopup", {
>             width:"400px",
>             fixedcenter:true,
>             close:false,
>             visible:false,
>             draggable:false,
>             modal:true} );
>         myPanel.render(document.body);
>     }
>
>     initProcessingPopup();
>
>
>
> <div id="processingPopup" style="border-top:1px solid #e7dfe7;
> border-right:1px solid #736d63; border-bottom:1px solid #736d63;
> border-left:1px solid #e7dfe7; visibility: hidden;">
>     <div style="border-top:1px solid #ffffff; border-right:1px solid
> #9c9ea5; border-bottom:1px solid #9c9ea5; border-left:1px solid
#ffffff;">
>         <div style="padding:35px 15px 35px 15px; line-height:1.4;
> background:#ffffff; text-align:center;">
>            PROCESSING...<br/>
>            please wait
>         </div>
>     </div>
> </div>
>
>
> Obviously in use is the default css and js files included in the Yahoo
> package.  Any help would be MUCH appreciated.
>

#1861 From: "franck_342" <franck@...>
Date: Thu Jun 1, 2006 3:02 pm
Subject: Re: irc channel for this group ?
franck_342
Send Email Send Email
 
--- In ydn-javascript@yahoogroups.com, "franck_342" <franck@...> wrote:
>
> is there an existing IRC channel for this group ?
>
> Regards,
> Franck
> eAccelerator administrator
>

Yes it seem's.

#yui on freenode

nobody on, but just a question of time :)

great

Franck

#1862 From: "Matt Warden" <mwarden@...>
Date: Thu Jun 1, 2006 3:28 pm
Subject: Re: YUI: opensource project or not ?
mwarden@...
Send Email Send Email
 
On 6/1/06, franck_342 <franck@...> wrote:
> By example, i'd like to speak about/add a new feature or fix a bug, can
> i do it ? how ?

Add a patch or include the patch in a feature request / bug report.

> So finally ... YUI is a full opensource project or not ?

What makes you question whether it's an open source project or not?
Just because there's no svn access?

--
Matt Warden
Oxford, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.

#1863 From: "kansalneha28" <kansalneha28@...>
Date: Thu Jun 1, 2006 3:32 pm
Subject: Re: Connection Manager responseSuccess() Function called over and over!
kansalneha28
Send Email Send Email
 
Hi Thomas

Where do I figure out the version number from? I dont see a file that
gives the version no.

Which xml document should I post, the ajax response xml document?

Please clarify, thanks for the help.

Neha.

--- In ydn-javascript@yahoogroups.com, "Thomas S. Sha" <tsha@...> wrote:
>
> --- In ydn-javascript@yahoogroups.com, "kansalneha28"
> <kansalneha28@> wrote:
> >
> > Hi
> >
> > I have a javascript function that looks something like the code I have
> > pasted below. The problem is that when I call this function in an
> > event, for eg: "onClick", the responseSuccess() gets called over and
> > over again in an infinite loop. I am not able to figure out why, in
> > fact I am using similar code else where and it works perfectly. Do any
> > of you know what could be happening???
> >
> > Is it something in the function that might be causing it? Or could it
> > be the location in the Html DOM from where this function is called, as
> > far as I can see, the location of the function call in the DOM is the
> > only difference between the working and the non-working case.
> >
> > Any help would be appreciated. Thanks.
> >
> Can you confirm you're using version 0.10.0 of the library?  If so,
> can you please post the XML document as well, and I'll test from here.
>
> Regards,
> Thomas
>

#1864 From: "Matthew" <matthew_gisonno@...>
Date: Thu Jun 1, 2006 3:44 pm
Subject: Autocomplete submits form with [enter] or mouse click
m_a_t_t_h_3_w
Send Email Send Email
 
Hey everyone,

I'd like to leverage this new technology on our website, but am having
a bit of trouble getting it to function the way I'd like.  Any
suggestions or help would be great.  I have gotten the actual Auto
complete widget to work, but I'd like to have it submit my form when
someone either clicks the result from the popup, or presses the
[enter] key on the keyboard.

I have been able to do this by setting an onblur in the input field,
but this only works with mouse click.  As well, it only submits what
the user typed, not what the auto complete stuck in there.

I've tried adding a timeout before the form submit in hopes that it
was just submitting too fast.  If anyone has any insight, I'd be most
grateful.

Thanks in advance to anyone and everyone.

#1865 From: "franck_342" <franck@...>
Date: Thu Jun 1, 2006 3:54 pm
Subject: Re: YUI: opensource project or not ?
franck_342
Send Email Send Email
 
> On 6/1/06, franck_342 <franck@...> wrote:
> > By example, i'd like to speak about/add a new feature or fix a bug,
> > can i do it ? how ?
>
> Add a patch or include the patch in a feature request / bug report.
Ok thanks for the answer.

> > So finally ... YUI is a full opensource project or not ?
>
> What makes you question whether it's an open source project or not?
> Just because there's no svn access?
I said "FULL opensource or not". YUI is opensource yes, i've got the
source code.

Be able to get the source code is a thing (for sure, the more important
thing). Organizing tools and developements to be able to easily manage
new features and bugfixes made by contributors (so not from Yahoo!
team) is another thing.

In a second time, when a (real and new) bug is discovered in current
downloadable version, today, i can't download the last "snapshot" to
test if the behavior is the same or not, before browsing existing bugs
and perhaps open a new one.

Btw, please take what i'm saying easy, it's not a negative criticism.
It's already great to have YUI opensource like that, and i can use it
like that .. Professionnal ajax/javascript frameworks often cost a
lot ..


Best regards, Franck

#1866 From: "Troy Wolf" <troy@...>
Date: Thu Jun 1, 2006 3:45 pm
Subject: Re: Calling connection object from child window problem
wolf8769
Send Email Send Email
 
Here is some additional information that I'm sure helps point to the
root issue. HOWEVER, I don't know what that is still.

I "fixed" my problem by placing a hidden button on the parent window.
I have the child window use
document.getElementById('hiddenbutton').click() to click the button
which has an onclick event of "SiteAlbum.LoadPhotoDetails()".

Now why this works but directly calling the function does not....I
don't know. Like I said, though, I'm sure it's a glaring clue.

#1867 From: "chris_k_becker" <cbecker@...>
Date: Thu Jun 1, 2006 4:08 pm
Subject: Re: Tree view control - task list - posting results
chris_k_becker
Send Email Send Email
 
Nige;

Thanks for the response. A couple of quick followup questions, if I
may:
1) Does the code you provided reside in the body of the page
containing the form?
2) If not, could you show how the page containing the form submit
would invoke the listener?

I know this is a bit OT, but would appreciate the feedback... thanks
again for the reply

Regards,

--Chris




--- In ydn-javascript@yahoogroups.com, Nige White <nigelw@...> wrote:
>
> chris_k_becker wrote:
>
> >Hi all;
> >I am exploring the use of the TreeView control to allow users to
make
> >selections from a hierarchical structure, and post the choices
back to
> >the server for database update. The Task List approach in the
online
> >examples served as my starting point for development.
> >
> >I wish to have user's choices rendered as an array of request
> >parameters, to be sent via a POST in a form back to the server.
Could
> >someone point me in the right direction as to how to achieve this?
> >
> >Any help would be greatly appreciated - thanks!
> >
> I trap the submit event, and send an XML version of the tree:
>
>             YAHOO.util.Event.addListener("mainForm", "submit",
function(e)
>             {
>                 var c = YAHOO.util.Connect.asyncRequest("POST", "<%
=
> request.getContextPath()%>/MenuBuilder.jsp?updateUserUuid=<%
=userUuid%>",
>                 {
>                     success:updateDone,
>                     failure:updateNotDone,
>                     scope:c
>                 }, tree.toXML());
>                 YAHOO.util.Event.preventDefault(e);
>             });
>
>
>     DDTreeView.prototype.toXML = function(url)
>     {
>         return fcl.util.objectToXml(this.getData());
>     };
>
>     DDTreeView.prototype.getData = function()
>     {
>         var result = this.data || {};
>         var r = this.getRoot();
>         var c = [];
>         result[result.length]= c;
>         for (var i = 0; i < r.children.length; i++)
>         {
>             c.push({node:this.getNodeData(r.children[i])});
>         }
>         return {tree:result};
>     };
>
>     DDTreeView.prototype.getNodeData = function(node)
>     {
>         var result = (typeof node.data == "object") ? node.data :
{};
>         result.description = node.label;
>         if (node.children && node.children.length)
>         {
>             var c = [];
>             result[result.length] = c;
>             for (var i = 0; i < node.children.length; i++)
>             {
>                 c.push({node:this.getNodeData(node.children[i])});
>             }
>         }
>         return result;
>     };
>
>
>
> fcl.util.objectToXml = function(o, name)
> {
>     var result = "";
>     var body = "";
>     if (name)
>         result = "<" + name;
>     for (var prop in o)
>     {
>         if (o[prop].constructor == Array)
>         {
>             var a = o[prop];
>             if (a.length)
>             {
>                 for (var i = 0; i < a.length; i++)
>                 {
>                     if (prop != "undefined")
>                         body += fcl.util.objectToXml(a[i], prop);
>                     else
>                         body += fcl.util.objectToXml(a[i]);
>                 }
>             }
>             else
>             {
>                 if (prop && (prop != "undefined"))
>                     body += "<" + prop + "/>";
>             }
>         }
>         else if (typeof o[prop] == "object")
>         {
>             body += fcl.util.objectToXml(o[prop], prop);
>         }
>         else
>         {
>             if (name)
>                 result += " " + prop + "=\"" + o[prop] + "\"";
>             else
>                 body += "<" + prop + " value=\"" + o[prop] + "\"/>";
>         }
>     }
>     if (name)
>     {
>         if (body.length)
>             return result + ">" + body + "</" + name + ">";
>         else
>             return result + "/>";
>     }
>     else
>         return body;
> };
>
>
_____________________________________________________________________
> This message has been checked for all known viruses. Virus scanning
> powered by Messagelabs http://www.messagelabs.com For more
information
> e-mail : hostmaster@...
>

#1868 From: Nige White <nigelw@...>
Date: Thu Jun 1, 2006 4:16 pm
Subject: Re: Re: Tree view control - task list - posting results
exguardianre...
Send Email Send Email
 
chris_k_becker wrote:

>Nige;
>
>Thanks for the response. A couple of quick followup questions, if I
>may:
>1) Does the code you provided reside in the body of the page
>containing the form?
>2) If not, could you show how the page containing the form submit
>would invoke the listener?
>
>I know this is a bit OT, but would appreciate the feedback... thanks
>again for the reply
>
You don't invoke the listener. It's attached to the submit event for the
form whose id is "mainForm":

YAHOO.util.Event.addListener("mainForm", "submit",
function(){alert("submitting"}});



_____________________________________________________________________
This message has been checked for all known viruses. Virus scanning
powered by Messagelabs http://www.messagelabs.com For more information
e-mail : hostmaster@...

#1869 From: "Thomas S. Sha" <tsha@...>
Date: Thu Jun 1, 2006 4:11 pm
Subject: Re: Connection Manager responseSuccess() Function called over and over!
tssha
Send Email Send Email
 
--- In ydn-javascript@yahoogroups.com, "kansalneha28"
<kansalneha28@...> wrote:
>
> Hi Thomas
>
> Where do I figure out the version number from? I dont see a file that
> gives the version no.
>
> Which xml document should I post, the ajax response xml document?
>
> Please clarify, thanks for the help.
>
> Neha.

If you downloaded YUI from SourceForge, that is version 0.10.0.  The
previous version(0.9.0) was available on our developer site:
developer.yahoo.com/yui.  Version 0.9.0 had a bug that resulted in an
infinite callback loop.

Yes, please post the response XML, and I'll try to see if I can
replicate the problem, if upgrading doesn't solve it.

Regards,
Thomas

#1870 From: "mrprogguy" <mrprogguy@...>
Date: Thu Jun 1, 2006 4:28 pm
Subject: Re: setting Calendar's minDate after render
mrprogguy
Send Email Send Email
 
I'm having the same problem.  Rendering the calendar doesn't make
prior dates unselectable while I'm using the calendar, despite the
documentation.

--- In ydn-javascript@yahoogroups.com, "Steven Peterson"
<peterson@...> wrote:
>
> Raph,
>
>
>
> I'm able to successfully do this by rendering a calendar, and
simply using:
>
>
>
> myCal.minDate = new Date();
>
> myCal.render();
>
>
>
> Can you provide more details on your problem, like a code example?
>
>
>
> Thanks!
>
>
>
> Steven Peterson
>
> Web Developer, Platform Engineering
>
> Yahoo!
>
>   _____
>
> From: ydn-javascript@yahoogroups.com [mailto:ydn-
javascript@yahoogroups.com]
> On Behalf Of Raphael Bauduin
> Sent: Wednesday, May 17, 2006 7:03 AM
> To: ydn-javascript@yahoogroups.com
> Subject: [ydn-javascript] setting Calendar's minDate after render
>
>
>
> Hi,
>
> I'm trying to set a minDate of a calender after it has been
rendered.
> How can I force the calendar to be rerendered?
>
> All examples I found set the miDate before the call to render, and
it
> works fine in that case. I tried to call render after modifying the
> minDate of an already rendered calendar, but it doesn't seem to do
> anything (onRender wasn't fired).
>
> Thanks in advance.
>
> Raph
>
>
>
> SPONSORED LINKS
>
>
> C
> <http://groups.yahoo.com/gads?
t=ms&k=C+programming+language&w1=C+programming
>
+language&w2=Computer+programming+languages&w3=Java+programming+langua
ge&w4=
>
The+c+programming+language&w5=C+++programming+language&w6=Concept+of+p
rogram
> ming+language&c=6&s=194&.sig=lC1PxfzvANy_Br-nPkXYTA>  programming
language
>
> Computer
> <http://groups.yahoo.com/gads?
t=ms&k=Computer+programming+languages&w1=C+pro
>
gramming+language&w2=Computer+programming+languages&w3=Java+programmin
g+lang
>
uage&w4=The+c+programming+language&w5=C+++programming+language&w6=Conc
ept+of
> +programming+language&c=6&s=194&.sig=7XFXh-0Mon1IfLuOVlwvdg>
programming
> languages
>
> Java
> <http://groups.yahoo.com/gads?
t=ms&k=Java+programming+language&w1=C+programm
>
ing+language&w2=Computer+programming+languages&w3=Java+programming+lan
guage&
>
w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+o
f+prog
> ramming+language&c=6&s=194&.sig=UITodqn0qTCUcae_mpRQog>  programming
> language
>
>
> The
> <http://groups.yahoo.com/gads?
t=ms&k=The+c+programming+language&w1=C+program
>
ming+language&w2=Computer+programming+languages&w3=Java+programming+la
nguage
>
&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+
of+pro
> gramming+language&c=6&s=194&.sig=xnZC2-BzDSLhhir3MLtssg>  c
programming
> language
>
> C
> <http://groups.yahoo.com/gads?
t=ms&k=C+++programming+language&w1=C+programmi
>
ng+language&w2=Computer+programming+languages&w3=Java+programming+lang
uage&w
>
4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of
+progr
> amming+language&c=6&s=194&.sig=RTzTl3BOJWbWK14CdUrO0w>  programming
language
>
>
> Concept
> <http://groups.yahoo.com/gads?
t=ms&k=Concept+of+programming+language&w1=C+pr
>
ogramming+language&w2=Computer+programming+languages&w3=Java+programmi
ng+lan
>
guage&w4=The+c+programming+language&w5=C+++programming+language&w6=Con
cept+o
> f+programming+language&c=6&s=194&.sig=x4ueM0tA417JDq3ckdJ9CQ>  of
> programming language
>
>
>
>   _____
>
> YAHOO! GROUPS LINKS
>
>
>
> *  Visit your group "ydn-javascript
> <http://groups.yahoo.com/group/ydn-javascript> " on the web.
>
> *  To unsubscribe from this group, send an email to:
>  ydn-javascript-unsubscribe@yahoogroups.com
> <mailto:ydn-javascript-unsubscribe@yahoogroups.com?
subject=Unsubscribe>
>
> *  Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/>  Terms of Service.
>
>
>
>   _____
>

#1871 From: "mrprogguy" <mrprogguy@...>
Date: Thu Jun 1, 2006 4:46 pm
Subject: Re: 2-Up Calendars questions.
mrprogguy
Send Email Send Email
 
Glad I read back...this solved the issue I was having.

--- In ydn-javascript@yahoogroups.com, "Steven Peterson"
<peterson@...> wrote:
>
>
>
> 1. You can change the pages on the Calendar2up programmatically
by
> calling nextMonth() and previousMonth() against your Calendar2up
instance.
> You can attach a JavaScript event listener to your link using the
Event
> utility to call these next/previous month functions.
> 2. Changing the viewport months can be achieved by calling
setMonth on
> your Calendar2up. Changing the selected date is as easy as calling
the
> select function with your date(s).
> 3. To change the min/max days on a 2up Calendar, you would set
them
> programmatically against each Calendar in the 2up group. For
instance:
>
>
>
> myCal.pages[0].minDate = new Date(2006,3,22);
>
> myCal.pages[1].minDate = new Date(2006,3,22);
>
>
>
> myCal.pages[0].maxDate = new Date(2006,3,29);
>
> myCal.pages[1].maxDate = new Date(2006,3,29);
>
>
>
>             Note that in JavaScript Date objects, the month is 0-
indexed, so
> 0 is January, 1 is February, etc.
>
>
>
> Hopefully this will get your started! If you have any more
questions, please
> don't hesitate to ask.
>
>
>
> Thanks!
>
> Steven Peterson
>
> Web Developer, Platform Engineering
>
> Yahoo!
>
>   _____
>
> From: ydn-javascript@yahoogroups.com [mailto:ydn-
javascript@yahoogroups.com]
> On Behalf Of adm832001
> Sent: Tuesday, May 16, 2006 8:20 AM
> To: ydn-javascript@yahoogroups.com
> Subject: [ydn-javascript] 2-Up Calendars questions.
>
>
>
> Hello there!
>
> We have some questions about the 2-Up Calendar.
>
> We've been developing to the 2-up calendar, and we've run into a
> situation where we would like to accomplish, on page updates to the
> state of the calendar.  Our calendars accept only one selected date
at
> a time.
>
> Picture links in the page with associated javascript functions that
> perform these updates.  These updates are of the following types:
>
> 1. Change the calendar's viewport months (the months shown) via
> external link.  (i.e. calendar shows 'June/July', click link, now
> calendar shows 'February/March'.)
>
> 2. Change the calendar's viewport months (like 1 above) plus change
> the selected date to a specific date.  (i.e. calendar shows
> 'June/July' and July 3rd is selected, click link, now calendar shows
> 'February/March' and Feb 14th is selected.)
>
> 3. Change the calendar's viewport months (like 1 and 2 above) plus
> change the selected date to a specific date (like 2 above) plus
change
> the min/max dates.  (i.e. calendar shows 'June/July' and July 3rd is
> selected and min date is June 2nd, max date is July 15th, click
link,
> now calendar shows 'February/March' and Feb 14th is selected and min
> date is Feb 7th, max date is March 22nd.)
>
> Could you show an example code bit(s) that would perform the above
tasks?
>
> Thank you!
>
>
>
>
>
>
> SPONSORED LINKS
>
>
> C
> <http://groups.yahoo.com/gads?
t=ms&k=C+programming+language&w1=C+programming
>
+language&w2=Computer+programming+languages&w3=Java+programming+langua
ge&w4=
>
The+c+programming+language&w5=C+++programming+language&w6=Concept+of+p
rogram
> ming+language&c=6&s=194&.sig=lC1PxfzvANy_Br-nPkXYTA>  programming
language
>
> Computer
> <http://groups.yahoo.com/gads?
t=ms&k=Computer+programming+languages&w1=C+pro
>
gramming+language&w2=Computer+programming+languages&w3=Java+programmin
g+lang
>
uage&w4=The+c+programming+language&w5=C+++programming+language&w6=Conc
ept+of
> +programming+language&c=6&s=194&.sig=7XFXh-0Mon1IfLuOVlwvdg>
programming
> languages
>
> Java
> <http://groups.yahoo.com/gads?
t=ms&k=Java+programming+language&w1=C+programm
>
ing+language&w2=Computer+programming+languages&w3=Java+programming+lan
guage&
>
w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+o
f+prog
> ramming+language&c=6&s=194&.sig=UITodqn0qTCUcae_mpRQog>  programming
> language
>
>
> The
> <http://groups.yahoo.com/gads?
t=ms&k=The+c+programming+language&w1=C+program
>
ming+language&w2=Computer+programming+languages&w3=Java+programming+la
nguage
>
&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+
of+pro
> gramming+language&c=6&s=194&.sig=xnZC2-BzDSLhhir3MLtssg>  c
programming
> language
>
> C
> <http://groups.yahoo.com/gads?
t=ms&k=C+++programming+language&w1=C+programmi
>
ng+language&w2=Computer+programming+languages&w3=Java+programming+lang
uage&w
>
4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of
+progr
> amming+language&c=6&s=194&.sig=RTzTl3BOJWbWK14CdUrO0w>  programming
language
>
>
> Concept
> <http://groups.yahoo.com/gads?
t=ms&k=Concept+of+programming+language&w1=C+pr
>
ogramming+language&w2=Computer+programming+languages&w3=Java+programmi
ng+lan
>
guage&w4=The+c+programming+language&w5=C+++programming+language&w6=Con
cept+o
> f+programming+language&c=6&s=194&.sig=x4ueM0tA417JDq3ckdJ9CQ>  of
> programming language
>
>
>
>   _____
>
> YAHOO! GROUPS LINKS
>
>
>
> *  Visit your group "ydn-javascript
> <http://groups.yahoo.com/group/ydn-javascript> " on the web.
>
> *  To unsubscribe from this group, send an email to:
>  ydn-javascript-unsubscribe@yahoogroups.com
> <mailto:ydn-javascript-unsubscribe@yahoogroups.com?
subject=Unsubscribe>
>
> *  Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/>  Terms of Service.
>
>
>
>   _____
>

#1872 From: "kansalneha28" <kansalneha28@...>
Date: Thu Jun 1, 2006 4:56 pm
Subject: Re: Connection Manager responseSuccess() Function called over and over!
kansalneha28
Send Email Send Email
 
Oh okay, I downloaded it from yahoo developer site, I will upgrade the
version and see if that solves the issue. I will let you know, thanks.

Neha.

--- In ydn-javascript@yahoogroups.com, "Thomas S. Sha" <tsha@...> wrote:
>
> --- In ydn-javascript@yahoogroups.com, "kansalneha28"
> <kansalneha28@> wrote:
> >
> > Hi Thomas
> >
> > Where do I figure out the version number from? I dont see a file that
> > gives the version no.
> >
> > Which xml document should I post, the ajax response xml document?
> >
> > Please clarify, thanks for the help.
> >
> > Neha.
>
> If you downloaded YUI from SourceForge, that is version 0.10.0.  The
> previous version(0.9.0) was available on our developer site:
> developer.yahoo.com/yui.  Version 0.9.0 had a bug that resulted in an
> infinite callback loop.
>
> Yes, please post the response XML, and I'll try to see if I can
> replicate the problem, if upgrading doesn't solve it.
>
> Regards,
> Thomas
>

#1873 From: "Sandy McArthur" <sandymac@...>
Date: Thu Jun 1, 2006 4:50 pm
Subject: Panel with out predefined html markup
sandymacjr
Send Email Send Email
 
Does someone have an example of a Panel that works without the div in the html
before you
try to create a new panel?

http://developer.yahoo.com/yui/container/panel/#html says: "In most cases, you
won't place
a Panel's content on the page prior to creating the panel; setting content
dynamically is the
most common use case."

and yet I have yet to see an example of this and I cannot get this behavior to
work on some
test pages.

(To: Yahoo: Also, the "myPanel.setHead(" a little down from that quote should be
"myPanel.setHeader(".)

#1874 From: "Sandy McArthur" <sandymac@...>
Date: Thu Jun 1, 2006 5:55 pm
Subject: Re: Panel with out predefined html markup
sandymacjr
Send Email Send Email
 
--- In ydn-javascript@yahoogroups.com, "Sandy McArthur" <sandymac@...> wrote:
>
> Does someone have an example of a Panel that works without the div in the html
before
you
> try to create a new panel?
>
> http://developer.yahoo.com/yui/container/panel/#html says: "In most cases, you
won't
place
> a Panel's content on the page prior to creating the panel; setting content
dynamically is the
> most common use case."
>
> and yet I have yet to see an example of this and I cannot get this behavior to
work on some
> test pages.

Figured out my own problem thanks to the SimpleDialog Example and then reading
the
render docs. The call to render() for the dialog requires a element if the html
markup doesn't
already exist. eg:
....render(document.body)

#1875 From: "Steven Peterson" <peterson@...>
Date: Thu Jun 1, 2006 6:35 pm
Subject: RE: SOLVED!
y_stevenp
Send Email Send Email
 

Glad to hear that you got it working. J Thanks for the feedback!

 

Steven Peterson

Web Developer, Platform Engineering

Yahoo!

From: ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Dave
Sent: Thursday, June 01, 2006 8:02 AM
To: ydn-javascript@yahoogroups.com
Subject: [ydn-javascript] SOLVED!

 

Strangely enough modal:true was not working in IE because of a style
set on the body... margin: 0 auto 0 auto;

I changed it to margin-top: 0; and margin-bottom: 0; and everything is
working fine now!  Phew that took quite some time to figure that one out.

--- In ydn-javascript@yahoogroups.com, "Dave" <me@...> wrote:
>
> Hello,
>
> I've got a popup panel working fine in FireFox but in IE I get a
> javascript error when setting modal:true which tells me that a number
> is expected... does this make any sense?  It sure doesn't to me.
>
> var myPanel;
>
>     function initProcessingPopup() {
>         myPanel = new YAHOO.widget.Panel("processingPopup", {
>             width:"400px",
>             fixedcenter:true,
>             close:false,
>             visible:false,
>             draggable:false,
>             modal:true} );
>         myPanel.render(document.body);
>     }
>
>     initProcessingPopup();
>
>
>
> <div id="processingPopup" style="border-top:1px solid #e7dfe7;
> border-right:1px solid #736d63; border-bottom:1px solid #736d63;
> border-left:1px solid #e7dfe7; visibility: hidden;">
>     <div style="border-top:1px solid #ffffff; border-right:1px solid
> #9c9ea5; border-bottom:1px solid #9c9ea5; border-left:1px solid
#ffffff;">
>         <div style="padding:35px 15px 35px 15px; line-height:1.4;
> background:#ffffff; text-align:center;">
>            PROCESSING...<br/>
>            please wait
>         </div>
>     </div>
> </div>
>
>
> Obviously in use is the default css and js files included in the Yahoo
> package.  Any help would be MUCH appreciated.
>






SPONSORED LINKS

C programming language

Computer programming languages

Java programming language

The c programming language

C programming language

Concept of programming language

 


YAHOO! GROUPS LINKS

 

 



#1876 From: "Steven Peterson" <peterson@...>
Date: Thu Jun 1, 2006 6:34 pm
Subject: RE: Re: Panel modal:true in IE giving me a "number expected" error!
y_stevenp
Send Email Send Email
 

Dave,

 

Can you please point me to a full code sample?

 

Thanks!

 

Steven Peterson

Web Developer, Platform Engineering

Yahoo!

From: ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] On Behalf Of Dave
Sent: Thursday, June 01, 2006 7:08 AM
To: ydn-javascript@yahoogroups.com
Subject: [ydn-javascript] Re: Panel modal:true in IE giving me a "number expected" error!

 

Steve, thanks for the input but it seems as though modal:true is still
causing a "Number expected" js error for me even after making the
change to the panel divs as you suggested.  The panel displays as
expected in both browsers however the page is not graying out in IE
and I'm recieving the javascript error.

--- In ydn-javascript@yahoogroups.com, "Steven Peterson"
<peterson@...> wrote:
>
> Dave,
>

>
> Your markup is not formatted correctly. In order to render your Panel
> properly, you need to make sure that your existing markup is in Standard
> Module Format, which looks like this:
>

>
> <div id="myModule">
>
>   <div class="hd"></div>
>
>   <div class="bd"></div>
>
>   <div class="ft"></div>
>
> </div>
>

>
> Your markup, which appears to only have a body (with no header/footer),
> would look like this:
>

>
> <div id="processingPopup" style="border-top:1px solid #e7dfe7;
> border-right:1px solid #736d63; border-bottom:1px solid #736d63;
> border-left:1px solid #e7dfe7; visibility: hidden;">
>     <div style="border-top:1px solid #ffffff; border-right:1px solid
> #9c9ea5; border-bottom:1px solid #9c9ea5; border-left:1px solid
#ffffff;"
> class="bd">
>         <div style="padding:35px 15px 35px 15px; line-height:1.4;
> background:#ffffff; text-align:center;">
>            PROCESSING...<br/>
>            please wait
>         </div>
>     </div>
> </div>
>
>
>
> Notice that I added a CSS class to the inner body of your container
so that
> the Panel widget would know how your markup is structured. I would also
> recommend that you move those inline styles to CSS. You can use the CSS
> classes that are predefined for you in container.css and modify them to
> match your own custom styles.
>

>
> Steven Peterson
>
> Web Developer, Platform Engineering
>
> Yahoo!
>
> From: ydn-javascript@yahoogroups.com
[mailto:ydn-javascript@yahoogroups.com]
> On Behalf Of Dave
> Sent: Wednesday, May 31, 2006 1:48 PM
> To: ydn-javascript@yahoogroups.com
> Subject: [ydn-javascript] Panel modal:true in IE giving me a "number
> expected" error!
>

>
> Hello,
>
> I've got a popup panel working fine in FireFox but in IE I get a
> javascript error when setting modal:true which tells me that a number
> is expected... does this make any sense?  It sure doesn't to me.
>
> var myPanel;
>
>     function initProcessingPopup() {
>         myPanel = new YAHOO.widget.Panel("processingPopup", {
>             width:"400px",
>             fixedcenter:true,
>             close:false,
>             visible:false,
>             draggable:false,
>             modal:true} );
>         myPanel.render(document.body);
>     }
>
>     initProcessingPopup();
>
>
>
> <div id="processingPopup" style="border-top:1px solid #e7dfe7;
> border-right:1px solid #736d63; border-bottom:1px solid #736d63;
> border-left:1px solid #e7dfe7; visibility: hidden;">
>     <div style="border-top:1px solid #ffffff; border-right:1px solid
> #9c9ea5; border-bottom:1px solid #9c9ea5; border-left:1px solid
#ffffff;">
>         <div style="padding:35px 15px 35px 15px; line-height:1.4;
> background:#ffffff; text-align:center;">
>            PROCESSING...<br/>
>            please wait
>         </div>
>     </div>
> </div>
>
>
> Obviously in use is the default css and js files included in the Yahoo
> package.  Any help would be MUCH appreciated.
>
>
>
>
>
>
> SPONSORED LINKS
>
>
> C
>
<http://groups.yahoo.com/gads?t=ms&k=C+programming+language&w1=C+programming
>
+language&w2=Computer+programming+languages&w3=Java+programming+language&w4=
>
The+c+programming+language&w5=C+++programming+language&w6=Concept+of+program
> ming+language&c=6&s=194&.sig=lC1PxfzvANy_Br-nPkXYTA>  programming
language
>
> Computer
>
<http://groups.yahoo.com/gads?t=ms&k=Computer+programming+languages&w1=C+pro
>
gramming+language&w2=Computer+programming+languages&w3=Java+programming+lang
>
uage&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of
> +programming+language&c=6&s=194&.sig=7XFXh-0Mon1IfLuOVlwvdg>
programming
> languages
>
> Java
>
<http://groups.yahoo.com/gads?t=ms&k=Java+programming+language&w1=C+programm
>
ing+language&w2=Computer+programming+languages&w3=Java+programming+language&
>
w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of+prog
> ramming+language&c=6&s=194&.sig=UITodqn0qTCUcae_mpRQog>  programming
> language
>
>
> The
>
<http://groups.yahoo.com/gads?t=ms&k=The+c+programming+language&w1=C+program
>
ming+language&w2=Computer+programming+languages&w3=Java+programming+language
>
&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of+pro
> gramming+language&c=6&s=194&.sig=xnZC2-BzDSLhhir3MLtssg>  c programming
> language
>
> C
>
<http://groups.yahoo.com/gads?t=ms&k=C+++programming+language&w1=C+programmi
>
ng+language&w2=Computer+programming+languages&w3=Java+programming+language&w
>
4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of+progr
> amming+language&c=6&s=194&.sig=RTzTl3BOJWbWK14CdUrO0w>  programming
language
>
>
> Concept
>
<http://groups.yahoo.com/gads?t=ms&k=Concept+of+programming+language&w1=C+pr
>
ogramming+language&w2=Computer+programming+languages&w3=Java+programming+lan
>
guage&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+o
> f+programming+language&c=6&s=194&.sig=x4ueM0tA417JDq3ckdJ9CQ>  of
> programming language
>

>
>   _____ 
>
> YAHOO! GROUPS LINKS
>

>
> *      Visit your group "ydn-javascript
> <http://groups.yahoo.com/group/ydn-javascript> " on the web.
>  
> *      To unsubscribe from this group, send an email to:
ydn-javascript-unsubscribe@yahoogroups.com
> <mailto:ydn-javascript-unsubscribe@yahoogroups.com?subject=Unsubscribe>
>  
> *      Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service
> <http://docs.yahoo.com/info/terms/> .
>

>
>   _____
>






SPONSORED LINKS

C programming language

Computer programming languages

Java programming language

The c programming language

C programming language

Concept of programming language

 


YAHOO! GROUPS LINKS

 

 



#1877 From: "Steven Peterson" <peterson@...>
Date: Thu Jun 1, 2006 6:40 pm
Subject: RE: Re: setting Calendar's minDate after render
y_stevenp
Send Email Send Email
 

Again, I am unable to duplicate this  issue. Can you post a code sample so that I can reproduce it?

 

Thanks!

 

Steven Peterson

Web Developer, Platform Engineering

Yahoo!

From: ydn-javascript@yahoogroups.com [mailto:ydn-javascript@yahoogroups.com] On Behalf Of mrprogguy
Sent: Thursday, June 01, 2006 9:29 AM
To: ydn-javascript@yahoogroups.com
Subject: [ydn-javascript] Re: setting Calendar's minDate after render

 

I'm having the same problem.  Rendering the calendar doesn't make
prior dates unselectable while I'm using the calendar, despite the
documentation.

--- In ydn-javascript@yahoogroups.com, "Steven Peterson"
<peterson@...> wrote:
>
> Raph,
>

>
> I'm able to successfully do this by rendering a calendar, and
simply using:
>

>
> myCal.minDate = new Date();
>
> myCal.render();
>

>
> Can you provide more details on your problem, like a code example?
>

>
> Thanks!
>

>
> Steven Peterson
>
> Web Developer, Platform Engineering
>
> Yahoo!
>
>   _____ 
>
> From: ydn-javascript@yahoogroups.com [mailto:ydn-
javascript@yahoogroups.com]
> On Behalf Of Raphael Bauduin
> Sent: Wednesday, May 17, 2006 7:03 AM
> To: ydn-javascript@yahoogroups.com
> Subject: [ydn-javascript] setting Calendar's minDate after render
>

>
> Hi,
>
> I'm trying to set a minDate of a calender after it has been
rendered.
> How can I force the calendar to be rerendered?
>
> All examples I found set the miDate before the call to render, and
it
> works fine in that case. I tried to call render after modifying the
> minDate of an already rendered calendar, but it doesn't seem to do
> anything (onRender wasn't fired).
>
> Thanks in advance.
>
> Raph
>
>
>
> SPONSORED LINKS
>
>
> C
> <http://groups.yahoo.com/gads?
t=ms&k=C+programming+language&w1=C+programming
>
+language&w2=Computer+programming+languages&w3=Java+programming+langua
ge&w4=
>
The+c+programming+language&w5=C+++programming+language&w6=Concept+of+p
rogram
> ming+language&c=6&s=194&.sig=lC1PxfzvANy_Br-nPkXYTA>  programming
language
>
> Computer
> <http://groups.yahoo.com/gads?
t=ms&k=Computer+programming+languages&w1=C+pro
>
gramming+language&w2=Computer+programming+languages&w3=Java+programmin
g+lang
>
uage&w4=The+c+programming+language&w5=C+++programming+language&w6=Conc
ept+of
> +programming+language&c=6&s=194&.sig=7XFXh-0Mon1IfLuOVlwvdg> 
programming
> languages
>
> Java
> <http://groups.yahoo.com/gads?
t=ms&k=Java+programming+language&w1=C+programm
>
ing+language&w2=Computer+programming+languages&w3=Java+programming+lan
guage&
>
w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+o
f+prog
> ramming+language&c=6&s=194&.sig=UITodqn0qTCUcae_mpRQog>  programming
> language
>
>
> The
> <http://groups.yahoo.com/gads?
t=ms&k=The+c+programming+language&w1=C+program
>
ming+language&w2=Computer+programming+languages&w3=Java+programming+la
nguage
>
&w4=The+c+programming+language&w5=C+++programming+language&w6=Concept+
of+pro
> gramming+language&c=6&s=194&.sig=xnZC2-BzDSLhhir3MLtssg>  c
programming
> language
>
> C
> <http://groups.yahoo.com/gads?
t=ms&k=C+++programming+language&w1=C+programmi
>
ng+language&w2=Computer+programming+languages&w3=Java+programming+lang
uage&w
>
4=The+c+programming+language&w5=C+++programming+language&w6=Concept+of
+progr
> amming+language&c=6&s=194&.sig=RTzTl3BOJWbWK14CdUrO0w>  programming
language
>
>
> Concept
> <http://groups.yahoo.com/gads?
t=ms&k=Concept+of+programming+language&w1=C+pr
>
ogramming+language&w2=Computer+programming+languages&w3=Java+programmi
ng+lan
>
guage&w4=The+c+programming+language&w5=C+++programming+language&w6=Con
cept+o
> f+programming+language&c=6&s=194&.sig=x4ueM0tA417JDq3ckdJ9CQ>  of
> programming language
>

>
>   _____ 
>
> YAHOO! GROUPS LINKS
>

>
> *      Visit your group "ydn-javascript
> <http://groups.yahoo.com/group/ydn-javascript> " on the web.
>  
> *      To unsubscribe from this group, send an email to:
ydn-javascript-unsubscribe@yahoogroups.com
> <mailto:ydn-javascript-unsubscribe@yahoogroups.com?
subject=Unsubscribe
>
>  
> *      Your use of Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/>  Terms of Service.
>

>
>   _____
>






SPONSORED LINKS

C programming language

Computer programming languages

Java programming language

The c programming language

C programming language

Concept of programming language

 


YAHOO! GROUPS LINKS

 

 



Messages 1848 - 1877 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