ev3dev.github.io icon indicating copy to clipboard operation
ev3dev.github.io copied to clipboard

os tabs should be separate pages

Open dlech opened this issue 9 years ago • 1 comments

On pages like the connecting with USB tutorials, we have essentially 3 or more pages being loaded on a single page with tabs implemented by javascript.

It would be better to have these as a single page per os. It will make them easier to link to and page loads won't have to load nearly so many images, which is nice for people on slow or metered connections.

We can still do the tab thing, but the tabs will just link to new pages instead of modifying the current page. We will need some sort of include for the tabs so that they are the same on each page without duplicating code.

dlech avatar Dec 10 '16 03:12 dlech

Hmmm... this is an interesting problem. I'm a bit wary of using tabs which load a new page (because waiting for a tab control to change could be annoying, especially if you accidentally clicked the wrong one). Another option could be making the main "landing" page for a given topic just a control to direct you to the OS-specific versions of the page, and then having the OS-specific pages configured with a link in the header that said something like "This is part of our series on ; click here to see other versions of this tutorial." What do you think about that? I'm contemplating what other options we might have here, but am not completely happy with them so far.

WasabiFan avatar Dec 10 '16 03:12 WasabiFan