You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(17) |
Nov
(47) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(44) |
Feb
(8) |
Mar
|
Apr
(26) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2003 |
Jan
|
Feb
(1) |
Mar
(44) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2005 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(13) |
Sep
(2) |
Oct
|
Nov
|
Dec
|
From: Richard B. <ric...@us...> - 2001-11-04 21:33:43
|
Update of /cvsroot/dynapi/dynapi/tests In directory usw-pr-cvs1:/tmp/cvs-serv24213 Modified Files: link_and_form_events_NS4.html Log Message: updated the test to reflect further testing Index: link_and_form_events_NS4.html =================================================================== RCS file: /cvsroot/dynapi/dynapi/tests/link_and_form_events_NS4.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** link_and_form_events_NS4.html 2001/10/25 16:25:43 1.1 --- link_and_form_events_NS4.html 2001/11/04 21:33:41 1.2 *************** *** 68,84 **** <br />A keyevent has been added to the DynAPI.document, and an onclick event to the DynLayer for testing. <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> ! <b>Discrepancies: (tested on win2000)</b> <br /><br />IE: <br />The DynAPI onclick event is caught by all form elements on the DynLayer. <br />The DynAPI onkeyup event is caught at all times. <br />The textbox' change event is caught when changing focus to another element. ! <br /><br />NS4: <br />The DynAPI onclick event is <b>only caught by the hyperlink, and the DynLayer</b>. <br />The DynAPI onkeyup <b>event is not caught when a form element has the focus</b>. <br />The textbox' change event is caught when changing focus to another element. ! <br /><br />Mozilla (NS6): <br />The DynAPI onclick event is caught by all form elements on the DynLayer. <br />The DynAPI onkeyup event is caught at all times. <br />The textbox' change event is caught <b>on each keyup</b>. <br /> </font> --- 68,93 ---- <br />A keyevent has been added to the DynAPI.document, and an onclick event to the DynLayer for testing. <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> ! <b>Discrepancies: (tested on win2000/Linux)</b> <br /><br />IE: <br />The DynAPI onclick event is caught by all form elements on the DynLayer. <br />The DynAPI onkeyup event is caught at all times. <br />The textbox' change event is caught when changing focus to another element. ! <br /><br />NS4/Win: <br />The DynAPI onclick event is <b>only caught by the hyperlink, and the DynLayer</b>. <br />The DynAPI onkeyup <b>event is not caught when a form element has the focus</b>. <br />The textbox' change event is caught when changing focus to another element. ! <br /><br />Mozilla (NS6)/Win: <br />The DynAPI onclick event is caught by all form elements on the DynLayer. <br />The DynAPI onkeyup event is caught at all times. <br />The textbox' change event is caught <b>on each keyup</b>. + <br /> + <br /><br />NS4/Linux: + <br />onclick is caught by the hyperlink only. + <br />change is called with each key + <br />onkeyup is called two times with each key - one before and one after the change-event + <br /><br />Mozilla/Linux: + <br />The DynAPI onclick event is caught by all form elements on the DynLayer. + <br />The DynAPI onkeyup event and the textbox' change event couldn't be tested,</b> + as the textbox lost focus due too the "in myWindow.onclick" alert. <br /> </font> |
From: Richard B. <ric...@us...> - 2001-11-04 21:12:02
|
Update of /cvsroot/dynapi/dynapi/tests In directory usw-pr-cvs1:/tmp/cvs-serv19154 Modified Files: cancel_navigation.html Log Message: updated the test to reflect further testing Index: cancel_navigation.html =================================================================== RCS file: /cvsroot/dynapi/dynapi/tests/cancel_navigation.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** cancel_navigation.html 2001/11/02 01:09:37 1.1 --- cancel_navigation.html 2001/11/04 21:11:59 1.2 *************** *** 30,33 **** --- 30,45 ---- The others should show an alert, and then go to www.cnn.com<br /> <a href="http://www.cnn.com" onclick="alert('hi');return false;">Return false</a><br /><a href="http://www.cnn.com" onclick="alert('hi');return true;">Return true</a> + <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> + <b>Update: 4/nov/2001 :</b> Test results (Only tested in win2000/Linux so far) : + <br /><br /> + <li>IE5.5/Win <br /> + Links in the body show alert, and "true" navigates to CNN.<br /> + Links in dynlayer show alert, and "true" navigates to CNN, except after dragging dynlayer by the link.</li><br /><br /> + <li>Mozilla/NS6/Win/Linux <br /> + Links in the body show alert, and "true" navigates to CNN.<br /> + Links in dynlayer show alert, and "true" navigates to CNN, ALSO after dragging dynlayer by the link.</li><br /><br /> + <li>NS4/Win/Linux <br /> + Links in the body show alert, and "true" navigates to CNN.<br /> + Links in dynlayer nothing, and don't navigate at all.</li> </body> </html> |
From: Richard B. <ric...@us...> - 2001-11-04 20:43:11
|
Update of /cvsroot/dynapi/dynapi/tests In directory usw-pr-cvs1:/tmp/cvs-serv11533 Modified Files: z_index_bug.html Log Message: updated the test to reflect succesfull changes in CVS Index: z_index_bug.html =================================================================== RCS file: /cvsroot/dynapi/dynapi/tests/z_index_bug.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** z_index_bug.html 2001/11/02 02:35:20 1.1 --- z_index_bug.html 2001/11/04 20:43:09 1.2 *************** *** 66,69 **** --- 66,86 ---- In the first pair, blue is set to 50, and red is not set at all.<br /> Currently NS4 does not work correctly. + <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> + <b>Update 2/Nov/2001 :</b> + This issue should now be resolved, thanks to this CVS entry for dynlayer.js: + <pre> + ---------------------------- + Revision : 1.69 + Date : 2001/11/2 15:39:40 + Author : 'mattfair' + State : 'Exp' + Lines : +2 -2 + Description : + took out the if(this.z) test when setting the this.css.zIndex variable, this screwed + up the zIndex for NS4 + + ---------------------------- + </pre> + </body> </html> |
From: Matt F. <mat...@us...> - 2001-11-02 15:39:43
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api In directory usw-pr-cvs1:/tmp/cvs-serv6027 Modified Files: dynlayer.js Log Message: took out the if(this.z) test when setting the this.css.zIndex variable, this screwed up the zIndex for NS4 Index: dynlayer.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dynlayer.js,v retrieving revision 1.68 retrieving revision 1.69 diff -C2 -r1.68 -r1.69 *** dynlayer.js 2001/10/14 18:28:55 1.68 --- dynlayer.js 2001/11/02 15:39:40 1.69 *************** *** 67,71 **** if (this.bgImage!=null) this.setBgImage(this.bgImage); if (this.clip) this.setClip(this.clip); ! if (this.z) this.css.zIndex=this.z; this.css.visibility=this.visible? "inherit" : "hide"; for (var i=0;i<this.doc.images.length;i++) this.doc.images[i].lyrobj=this; --- 67,71 ---- if (this.bgImage!=null) this.setBgImage(this.bgImage); if (this.clip) this.setClip(this.clip); ! this.css.zIndex=this.z; this.css.visibility=this.visible? "inherit" : "hide"; for (var i=0;i<this.doc.images.length;i++) this.doc.images[i].lyrobj=this; *************** *** 418,420 **** else return [0,this.w,this.h,0]; } ! }; \ No newline at end of file --- 418,420 ---- else return [0,this.w,this.h,0]; } ! }; |
From: Richard B. <ric...@us...> - 2001-11-02 02:35:24
|
Update of /cvsroot/dynapi/dynapi/tests In directory usw-pr-cvs1:/tmp/cvs-serv23475 Added Files: z_index_bug.html Log Message: testfile for z-index bug, see bug # 456245 --- NEW FILE --- <html> <head> <title>Untitled</title> <Script language="Javascript" src="../src/dynapi.js"></script> <Script language="Javascript"> <!-- DynAPI.setLibraryPath('../src/lib/') DynAPI.include('dynapi.api.browser.js') DynAPI.include('dynapi.api.dynlayer.js') DynAPI.include('dynapi.api.dyndocument.js') //--> </script> <script> DynAPI.onLoad = function() { layer01 = new DynLayer(); layer01.setSize(50, 50); layer01.moveTo(50, 150); layer01.setZIndex(2); layer01.setBgColor('#0099ff'); DynAPI.document.addChild(layer01); layer02 = new DynLayer(); layer02.setSize(50, 50); layer02.moveTo(70, 170); layer02.setZIndex(1); layer02.setBgColor('#cc0066'); DynAPI.document.addChild(layer02); layer03 = new DynLayer(); layer03.setSize(50, 50); layer03.moveTo(150, 150); layer03.setZIndex(1); layer03.setBgColor('#0099ff'); DynAPI.document.addChild(layer03); layer04 = new DynLayer(); layer04.setSize(50, 50); layer04.moveTo(170, 170); layer04.setZIndex(0); layer04.setBgColor('#cc0066'); DynAPI.document.addChild(layer04); layer05 = new DynLayer(); layer05.setSize(50, 50); layer05.moveTo(250, 150); layer05.setZIndex(50); layer05.setBgColor('#0099ff'); DynAPI.document.addChild(layer05); layer06 = new DynLayer(); layer06.setSize(50, 50); layer06.moveTo(270, 170); layer06.setBgColor('#cc0066'); DynAPI.document.addChild(layer06); } </script> </head> <body> <b>Issue:</b> It seems NS4 and NS6 might have problems assigning z-index to layers properly.<br /> In this test the blue layer is created first, but it's z-index is set later, so it should show above the red one.<br /> In the first pair, blue is set to 2, and red to 1.<br /> In the second pair, blue is set to 1, and red to 0.<br /> In the first pair, blue is set to 50, and red is not set at all.<br /> Currently NS4 does not work correctly. </body> </html> |
From: Richard B. <ric...@us...> - 2001-11-02 01:55:07
|
Update of /cvsroot/dynapi/dynapi/tests In directory usw-pr-cvs1:/tmp/cvs-serv17774 Added Files: secondary_inheritance.html Log Message: testfile for secondary inheritance problem outlined in bug 425789 --- NEW FILE --- <html> <head> <title>Secondary inheritance test</title> </head> <script language="Javascript" src="../src/dynapi.js"></script> <script language="Javascript"> DynAPI.setLibraryPath('../src/lib/') DynAPI.include('dynapi.api.*'); DynAPI.include('dynapi.event.*') DynAPI.include('dynapi.util.thread.js'); DynAPI.include('dynapi.util.pathanim.js'); DynAPI.include('dynapi.gui.dynimage.js'); DynAPI.include('dynapi.gui.button.js'); DynAPI.include('dynapi.gui.scrollbar.js'); DynAPI.include('dynapi.gui.viewport.js'); DynAPI.include('dynapi.gui.scrollpane.js'); DynAPI.include('dynapi.gui.label.js'); DynAPI.onLoad=function() { label1 = new Label('<table border=1><tr><td width=160 height=160>label 1 alk jskj slkj k dkjkj dk skslkdjf lskd f</td></tr></table>') label1.setWrap(false) label1.setPadding(5) label1.setBgColor('cyan') label1.setSize(160,160) label2 = new Label('<table border=1><tr><td width=160 height=160>label 1 alk jskj slkj k dkjkj dk skslkdjf lskd f</td></tr></table>') label2.setWrap(false) label2.setPadding(5) label2.setBgColor('cyan') label2.setSize(160,160) //SCROLLPANE#1 var scrollpane1 = new ScrollPane(label1); scrollpane1.setSize(150,150) scrollpane1.moveTo(50,150) scrollpane1.setBgColor('#c0c0c0') //EVENT LISTENERS var EListener1 = new EventListener(); EListener1.oncreate = function(e) { var o=e.getSource(); alert("from SP1: "+o.id); }; EListener1.onclick = function(e) { var o=e.getSource(); alert("from SP1: "+o.id); }; scrollpane1.addEventListener(EListener1); DynAPI.document.addChild(scrollpane1); //SCROLLPANE#2 var scrollpane2 = new ScrollPane(label2); scrollpane2.setSize(150,150) scrollpane2.moveTo(250,150) scrollpane2.setBgColor('#c0c0c0') DynAPI.document.addChild(scrollpane2); } </script> <body bgcolor="#ffffff"> <b>Issue:</b><br /> The problem we have here, is that secondary inheritance isn't working well.<br /> We have two scrollpanes here, only the first one has an eventlistener, but both return events.<br /> The problem arises because scrollpane inherits from viewport, which inherits from dynlayer. <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> <b>More info:</b> Basically any widget that does not inherit directly from DynLayer can not be<br /> used more than once on a single page, unless you only want one EventListener<br /> for the whole lot (very unlikely).<br /><br /> If you try to create multiple EventListeners (i.e. one for each widget of a<br /> class not derived directly from DynLayers), only the last EventListener<br /> assigned to one of this second generation widgets will fire. And it will<br /> fire on all widgets that are instances of the same class.<br /><br /> I have been mainly working with the ButtonImage class derived from DynImage,<br /> but I believe this will affect List, PushPanel and any other second<br /> generation widget.<br /><br /> Seeing that this problem has been around for some time, I imagine the<br /> solution will require a lot of work. A temporary solution would be to<br /> rewrite any second generation widget to inherit directly from DynLayer and<br /> including any other inherited functions from it's former parent. I realize<br /> this is redundant and counter to OOP, but at least we would have complex<br /> widgets that work. There is no point in streamlining the core for<br /> performance if the core is broken. This would be a relatively simple fix.<br /> And could be reversed easily once the event model is fixed. This would also<br /> not require changes in code implementing these widgets, thus have little<br /> effect on users other than performance due to redundancy.<br /><br /> The other solution is to fix the problem in the event model. This will take<br /> longer, but should be top priority. The whole purpose of DynAPI is to have<br /> complex widgets, and a common API. For simple widgets anyone can create<br /> simple JavaScript that has less overhead than DynAPI. Therefore this bug<br /> undermines the purpose of DynAPI.<br /><br /> We did not have this bug in 2.0. What has changed so drastically since 2.0<br /> in the event model or in other parts of the core that introduced this bug?<br /> <br /><br /> </body> </html> |
From: Richard B. <ric...@us...> - 2001-11-02 01:09:42
|
Update of /cvsroot/dynapi/dynapi/tests In directory usw-pr-cvs1:/tmp/cvs-serv8760 Added Files: cancel_navigation.html Log Message: testfile for "return false" + onclick in dragable layer. --- NEW FILE --- <html> <head> <title>Return false test</title> <script language="Javascript" src="../src/dynapi.js"></script> <script language="Javascript"> DynAPI.setLibraryPath('../src/lib/'); DynAPI.include('dynapi.api.*'); DynAPI.include('dynapi.event.*'); DynAPI.include('dynapi.util.debug'); </script> <script language="Javascript"> DynAPI.onLoad = function() { html='<a href="http://www.cnn.com" onclick="alert(\'hi\');return false;">Return false</a><br /><a href="http://www.cnn.com" onclick="alert(\'hi\');return true;">Return true</a>' myLayer = new DynLayer(null,50,150,150,150,'lightgrey',null,null,null,html) DragEvent.setDragBoundary(myLayer) DragEvent.enableDragEvents(myLayer) DynAPI.document.addChild(myLayer) } </script> </head> <body > <b>Issue</b><br /> In various browsers DynAPI's events system stopped "return false" from cancelling navigation.<br /> The two "Return false" links should show an alert only, and not navigate to another page.<br /> The others should show an alert, and then go to www.cnn.com<br /> <a href="http://www.cnn.com" onclick="alert('hi');return false;">Return false</a><br /><a href="http://www.cnn.com" onclick="alert('hi');return true;">Return true</a> </body> </html> |
From: Richard B. <ric...@us...> - 2001-11-01 17:02:49
|
Update of /cvsroot/dynapi/dynapi/examples In directory usw-pr-cvs1:/tmp/cvs-serv11103 Modified Files: dynapi.event.dragevent.html Log Message: added dragable transparent text, without setting the text-layers width+height. This checks the IE5 transparent layer bug, and the dragevents auto-size borders bug [ #424582 ] dragBoundary patch (patch not applied) Index: dynapi.event.dragevent.html =================================================================== RCS file: /cvsroot/dynapi/dynapi/examples/dynapi.event.dragevent.html,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 *** dynapi.event.dragevent.html 2001/03/25 06:04:16 1.1 --- dynapi.event.dragevent.html 2001/11/01 17:02:46 1.2 *************** *** 15,22 **** var p=this.document.addChild(new DynLayer(null,200,200,200,200,'silver')) var a=p.addChild(new DynLayer(null,10,10,20,20,'red')) ! DragEvent.enableDragEvents(a) DragEvent.setDragBoundary(a) ! b=new EventListener() b.ondblclick=function(e){ --- 15,24 ---- var p=this.document.addChild(new DynLayer(null,200,200,200,200,'silver')) var a=p.addChild(new DynLayer(null,10,10,20,20,'red')) ! var a2=p.addChild(new DynLayer(null,10,40,null,null,null,null,null,null,'drag<br />text')) ! DragEvent.enableDragEvents(a,a2) DragEvent.setDragBoundary(a) ! DragEvent.setDragBoundary(a2) ! b=new EventListener() b.ondblclick=function(e){ |
From: Richard B. <ric...@us...> - 2001-11-01 12:26:15
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/util In directory usw-pr-cvs1:/tmp/cvs-serv13783 Modified Files: imganim.js Log Message: Applied [ #464373 ] imganim FIX Index: imganim.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/util/imganim.js,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -r1.4 -r1.5 *** imganim.js 2001/04/03 20:38:20 1.4 --- imganim.js 2001/11/01 12:26:13 1.5 *************** *** 57,67 **** this.playing = false; this.stop(); ! if (this.dlyr!=null) this.dlyr.invokeEvent("imgrun"); }; ImageAnimation.prototype.run = function () { if (!this.playing || this.imgAnim.playing==null || this.dlyr==null) return; ! var anim = this.imgAnim[this.imgAnim.playing]; ! if (anim.frame==0 && this.img==anim[anim.frame]) { anim.frame++; // skip 1st frame if same --- 57,67 ---- this.playing = false; this.stop(); ! if (this.dlyr!=null) this.dlyr.invokeEvent("imgstop"); }; ImageAnimation.prototype.run = function () { if (!this.playing || this.imgAnim.playing==null || this.dlyr==null) return; ! var anim = this.imgAnim[this.imgAnim.playing]; ! if (anim.frame==0 && this.img==anim[anim.frame]) { anim.frame++; // skip 1st frame if same *************** *** 69,87 **** if (this.dlyr!=null) this.dlyr.invokeEvent("imgrun"); this.dlyr.setImage(anim[anim.frame]); ! if (anim.frame>=anim.length-1) { if (anim.loops) { if (anim.alternates && anim.direction==0 && anim.frame==anim.length-1) { ! anim.direction = 1; anim.frame = anim.length-2; } else anim.frame = 0; } - else if (anim.resets) { - anim.frame = 0; - this.stop() - } else { ! this.stop() } } --- 69,84 ---- if (this.dlyr!=null) this.dlyr.invokeEvent("imgrun"); this.dlyr.setImage(anim[anim.frame]); ! if (anim.frame>=anim.length-1) { if (anim.loops) { if (anim.alternates && anim.direction==0 && anim.frame==anim.length-1) { ! anim.direction = 1; anim.frame = anim.length-2; } else anim.frame = 0; } else { ! if (anim.resets) anim.frame = 0; ! this.stopAnimation(); } } |
From: Richard B. <ric...@us...> - 2001-11-01 10:40:45
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api In directory usw-pr-cvs1:/tmp/cvs-serv23313 Modified Files: dyndocument.js Log Message: Aplied [ #435679 ] Document dimensions patch Index: dyndocument.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dyndocument.js,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** dyndocument.js 2001/06/20 02:32:18 1.18 --- dyndocument.js 2001/11/01 10:40:42 1.19 *************** *** 15,19 **** this.elm.lyrobj=this; this.doc.lyrobj=this; ! this.findDimensions(); } DynDocument.prototype = new DynObject(); --- 15,19 ---- this.elm.lyrobj=this; this.doc.lyrobj=this; ! this.findDimensions(); } DynDocument.prototype = new DynObject(); *************** *** 45,48 **** --- 45,53 ---- this.w=(is.ns||is.opera)? this.elm.innerWidth : this.doc.body.clientWidth; this.h=(is.ns||is.opera)? this.elm.innerHeight : this.doc.body.clientHeight; + if (is.ns && this.frame.parent.frames.length>1) { + if (is.ns4) { this.w=this.w+4; this.h=this.h+4; } + else this.h=this.h-2; + }; + return; }; DynDocument.prototype.setBgColor = function(color) { |
From: Richard B. <ric...@us...> - 2001-11-01 10:27:26
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api In directory usw-pr-cvs1:/tmp/cvs-serv20732 Modified Files: browser.js Log Message: typo correction \n instead of /n Index: browser.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/browser.js,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -r1.14 -r1.15 *** browser.js 2001/10/29 22:35:06 1.14 --- browser.js 2001/11/01 10:27:23 1.15 *************** *** 10,14 **** else if ((b=="Opera") || (navigator.userAgent.indexOf("Opera")>0)) this.b = "opera"; else if (b=="Microsoft Internet Explorer") this.b="ie"; ! if (!b) alert('Unidentified browser./nThis browser is not supported,'); this.version=navigator.appVersion; this.v=parseInt(this.version); --- 10,14 ---- else if ((b=="Opera") || (navigator.userAgent.indexOf("Opera")>0)) this.b = "opera"; else if (b=="Microsoft Internet Explorer") this.b="ie"; ! if (!b) alert('Unidentified browser.\nThis browser is not supported,'); this.version=navigator.appVersion; this.v=parseInt(this.version); |
From: Richard B. <ric...@us...> - 2001-10-31 10:06:38
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/gui In directory usw-pr-cvs1:/tmp/cvs-serv8978 Modified Files: buttonimage.js Log Message: added NS6/Mozilla hack, so button shows up. Index: buttonimage.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/gui/buttonimage.js,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** buttonimage.js 2001/04/14 23:57:59 1.5 --- buttonimage.js 2001/10/31 10:06:35 1.6 *************** *** 51,55 **** this.selectedRoll = selectedRoll; this.setImage(this.defaultImage); ! this.setSize(this.defaultImage.width,this.defaultImage.height); }; ButtonImage.prototype.setSelected = function(b) { --- 51,56 ---- this.selectedRoll = selectedRoll; this.setImage(this.defaultImage); ! //Hack so NS6/Mozilla show button on first load ! setTimeout(this+".setSize("+this+".defaultImage.width,"+this+".defaultImage.height);",0); }; ButtonImage.prototype.setSelected = function(b) { |
From: Richard B. <ric...@us...> - 2001-10-29 22:35:09
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api In directory usw-pr-cvs1:/tmp/cvs-serv31405 Modified Files: browser.js Log Message: deleted =DynAPI.browser, as it is not being used, and dissallowed including the browser.js file before the other DynAPI files Index: browser.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/browser.js,v retrieving revision 1.13 retrieving revision 1.14 diff -C2 -r1.13 -r1.14 *** browser.js 2001/10/14 19:28:47 1.13 --- browser.js 2001/10/29 22:35:06 1.14 *************** *** 29,31 **** else this.platform="other"; } ! is = DynAPI.browser = new Browser(); --- 29,31 ---- else this.platform="other"; } ! is=new Browser(); |
From: Jordi M. <do...@us...> - 2001-10-29 16:36:56
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/gui In directory usw-pr-cvs1:/tmp/cvs-serv22335/src/lib/dynapi/gui Modified Files: label.js Log Message: Revision updates. Going for a 2.55 release Index: label.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/gui/label.js,v retrieving revision 1.18 retrieving revision 1.19 diff -C2 -r1.18 -r1.19 *** label.js 2001/06/28 10:28:34 1.18 --- label.js 2001/10/29 16:36:52 1.19 *************** *** 36,41 **** var o = e.target; if (o.created) { ! if(is.ns&&o.wrap) o.setText(o.text) ! if(is.ns6&&o.first) {o.first=false;return} o.pack((o.getWidth()==null)||(o.wrap&&o.pWidth),o.getHeight()==null||o.pHeight) } --- 36,40 ---- var o = e.target; if (o.created) { ! if(is.ns4&&o.wrap) o.setText(o.text) o.pack((o.getWidth()==null)||(o.wrap&&o.pWidth),o.getHeight()==null||o.pHeight) } |
From: Jordi M. <do...@us...> - 2001-10-29 16:36:56
|
Update of /cvsroot/dynapi/dynapi/docs/docs In directory usw-pr-cvs1:/tmp/cvs-serv22335/docs/docs Modified Files: revision.html Log Message: Revision updates. Going for a 2.55 release Index: revision.html =================================================================== RCS file: /cvsroot/dynapi/dynapi/docs/docs/revision.html,v retrieving revision 1.8 retrieving revision 1.9 diff -C2 -r1.8 -r1.9 *** revision.html 2001/06/27 15:51:09 1.8 --- revision.html 2001/10/29 16:36:52 1.9 *************** *** 12,15 **** --- 12,39 ---- <h1>Appendix A: Revision History</h1> <pre> + Version 2.55 + ------------ + + [+] Html can now be passed as the 9th parameter of the DynLayer's constructor + [-] Fixed missing clicks were mousedowns were cancelled in NS4 + [-] Fixed event cancellation bugs + [-] Fixed the console for Netscape 6 + [-] Drag extension should now add the correct document eventlistener when using frames (enableDragEvents) + [-] Fixed select() method to call setSelected() for the selected item ( list widtget ) + [*] Context Menu is not removed in IE 5 anymore. + [*] Simple events can now be used with eventlisteners (as long as simple.js is included after listeners.js) + [*] Removed hookLoad/Unload because it is not working correctly + [-] Added a temporary fix to the zIndex problem in Mozilla. It is now set manually instead of through the div string. + [-] Fixed NS 4 not capturing the mouseevents after a setHTML call. + [-] Viewport content width fix + [-] Scott Severtson's dragdrop fix + [-] Christof Pohl's fix for PathAnimation.run() + [-] Added fix for specialized NS versions detection in browser.js + [+] Added test for Explorer 6 + [*] Old IE5.5 event fix, which used a javascript:null as background image for empty layers, had to be + changed into using a real transparent gif which is supplied with the standard distribution, due + to that javascript:null image causing a warning when using DynAPI via a secure server (https://) + [-] Fixed keyevent code disabling forms inside DynLayer in NS 4.x + Version 2.54 ------------ |
From: Jordi M. <do...@us...> - 2001-10-29 16:36:56
|
Update of /cvsroot/dynapi/dynapi In directory usw-pr-cvs1:/tmp/cvs-serv22335 Modified Files: REVISION Log Message: Revision updates. Going for a 2.55 release Index: REVISION =================================================================== RCS file: /cvsroot/dynapi/dynapi/REVISION,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** REVISION 2001/06/27 15:50:55 1.11 --- REVISION 2001/10/29 16:36:52 1.12 *************** *** 8,12 **** TODO ---- ! - Improve NS 6 support. --- 8,12 ---- TODO ---- ! - Performance, performance, performance. *************** *** 15,18 **** --- 15,41 ---- [ * Improved/Changed Feature ] [ - Bug Fix ] + + Version 2.55 + ------------ + [+] Html can now be passed as the 9th parameter of the DynLayer's constructor + [-] Fixed missing clicks were mousedowns were cancelled in NS4 + [-] Fixed event cancellation bugs + [-] Fixed the console for Netscape 6 + [-] Drag extension should now add the correct document eventlistener when using frames (enableDragEvents) + [-] Fixed select() method to call setSelected() for the selected item ( list widtget ) + [*] Context Menu is not removed in IE 5 anymore. + [*] Simple events can now be used with eventlisteners (as long as simple.js is included after listeners.js) + [*] Removed hookLoad/Unload because it is not working correctly + [-] Added a temporary fix to the zIndex problem in Mozilla. It is now set manually instead of through the div string. + [-] Fixed NS 4 not capturing the mouseevents after a setHTML call. + [-] Viewport content width fix + [-] Scott Severtson's dragdrop fix + [-] Christof Pohl's fix for PathAnimation.run() + [-] Added fix for specialized NS versions detection in browser.js + [+] Added test for Explorer 6 + [*] Old IE5.5 event fix, which used a javascript:null as background image for empty layers, had to be + changed into using a real transparent gif which is supplied with the standard distribution, due + to that javascript:null image causing a warning when using DynAPI via a secure server (https://) + [-] Fixed keyevent code disabling forms inside DynLayer in NS 4.x Version 2.54 |
From: Richard B. <ric...@us...> - 2001-10-28 21:29:36
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/event In directory usw-pr-cvs1:/tmp/cvs-serv9787 Modified Files: keyboard.js Log Message: changed to return true, + added semi-colons Index: keyboard.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/event/keyboard.js,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -r1.11 -r1.12 *** keyboard.js 2001/10/25 16:28:01 1.11 --- keyboard.js 2001/10/28 21:29:33 1.12 *************** *** 15,19 **** DynKeyEvent.prototype=new DynEvent(); DynKeyEvent.prototype.getKey=function() { ! return this.charKey }; DynKeyEvent.prototype.bubbleEvent=function() { --- 15,19 ---- DynKeyEvent.prototype=new DynEvent(); DynKeyEvent.prototype.getKey=function() { ! return this.charKey; }; DynKeyEvent.prototype.bubbleEvent=function() { *************** *** 33,39 **** if(is.def) var realsrc = Methods.getContainerLayerOf(is.ie?e.srcElement:e.target)||dynobject; else if(is.ns4) var realsrc=e.target.lyrobj; ! if (!realsrc) return; ! var evt=DynKeyEvent._e ! evt.type=e.type evt.src=realsrc; evt.browserReturn=true; --- 33,39 ---- if(is.def) var realsrc = Methods.getContainerLayerOf(is.ie?e.srcElement:e.target)||dynobject; else if(is.ns4) var realsrc=e.target.lyrobj; ! if (!realsrc) return true; ! var evt=DynKeyEvent._e; ! evt.type=e.type; evt.src=realsrc; evt.browserReturn=true; *************** *** 59,65 **** else { if (is.ns4) this.doc.captureEvents(Event.KEYPRESS | Event.KEYDOWN | Event.KEYUP); ! this.doc.onkeypress=this.doc.onkeydown=this.doc.onkeyup=DynKeyEvent.EventMethod ! } ! } DynDocument.prototype.releaseKeyEvents=function() { if(is.def&&!is.ie) { --- 59,65 ---- else { if (is.ns4) this.doc.captureEvents(Event.KEYPRESS | Event.KEYDOWN | Event.KEYUP); ! this.doc.onkeypress=this.doc.onkeydown=this.doc.onkeyup=DynKeyEvent.EventMethod; ! }; ! }; DynDocument.prototype.releaseKeyEvents=function() { if(is.def&&!is.ie) { *************** *** 70,78 **** else { if (is.ns4) this.doc.releaseEvents(Event.KEYPRESS | Event.KEYDOWN | Event.KEYUP); ! this.doc.onkeypress=this.doc.onkeydown=this.doc.onkeyup=null ! } ! } DynLayer.prototype.captureKeyEvents=function() { ! if(!this.elm) return if(is.def&&!is.ie) { this.elm.addEventListener("keydown",DynKeyEvent.EventMethod,false) --- 70,78 ---- else { if (is.ns4) this.doc.releaseEvents(Event.KEYPRESS | Event.KEYDOWN | Event.KEYUP); ! this.doc.onkeypress=this.doc.onkeydown=this.doc.onkeyup=null; ! }; ! }; DynLayer.prototype.captureKeyEvents=function() { ! if(!this.elm) return; if(is.def&&!is.ie) { this.elm.addEventListener("keydown",DynKeyEvent.EventMethod,false) *************** *** 82,90 **** else { if (is.ns4) this.elm.captureEvents(Event.KEYPRESS | Event.KEYDOWN | Event.KEYUP); ! this.elm.onkeypress=this.elm.onkeydown=this.elm.onkeyup=DynKeyEvent.EventMethod ! } ! } DynLayer.prototype.releaseKeyEvents=function() { ! if(!this.elm) return if(is.def&&!is.ie) { this.elm.removeEventListener("keydown",DynKeyEvent.EventMethod,false) --- 82,90 ---- else { if (is.ns4) this.elm.captureEvents(Event.KEYPRESS | Event.KEYDOWN | Event.KEYUP); ! this.elm.onkeypress=this.elm.onkeydown=this.elm.onkeyup=DynKeyEvent.EventMethod; ! }; ! }; DynLayer.prototype.releaseKeyEvents=function() { ! if(!this.elm) return; if(is.def&&!is.ie) { this.elm.removeEventListener("keydown",DynKeyEvent.EventMethod,false) *************** *** 94,135 **** else { if (is.ns4) this.elm.releaseEvents(Event.KEYPRESS | Event.KEYDOWN | Event.KEYUP); ! this.elm.onkeypress=this.elm.onkeydown=this.elm.onkeyup=null ! } ! } /* Overwrite methods to support key events. */ DynObject.prototype.assignKeyEvents = function() { ! if (this.hasEventListeners) this.captureKeyEvents() var l=this.children.length; ! for (var i=0; i<l; i++) this.children[i].assignKeyEvents() ! } ! DynObject.prototype._OldK_addEventListener = DynObject.prototype.addEventListener DynObject.prototype.addEventListener = function(l) { ! var r = this._OldK_addEventListener(l) ! if(this.hasEventListeners && this.created) this.captureKeyEvents() ! return r ! } ! DynObject.prototype._OldK_removeEventListener = DynObject.prototype.removeEventListener DynObject.prototype.removeEventListener = function(l) { ! var r = this._OldK_removeEventListener(l) ! if(!this.hasEventListeners) this.releaseKeyEvents() ! return r ! } ! DynObject.prototype._OldK_removeAllEventListeners = DynObject.prototype.removeAllEventListeners DynObject.prototype.removeAllEventListeners = function() { ! var r = this._OldK_removeAllEventListeners() ! this.releaseKeyEvents() ! return r ! } // DynLayer Specific ! DynLayer.prototype._OldK_specificCreate = DynLayer.prototype.specificCreate DynLayer.prototype.specificCreate = function() { ! this._OldK_specificCreate() ! this.assignKeyEvents() ! } // DynDocument specific ! DynDocument.prototype._OldK_specificCreate = DynDocument.prototype.specificCreate DynDocument.prototype.specificCreate = function() { ! this._OldK_specificCreate() ! this.assignKeyEvents() ! } --- 94,135 ---- else { if (is.ns4) this.elm.releaseEvents(Event.KEYPRESS | Event.KEYDOWN | Event.KEYUP); ! this.elm.onkeypress=this.elm.onkeydown=this.elm.onkeyup=null; ! }; ! }; /* Overwrite methods to support key events. */ DynObject.prototype.assignKeyEvents = function() { ! if (this.hasEventListeners) this.captureKeyEvents(); var l=this.children.length; ! for (var i=0; i<l; i++) this.children[i].assignKeyEvents(); ! }; ! DynObject.prototype._OldK_addEventListener = DynObject.prototype.addEventListener; DynObject.prototype.addEventListener = function(l) { ! var r = this._OldK_addEventListener(l); ! if(this.hasEventListeners && this.created) this.captureKeyEvents(); ! return r; ! }; ! DynObject.prototype._OldK_removeEventListener = DynObject.prototype.removeEventListener; DynObject.prototype.removeEventListener = function(l) { ! var r = this._OldK_removeEventListener(l); ! if(!this.hasEventListeners) this.releaseKeyEvents(); ! return r; ! }; ! DynObject.prototype._OldK_removeAllEventListeners = DynObject.prototype.removeAllEventListeners; DynObject.prototype.removeAllEventListeners = function() { ! var r = this._OldK_removeAllEventListeners(); ! this.releaseKeyEvents(); ! return r; ! }; // DynLayer Specific ! DynLayer.prototype._OldK_specificCreate = DynLayer.prototype.specificCreate; DynLayer.prototype.specificCreate = function() { ! this._OldK_specificCreate(); ! this.assignKeyEvents(); ! }; // DynDocument specific ! DynDocument.prototype._OldK_specificCreate = DynDocument.prototype.specificCreate; DynDocument.prototype.specificCreate = function() { ! this._OldK_specificCreate(); ! this.assignKeyEvents(); ! }; |
From: Richard B. <ric...@us...> - 2001-10-25 16:28:04
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/event In directory usw-pr-cvs1:/tmp/cvs-serv14184 Modified Files: keyboard.js Log Message: Joachim Lundgren's fix applied, to allow form elements to work ok in NS4 Index: keyboard.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/event/keyboard.js,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** keyboard.js 2001/06/03 01:04:29 1.10 --- keyboard.js 2001/10/25 16:28:01 1.11 *************** *** 33,37 **** if(is.def) var realsrc = Methods.getContainerLayerOf(is.ie?e.srcElement:e.target)||dynobject; else if(is.ns4) var realsrc=e.target.lyrobj; ! if (!realsrc) return false; var evt=DynKeyEvent._e evt.type=e.type --- 33,37 ---- if(is.def) var realsrc = Methods.getContainerLayerOf(is.ie?e.srcElement:e.target)||dynobject; else if(is.ns4) var realsrc=e.target.lyrobj; ! if (!realsrc) return; var evt=DynKeyEvent._e evt.type=e.type |
From: Richard B. <ric...@us...> - 2001-10-25 16:25:45
|
Update of /cvsroot/dynapi/dynapi/tests In directory usw-pr-cvs1:/tmp/cvs-serv13664 Added Files: link_and_form_events_NS4.html Log Message: testpage, to check mouse+keyboard events keep working in NS4 --- NEW FILE --- <html> <head> <title>Test Page - Layer.Forms</title> <script language="Javascript" src="../src/dynapi.js"></script> <script language="Javascript"> DynAPI.setLibraryPath('../src/lib/') DynAPI.include('dynapi.api.*') DynAPI.include('dynapi.event.listeners.js') DynAPI.include('dynapi.event.mouse.js') DynAPI.include('dynapi.event.keyboard.js') </script> <script language="Javascript"> DynAPI.onLoad=function(){ myLayer=new DynLayer(null,135,120,220,180) myLayer.setBgColor('#cccccc') myLayer.setHTML(htmlcode) // when an event listener is added // form elements stop responding to events e= new EventListener() e.onclick=function(e,control){ alert("in myLayer.onclick") } myLayer.addEventListener(e) DynAPI.document.addChild(myLayer) myListener = new EventListener(DynAPI.document) myListener.onkeyup=function(e) { if (e.charKey=='s') alert('You\'ve found the secret key') if ((e.charKey>='a')&&(e.charKey<='z')) alert('You pressed the key \''+e.charKey+'\'.') } myListener.onkeydown=function(e) { if (e.ctrlKey) { myLayer.moveBy(20,20);return true } if (e.shiftKey) alert('SHIFT!') } DynAPI.document.addEventListener(myListener) } var htmlcode='<form name=myform><table border="0" cellspacing="1">' htmlcode+='<tr><td><font face="Arial" size="2">Name</font></td>' htmlcode+='<td><input onchange="alert(\'change\')" type=text size="15" name="fname"></td></tr>' htmlcode+='<tr><td><font face="Arial" size="2">Address</font></td>' htmlcode+='<td><input onchange="alert(\'change\')" type=text size="15" name="address"></td></tr>' htmlcode+='<tr><td colspan="2"><font face="Arial" size="2"><input onclick="alert(\'click\')" type=radio name="gender" value="male">Male </font>' htmlcode+='<input onclick="alert(\'click\')" type=radio name="gender" value="female"><font face="Arial" size="2">Female</font></td></tr>' htmlcode+='<tr><td colspan="2" align="right"><input onclick="alert(\'click\')" type=button name=cmd value=Button></td></tr>' htmlcode+='</table></form><a href="#" onclick="alert(\'click\')">click here test the onclick event</a>' </script> </head> <body> <font size=2 face=arial><b>Issue:</b> In NS4 form elements do not respond to mouse or keyboard events.<br> This issue only occurs when the mouse.js and keybord.js events are included and an event listener is added to the layer. The same goes for hyperlinks <br /><b>[update 25/Oct/2001]</b> <br />As of now this issue should be fixed. <br />A keyevent has been added to the DynAPI.document, and an onclick event to the DynLayer for testing. <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> <b>Discrepancies: (tested on win2000)</b> <br /><br />IE: <br />The DynAPI onclick event is caught by all form elements on the DynLayer. <br />The DynAPI onkeyup event is caught at all times. <br />The textbox' change event is caught when changing focus to another element. <br /><br />NS4: <br />The DynAPI onclick event is <b>only caught by the hyperlink, and the DynLayer</b>. <br />The DynAPI onkeyup <b>event is not caught when a form element has the focus</b>. <br />The textbox' change event is caught when changing focus to another element. <br /><br />Mozilla (NS6): <br />The DynAPI onclick event is caught by all form elements on the DynLayer. <br />The DynAPI onkeyup event is caught at all times. <br />The textbox' change event is caught <b>on each keyup</b>. <br /> </font> </body> </html> |
From: Richard B. <ric...@us...> - 2001-10-25 16:24:45
|
Update of /cvsroot/dynapi/dynapi/tests In directory usw-pr-cvs1:/tmp/cvs-serv13434/tests Log Message: Directory /cvsroot/dynapi/dynapi/tests added to the repository |
From: Jordi M. <do...@us...> - 2001-10-17 15:49:47
|
Update of /cvsroot/dynapi/dynapi In directory usw-pr-cvs1:/tmp/cvs-serv27007 Modified Files: README Log Message: IlMaestro goes adult and uses his real name Index: README =================================================================== RCS file: /cvsroot/dynapi/dynapi/README,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** README 2001/04/08 02:23:56 1.5 --- README 2001/10/17 15:49:42 1.6 *************** *** 65,71 **** Dan Steinman Guangyi Wu - IlMaestro Jason Pelzer Jared Nuzzolillo Micah Goulart Michael Lilli --- 65,71 ---- Dan Steinman Guangyi Wu Jason Pelzer Jared Nuzzolillo + Jordi Ministral Micah Goulart Michael Lilli |
From: Richard B. <ric...@us...> - 2001-10-14 19:28:50
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api In directory usw-pr-cvs1:/tmp/cvs-serv17809 Modified Files: browser.js Log Message: added this.ie6 Index: browser.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/browser.js,v retrieving revision 1.12 retrieving revision 1.13 diff -C2 -r1.12 -r1.13 *** browser.js 2001/08/15 01:50:30 1.12 --- browser.js 2001/10/14 19:28:47 1.13 *************** *** 20,23 **** --- 20,24 ---- this.ie5=(this.version.indexOf('MSIE 5')>0); this.ie55=(this.version.indexOf('MSIE 5.5')>0); + this.ie6=(this.version.indexOf('MSIE 6.0')>0); this.opera=(this.b=="opera"); this.dom=(document.createElement && document.appendChild && document.getElementsByTagName)?true:false; |
From: Richard B. <ric...@us...> - 2001-10-14 18:28:57
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api In directory usw-pr-cvs1:/tmp/cvs-serv30803 Modified Files: dynlayer.js Log Message: Fixed own typo, + added a few semmi-colons Index: dynlayer.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dynlayer.js,v retrieving revision 1.67 retrieving revision 1.68 diff -C2 -r1.67 -r1.68 *** dynlayer.js 2001/10/14 15:37:06 1.67 --- dynlayer.js 2001/10/14 18:28:55 1.68 *************** *** 66,70 **** if (this.bgColor!=null) this.setBgColor(this.bgColor); if (this.bgImage!=null) this.setBgImage(this.bgImage); ! if (this.clip) this.setClip(this.clip) if (this.z) this.css.zIndex=this.z; this.css.visibility=this.visible? "inherit" : "hide"; --- 66,70 ---- if (this.bgColor!=null) this.setBgColor(this.bgColor); if (this.bgImage!=null) this.setBgImage(this.bgImage); ! if (this.clip) this.setClip(this.clip); if (this.z) this.css.zIndex=this.z; this.css.visibility=this.visible? "inherit" : "hide"; *************** *** 72,76 **** for (i=0;i<this.doc.links.length;i++) this.doc.links[i].lyrobj=this; } ! this.frame=this.parent.frame this.elm.lyrobj=this; this.assignChildren(); --- 72,76 ---- for (i=0;i<this.doc.links.length;i++) this.doc.links[i].lyrobj=this; } ! this.frame=this.parent.frame; this.elm.lyrobj=this; this.assignChildren(); *************** *** 151,157 **** else if (this.w!=null && this.h!=null) s+=' clip:rect(0px '+this.w+'px '+this.h+'px 0px);'; if (this.z) s+=' z-index='+this.z+';'; ! if (this.bgImage!=null) s+=' background-image:url('+this.bgImage+');' ! if (this.bgColor!=null) s+=' background-color:'+this.bgColor+';' ! if (is.ie55 && this.bgImage==null && this.html==null) s+=' background-image:'+DynAPI.librarypath+'dynapi/images/common/transparent.gif' s+=' position:absolute;">'; if (this.html!=null) s+=this.html; --- 151,157 ---- else if (this.w!=null && this.h!=null) s+=' clip:rect(0px '+this.w+'px '+this.h+'px 0px);'; if (this.z) s+=' z-index='+this.z+';'; ! if (this.bgImage!=null) s+=' background-image:url('+this.bgImage+');'; ! if (this.bgColor!=null) s+=' background-color:'+this.bgColor+';'; ! if (is.ie55 && this.bgImage==null && this.html==null) s+=' background-image:url('+DynAPI.librarypath+'dynapi/images/common/transparent.gif);'; s+=' position:absolute;">'; if (this.html!=null) s+=this.html; *************** *** 181,195 **** }; }; ! DynLayer.prototype._dynlayer_create = DynLayer.prototype.create DynLayer.prototype.create = function() { ! this._dynlayer_create() ! this.invokeEvent("resize") ! } if (is.ns) { ! DynLayer.prototype._setX=function(){ this.css.left=this.x; } ! DynLayer.prototype._setY=function(){ this.css.top=this.y; } } else { ! DynLayer.prototype._setX=function(){ this.css.pixelLeft=this.x; } ! DynLayer.prototype._setY=function(){ this.css.pixelTop=this.y; } }; DynLayer.prototype.moveTo=function(x,y) { --- 181,195 ---- }; }; ! DynLayer.prototype._dynlayer_create = DynLayer.prototype.create; DynLayer.prototype.create = function() { ! this._dynlayer_create(); ! this.invokeEvent("resize"); ! }; if (is.ns) { ! DynLayer.prototype._setX=function(){ this.css.left=this.x; }; ! DynLayer.prototype._setY=function(){ this.css.top=this.y; }; } else { ! DynLayer.prototype._setX=function(){ this.css.pixelLeft=this.x; }; ! DynLayer.prototype._setY=function(){ this.css.pixelTop=this.y; }; }; DynLayer.prototype.moveTo=function(x,y) { |
From: Richard B. <ric...@us...> - 2001-10-14 18:14:26
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/images/common In directory usw-pr-cvs1:/tmp/cvs-serv25446 Modified Files: transparent.gif Log Message: new transparent gif (other wasn't transparent) Index: transparent.gif =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/images/common/transparent.gif,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -r1.1 -r1.2 Binary files /tmp/cvsJ1tPWm and /tmp/cvsyBe1Hz differ |
From: Richard B. <ric...@us...> - 2001-10-14 15:37:08
|
Update of /cvsroot/dynapi/dynapi/src/lib/dynapi/api In directory usw-pr-cvs1:/tmp/cvs-serv11457 Modified Files: dynlayer.js Log Message: added a transparent gif, see bug 469907 Index: dynlayer.js =================================================================== RCS file: /cvsroot/dynapi/dynapi/src/lib/dynapi/api/dynlayer.js,v retrieving revision 1.66 retrieving revision 1.67 diff -C2 -r1.66 -r1.67 *** dynlayer.js 2001/08/14 17:58:47 1.66 --- dynlayer.js 2001/10/14 15:37:06 1.67 *************** *** 85,89 **** for (var i=0; i<l; i++) { var child=this.children[i]; ! if (is.ie) var elm=this.elm.all[child.id]; else var elm=this.doc.getElementById(child.id); child.elm=elm; --- 85,89 ---- for (var i=0; i<l; i++) { var child=this.children[i]; ! if (is.ie) var elm=this.elm.all[child.id]; else var elm=this.doc.getElementById(child.id); child.elm=elm; *************** *** 153,157 **** if (this.bgImage!=null) s+=' background-image:url('+this.bgImage+');' if (this.bgColor!=null) s+=' background-color:'+this.bgColor+';' ! if (is.ie55 && this.bgImage==null && this.html==null) s+=' background-image:url(javascript:null);' s+=' position:absolute;">'; if (this.html!=null) s+=this.html; --- 153,157 ---- if (this.bgImage!=null) s+=' background-image:url('+this.bgImage+');' if (this.bgColor!=null) s+=' background-color:'+this.bgColor+';' ! if (is.ie55 && this.bgImage==null && this.html==null) s+=' background-image:'+DynAPI.librarypath+'dynapi/images/common/transparent.gif' s+=' position:absolute;">'; if (this.html!=null) s+=this.html; *************** *** 321,325 **** if (this.w==null&&this.h==null) return; if (this.css!=null) { ! if (is.ns4) { this.css.clip.width = this.w; this.css.clip.height = this.h; --- 321,325 ---- if (this.w==null&&this.h==null) return; if (this.css!=null) { ! if (is.ns4) { this.css.clip.width = this.w; this.css.clip.height = this.h; |