Comments (9)
So this looks like it just adjusts the breakpoint toggle, but that still only makes it either desktop layout or mobile layout.
I was trying to make it dynamically change the menu based on the width of the page.
Here is a sample I mocked up to demonstrate what I was trying to accomplish.
This is what I thought @gerbrent was originally looking for.
Hopefully you can see from the gif that as the window shrinks the extra menu items get added to a 'more' menu. When it finally hits the break point it goes into mobile mode.
Upload.from.GitHub.for.iOS.MOV
from jupiterbroadcasting.com.
great idea, and see #88 for same (this topic should really be a separate ticket..)
from jupiterbroadcasting.com.
I started looking into this a little. It looks like the nav menu we are using (Bulma Navbar) doesn't have a clean way of truncating the links like you are requesting. From what I understand there are two layouts for this Navbar; Desktop and Mobile. Basically what is happening is when you shrink the width of the browser to a certain point it goes into mobile layout (with the hamburger). It looks to be an on or off type of deal (again from what I understand).
Part two of what you are asking for; Jupiter Broadcasting
link can stay on the Navbar the entire time whether in desktop or mobile layout. I am pulling together a PR for this now. Should have something to submit by morning.
from jupiterbroadcasting.com.
@Lord0fBytes, I have no idea if this would actually be helpful at all or not, but Bulma has these helper classes to deal with different screen width.
from jupiterbroadcasting.com.
@kbondarev While that doesn't quite look like it will work the way we want; ironically it took me to somewhere where I did find some helpful information... the site's source code ;-P.
Look like it can be done with some fairly simple (may regret saying that) javascripting that checks the width of the screen and hides elements.
from jupiterbroadcasting.com.
@Lord0fBytes, no javascript required. These things are handled with CSS media queries. Or in this case just a single SASS variable to set for bulma, check the PR #107
Solution inspired by this stackoverflow answer
from jupiterbroadcasting.com.
Neat!
This is what I thought @gerbrent was originally looking for.
I think it's worth investigating possible solutions, and I was hopefully just inspiring some creativity around this problem. Seems to have worked ; )
The unfortunate reality is that we will likely have many menu items, so a consistent, reliable method to make them user-friendly is the goal here. Open to all suggestions and opinions, certainly not just mine.
from jupiterbroadcasting.com.
There’s also an options of having drop downs.
Maybe we should make “shows” drop down with a list of shows. Kinda like the current JB site. What do you think?
from jupiterbroadcasting.com.
Ya I am working on the drop downs in 88. I was planning on doing 'Shows' and 'People'
from jupiterbroadcasting.com.
Related Issues (20)
- Contact form covered by footer HOT 3
- Periodic matrix federation check HOT 4
- Gather requirements for RSS feed generation HOT 4
- Scraper only commits to main HOT 10
- ChrisLAS Fountain referral link -> 404 HOT 2
- External links to open in new window/tab - Membership, Boost, Sponsors HOT 3
- GH auto deleting branches (on jb.com's repo) after merge HOT 1
- JB & Hacktoberfest - Let's participate! HOT 7
- Add SSH discount codes to Sponsors page
- Episode - browser page title to include show name HOT 1
- Geocatching details on site HOT 16
- Line length shortening (sitewide)
- Sponsors Page Enhancements
- jupiterbroadcasting.net expired SSL Certificate HOT 5
- LUP 480 - Geocache info missing from Links
- Automated building & publishing of website containers
- Include link to notes.jupiterbroadcasting.com
- welcome page zoomed in
- Contact - submit button hidden on missing field HOT 1
- dev workflow documentation - additions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jupiterbroadcasting.com.