Ramiru Posted June 5, 2013 Share Posted June 5, 2013 As the title says, will there be in Suite 4? I was playing and trying to customize the theme and I found some markup that I think needs to be change such as: use of tables use of <br />'s - moving spacing to CSS? use of inline styles use of inline JavaScripts Besides, I would like to suggest the following: use HTML5 custom data attributes to trigger JavaScript effects such as on lightbox, tabs, dropdowns, etc. -> for example, if I want to create a custom dropdown menu (similar to profile dropdown), I need to write new.ipbMenu() JS? (correct me on this one). I haven't look yet at the tabs and lightbox. There are many jQuery plugins that uses the data attributes, one example is jKit use normalize.css instead of YUI Reset uniformity in selector naming -> others were named as my_selector and some were mySelector Link to comment Share on other sites More sharing options...
Rikki Posted June 5, 2013 Share Posted June 5, 2013 Almost all of these things are being addressed in IPS4 :) Link to comment Share on other sites More sharing options...
Ramiru Posted June 5, 2013 Author Share Posted June 5, 2013 That's great to hear :thumbsup: And may I know which one isn't? Link to comment Share on other sites More sharing options...
Rikki Posted June 5, 2013 Share Posted June 5, 2013 Well, it's not quite as black and white as that - there's exceptions to each one. For example, tables aren't bad in themselves, but should be used appropriately (3.x already works on this principle). <br> shouldn't be used for spacing... but with software as large as ours, sometimes it makes sense to use one or two rather than add new CSS. And so on :smile: So perhaps a better way of wording my answer would be to say that all of those items are priorities for us, while noting there's exceptions to the rule. We are particularly focusing on reducing inline CSS and JS except where essential, reducing or eliminating the need to write JS to do simple things, and better consistency in CSS and JS names/code. We'll elaborate on our plans for things like these as we get further along the development process :) Link to comment Share on other sites More sharing options...
Dmacleo Posted June 5, 2013 Share Posted June 5, 2013 nice, thanks :) I would suspect this would also help narrow down the little differences in how the many different browsers display stuff. except IE 8 and lower but who cares about them :P Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.