energine-cmf / energine

Energine is a content management system which allows to support web-applications (including websites) of any level of complexity. Energine is based on Energine CMF — a power full toolkit for web-application development using XML/XSLT transformations.
http://energine.org
MIT License
13 stars 3 forks source link

Create default design for attachments carousel #53

Open drPavka opened 10 years ago

drPavka commented 10 years ago

Create approtiate design for default attachments carousel

Now it look like a sheet screenshot from 2014-02-27 18 49 05

To test carousel you need to add attachments to any news

toxaestel commented 10 years ago

created default design for starter site. In IE11 appeared problem with item-width it counts 100% like 100px screen

valerii-zinchenko commented 10 years ago

The main problem of that, is that MooTools can not detect IE11 browser.

drPavka commented 10 years ago

I know only about this problem with IE 11 it detects IE 11 as unknown browser(Browser.name='unknown')

we can use this condition to check for IE 11 also we can manually check navigator.userAgent string

http://msdn.microsoft.com/en-us/library/ie/hh869301%28v=vs.85%29.aspx

On 3 March 2014 14:48, Valerii Zinchenko notifications@github.com wrote:

The main problem of that, is that MooTools can not detect new IE browsers (10 and 11).

Reply to this email directly or view it on GitHubhttps://github.com/energine-cmf/energine/issues/53#issuecomment-36506915 .

Pavel Dubenko, web-developer

valerii-zinchenko commented 10 years ago

I agree. But, in order to implement this checking I see only one way - edit mootools-debug.js and mootools.js, because the browser detection made in closure, we can not reimplement some function or some piece of code in that closure.

drPavka commented 10 years ago

I think it will be better to match userAgent string against regexp