[jira] Commented: (COCOON-1771) cocoon.ajax.Fader runtime error when style uses abreviated form #ccc in IE6.0sp2
[ http://issues.apache.org/jira/browse/COCOON-1771?page=comments#action_12365560 ] Upayavira commented on COCOON-1771: --- This patch came in as anonymous, therefore we cannot accept it, as its provenance cannot be proven. Please resubmit it while logged into jira. cocoon.ajax.Fader runtime error when style uses abreviated form #ccc in IE6.0sp2 Key: COCOON-1771 URL: http://issues.apache.org/jira/browse/COCOON-1771 Project: Cocoon Type: Bug Components: Blocks: Ajax Versions: 2.1.8 Reporter: Eric Meyer Assignee: Antonio Gallardo Attachments: cocoon-ajax.js.patch, cocoon-ajax.js.patch, cocoon-ajax.js.patch In cocoon.ajax.Fader this.toColor = cocoon.ajax.Fader.colorToRgb(cocoon.ajax.Fader.getBgColor(this.element)); getBgColor will return '#fff' /** Converts a #RRGGBB color as an array of 3 ints */ cocoon.ajax.Fader.colorToRgb = function(hex) { return [ parseInt(hex.substr(1,2),16), parseInt(hex.substr(3,2),16), parseInt(hex.substr(5,2),16) ]; } Assumes that hex starts with a '#' and has 6 additional hex characters. The corrected implementation is /** Converts a #RRGGBB color as an array of 3 ints */ cocoon.ajax.Fader.colorToRgb = function(hex) { var r = 255; // defaults if no match var g = 255; var b = 255; var i=-1; var colors = hex.match(/^#(\d{2})(\d{2})(\d{2})$/); if (colors) { r = parseInt(colors[++i]); g = parseInt(colors[++i]); b = parseInt(colors[++i]); } else if (colors = hex.match(/^#(\d)(\d)(\d)$/)) { r = parseInt(colors[++i] + colors[i]); g = parseInt(colors[++i] + colors[i]); b = parseInt(colors[++i] + colors[i]); } return [r,g,b]; } Patch attached. Regards, Eric Meyer, VP, Quoin, Inc. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (COCOON-1771) cocoon.ajax.Fader runtime error when style uses abreviated form #ccc in IE6.0sp2
[ http://issues.apache.org/jira/browse/COCOON-1771?page=comments#action_12365587 ] Upayavira commented on COCOON-1771: --- No need. Just make sure that the one you use was uploaded by a known individual who clicked the grant license button. cocoon.ajax.Fader runtime error when style uses abreviated form #ccc in IE6.0sp2 Key: COCOON-1771 URL: http://issues.apache.org/jira/browse/COCOON-1771 Project: Cocoon Type: Bug Components: Blocks: Ajax Versions: 2.1.8 Reporter: Eric Meyer Assignee: Antonio Gallardo Attachments: cocoon-ajax.js.patch, cocoon-ajax.js.patch, cocoon-ajax.js.patch, cocoon-ajax.js.patch In cocoon.ajax.Fader this.toColor = cocoon.ajax.Fader.colorToRgb(cocoon.ajax.Fader.getBgColor(this.element)); getBgColor will return '#fff' /** Converts a #RRGGBB color as an array of 3 ints */ cocoon.ajax.Fader.colorToRgb = function(hex) { return [ parseInt(hex.substr(1,2),16), parseInt(hex.substr(3,2),16), parseInt(hex.substr(5,2),16) ]; } Assumes that hex starts with a '#' and has 6 additional hex characters. The corrected implementation is /** Converts a #RRGGBB color as an array of 3 ints */ cocoon.ajax.Fader.colorToRgb = function(hex) { var r = 255; // defaults if no match var g = 255; var b = 255; var i=-1; var colors = hex.match(/^#(\d{2})(\d{2})(\d{2})$/); if (colors) { r = parseInt(colors[++i]); g = parseInt(colors[++i]); b = parseInt(colors[++i]); } else if (colors = hex.match(/^#(\d)(\d)(\d)$/)) { r = parseInt(colors[++i] + colors[i]); g = parseInt(colors[++i] + colors[i]); b = parseInt(colors[++i] + colors[i]); } return [r,g,b]; } Patch attached. Regards, Eric Meyer, VP, Quoin, Inc. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (COCOON-1680) New design/ layout proposal for Cocoon documentation
[ http://issues.apache.org/jira/browse/COCOON-1680?page=comments#action_12357153 ] Upayavira commented on COCOON-1680: --- Keep the feather, in some form, but _much_ smaller. New design/ layout proposal for Cocoon documentation Key: COCOON-1680 URL: http://issues.apache.org/jira/browse/COCOON-1680 Project: Cocoon Type: Improvement Components: - Documentation Reporter: Milan Andrejevic Priority: Minor Attachments: asf20051107.zip, asf20051108.zip, screenshot.gif, screenshot.gif I made new design/ layout proposal for Cocoon documentation. Just one html and screen css. I understand you need to modernize site (see Upayavira comment for COCOON-1679). This is my try, I hope you like it. There are two layouts user can choose. Layout info is stored in cookie _asfstyle for 30 days. Added access keys on top menu. Navigation on right contains only sub-section selected form top menu Minimal resolution set to 800px. Starting design is done in Macromedia Fireworks (_src/cocoon.png) were you can find all picture slices. I have checked this design in: Windows: Firefox 1.0.7 Internet Explorer 6.0 Opera 8.5 Linux: Firefox 1.0.7 Konqueror 3.3.2 Mozilla 1.7.5 Netscape 7.2 Lynx -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (COCOON-1680) New design/ layout proposal for Cocoon documentation
[ http://issues.apache.org/jira/browse/COCOON-1680?page=comments#action_12357027 ] Upayavira commented on COCOON-1680: --- Personally, I'd say be more bold. What you're designing still feels like the old site. I'd like to see our site looking fresh, new, modern, but still connected to the 'Cocoon' brand, with the logo, maybe with colours, etc. So, be wild. Then we'll let this community restrain you. But if you start restrained, I'm scared we'll end up with something boring :-( New design/ layout proposal for Cocoon documentation Key: COCOON-1680 URL: http://issues.apache.org/jira/browse/COCOON-1680 Project: Cocoon Type: Improvement Components: - Documentation Reporter: Milan Andrejevic Priority: Minor Attachments: asf20051107.zip, asf20051108.zip, screenshot.gif, screenshot.gif I made new design/ layout proposal for Cocoon documentation. Just one html and screen css. I understand you need to modernize site (see Upayavira comment for COCOON-1679). This is my try, I hope you like it. There are two layouts user can choose. Layout info is stored in cookie _asfstyle for 30 days. Added access keys on top menu. Navigation on right contains only sub-section selected form top menu Minimal resolution set to 800px. Starting design is done in Macromedia Fireworks (_src/cocoon.png) were you can find all picture slices. I have checked this design in: Windows: Firefox 1.0.7 Internet Explorer 6.0 Opera 8.5 Linux: Firefox 1.0.7 Konqueror 3.3.2 Mozilla 1.7.5 Netscape 7.2 Lynx -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] Commented: (COCOON-1679) New cocoon logo proposal
[ http://issues.apache.org/jira/browse/COCOON-1679?page=comments#action_12356766 ] Upayavira commented on COCOON-1679: --- This logo is really quite clever, and I rather like it. However, we've already agreed that we want for the time being to keep our old logo. What we need is more on the web-site skinning front. If you have time/inclination, go to http://forrest.zones.apache.org/ft/build/cocoon-docs/2.1/, and show us what you would do to that page to make it look more modern. A plain old HTML/CSS mockup would be enough. New cocoon logo proposal Key: COCOON-1679 URL: http://issues.apache.org/jira/browse/COCOON-1679 Project: Cocoon Type: Improvement Reporter: Milan Andrejevic Priority: Trivial Attachments: cocoon.png, cocoon.svg This is just an idea of new cocoon logo. See attachment. Spent some hours to create. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira