lucidlemon / paradeiser Goto Github PK
View Code? Open in Web Editor NEWsmall and sleek mobile navigation
Home Page: http://lucidlemon.github.io/paradeiser/
small and sleek mobile navigation
Home Page: http://lucidlemon.github.io/paradeiser/
Can I use fontawesome for the icons or is that possible? I've tried and it renders them really small.
I really like how Paradeiser looks and works. Thank you! :)
My biggest suggestion is to remove the jQuery "baggage" — consider the following (quoted from the You Might Not Need jQuery site):
If you're developing a library (...) please take a moment to consider
if you actually need jQuery as a dependency. Maybe you can include a few lines
of utility code, and forgo the requirement. If you're only targeting more modern browsers,
you might not need anything more than what the browser ships with.
Main advantages:
Some resources that are helpful for switching from jQuery to native JavaScript:
There's also this one (a bit more advanced):
Mmm... Should I just say it? — "No jQuery" is the direction hipsters are taking. :D
The people in-the-know are now developing libraries without the jQuery requirement...
When feasible, a library should stand on its own feet — this way it is (more) future-proof, less dependent on other libraries, easier to get started with, and more flexible to be integrated in systems which don't use jQuery.
jQuery was created for a time when the DOM was hard. The DOM is pretty easy, now. ;)
This helps with accessibility and also when CSS is not available for some reason. If the main CSS gets a special class on the UL of the extra items and it becomes a nested list inside a main one of the .paradeiser one this should be easy to do.
Paradesier is not working properly for me on small screens (specifically iPad Mini and iPhone 5). It breaks. I am not sure if some of my CSS is conflicting with Paradesier. If you could nudge me in the right direction I would greatly appreciate it!
my site lives at: http://aboutmonica.com/siterehaul/#
Love love love this plugin. Just wondering if the above could be implemented and then it would be perfect!
Hi
I would like to see the demo of Automatic hiding of the navbar using Headroom.js
on paradeiser's website, but it links to the source code of demo page.
I think maybe "demo5.html" should move to gh-pages branch.
So that we could see the demo directly on browser.
Thanks!
Hello,
The <span class="paradeiser_dropdown">
can't be a SPAN element because it's not valid to have an UL element inside.
HTML basics :)
Good luck.
I can't find paradeiser on npmjs https://www.npmjs.com/package/paradeiser are you going to put it on there?
Sorry, not a real issue, but since I guess you've used this IRL I would like to ask your input.
I really like this pattern a lot, and your plugin seems to solve it neetly.
But how can I implement this on a website with multiple levels?
Use of a second navigation on subpages, breadcrumbs, related pages etc, whats your take on it?
Thanks!
Hey there,
I'm happy to see there is fairly consistent updating of Paradeiser. Having said that, it's quite a hassle to keep redownloading a CSS file and uploading it to my server every time there is an update. Consequently, is it possible to have Paradeiser hosted on a CDN?
Thanks,
Theo
Hi there,
Thanks for this plugin. I'm testing it in a project that is using Tidy extension to clean and repair bad markup. The code needs some minor repairs to be fully compatible with it.
Regards,
Alex
Please update your markup when you have the time. I'm starting to get frustrated by so many people (not the author of this great menu package) who neglect more semantic markup in favor of "DIVitus". For example, you could replace <div class="paradeiser"></div>
with <nav class="paradeiser"></nav>
.
Nice work on this great "menu-maker" and great job at keeping it simple and slim! #awesome-job
js can no longer be used normally, the version has been updated 0.12.0
Beim öffnen des More-Menüs werden bei mir nicht alle eingebundenen Menueinträge angezeigt, beim versuch auf dem Device runterzuscrollen verschwindet das Menü.
Wenn ich beim unten eingefügten Script die Zeile entferne bleibt das Menü bestehen aber scrollt nicht mit.
Ich habe bereits mit CSS Overflow rumgespielt aber ohne Erfolg.
Hast du eine Idee ?
// enabling headroom
var myElement = document.querySelector(".paradeiser");
var headroom = new Headroom(myElement, {
tolerance: 5,
onUnpin: function() {
//document.getElementById("paradeiser-more").classList.remove("open");
}
});
headroom.init();
I want to have a materialize dropdown list in my paradeiser menu as one of my links but the css for .paradeiser ul
effects all unordered lists within the menu and breaks my dropdown. A change to .paradeiser ul.paradeiser_children
would allow other unordered lists within the menu, such as button dropdowns etc.
Paradeiser seems to have a rendering problem in both Chrome and Safari for iPhone. I have not checked this in other iOS browsers that are avaliable however I can confirm Paradeiser does work in Chrome for Android having been checked by @pierr3.
Screenshot from Chrome for iOS is below. The behaviour is similar in Safari.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.