Quantcast
  • Register
PhysicsOverflow is a next-generation academic platform for physicists and astronomers, including a community peer review system and a postgraduate-level discussion forum analogous to MathOverflow.

Welcome to PhysicsOverflow! PhysicsOverflow is an open platform for community peer review and graduate-level Physics discussion.

Please help promote PhysicsOverflow ads elsewhere if you like it.

News

New features!

Please do help out in categorising submissions. Submit a paper to PhysicsOverflow!

... see more

Tools for paper authors

Submit paper
Claim Paper Authorship

Tools for SE users

Search User
Reclaim SE Account
Request Account Merger
Nativise imported posts
Claim post (deleted users)
Import SE post

Users whose questions have been imported from Physics Stack Exchange, Theoretical Physics Stack Exchange, or any other Stack Exchange site are kindly requested to reclaim their account and not to register as a new user.

Public \(\beta\) tools

Report a bug with a feature
Request a new functionality
404 page design
Send feedback

Attributions

(propose a free ad)

Site Statistics

123 submissions , 104 unreviewed
3,547 questions , 1,198 unanswered
4,552 answers , 19,366 comments
1,470 users with positive rep
411 active unimported users
More ...

De-cluttering the navigation bar

+ 3 like - 0 dislike
49 views

The Navigation Bar is currently too crowded. 

For an anonymous user, it looks somewhat fine, but still, ugly:    

     

For a registered user with just at least 200 points, it looks quite cramped and very ugly:  

  

For a super-administrator, it is extremely cramped, and horribly ugly.  

  

Compare this to something like this: 

It looks much neater. I have placed the "Featured !" and the tabs that cannot be seen by anonymous users, at the top. 

It contains all the same links, but it looks neater and less cramped. As with all my previous attempts to add scripts through the Admin Panel, it worked through tampermonkey: 

$("div.qa-main-wrapper").before("<ul class='qa-nav-admin'></ul>");     
$("ul.qa-nav-admin").append($("li.qa-nav-main-admin"));          
$("ul.qa-nav-admin").append($("li.qa-nav-main-custom-1"));           
$("ul.qa-nav-admin").append($("li.qa-nav-main-custom-11"));
$("ul.qa-nav-admin").append($("li.qa-nav-main-custom-18"));   
$("ul.qa-nav-admin").append($("li.qa-nav-main-custom-26"));   
$("ul.qa-nav-admin").append($("li.qa-nav-main-custom-7"));            
$("ul.qa-nav-admin").append($("li.qa-nav-main-custom-22"));           
$("ul.qa-nav-admin").append($("li.qa-nav-main-custom-9"));    
$("ul.qa-nav-admin").append($("li.qa-nav-main-custom-28"));      
$("ul.qa-nav-admin").css("list-style-type", "none");   

Unfortunately, however, it did not work through the actual admin panel : (   

So, could the above-mentioned script please be added through the actual Q2A files? 

asked Mar 18, 2014 in Feature Request by dimension10 (1,950 points) [ revision history ]
edited Mar 22, 2014 by dimension10

1 Answer

+ 1 like - 0 dislike

I have put your script into the window.load() function already existing in the custom HTML in the <head> section of every page. Inserting this functionality into Q2A would require a core hack. Is it this what you wanted?

answered Mar 21, 2014 by polarkernel (0 points) [ no revision ]

@polarkernel Thanks! It's working!   

Your answer

Please use answers only to (at least partly) answer questions. To comment, discuss, or ask for clarification, leave a comment instead.
To mask links under text, please type your text, highlight it, and click the "link" button. You can then enter your link URL.
Please consult the FAQ for as to how to format your post.
This is the answer box; if you want to write a comment instead, please use the 'add comment' button.
Live preview (may slow down editor)   Preview
Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
If you are a human please identify the position of the character covered by the symbol $\varnothing$ in the following word:
p$\hbar$y$\varnothing$icsOverflow
Then drag the red bullet below over the corresponding character of our banner. When you drop it there, the bullet changes to green (on slow internet connections after a few seconds).
To avoid this verification in future, please log in or register.




user contributions licensed under cc by-sa 3.0 with attribution required

Your rights
...