Change font size
It is currently Tue Jul 07, 2020 7:44 pm

Post a new topicPost a reply Page 1 of 1   [ 1 post ]
Author Message
 Post subject: Slight site UX tweak.
PostPosted: Sat Dec 21, 2013 3:46 am 
Is this thing on?

Joined: Sat Dec 21, 2013 3:34 am
Posts: 1
Sex: Male
How did you find out about SI Radio?:
By changing the menu divs from
<div class="menuitem" id="m_schedule"></div>
<div class="menuitem" id="m_chat"></div>
<div class="menuitem" id="m_forum"></div>
<div class="menuitem" id="m_charts"></div>
<div class="menuitem" id="m_apply"></div>
<div class="menuitem" id="m_donate"></div>
<a href="" style="display:block" class="menuitem" id="m_schedule"></a>
<a href="" style="display:block" class="menuitem" id="m_chat"></a>
<a href="" style="display:block" class="menuitem" id="m_forum"></a>
<a href="" style="display:block" class="menuitem" id="m_charts"></a>
<a href="" style="display:block" class="menuitem" id="m_apply"></a>
<a href="" style="display:block" class="menuitem" id="m_donate"></a>

(style="display:block" can be added to css .menuitem)

you gain
* Right Click -> Open in new tab so if you are chating, you can easily open the schedule in a new tab.
* The block default navigation is already handled by the $("body").on("click", "a", function(event) in siradio.js
and it removes the need for
$("#m_chat").on("click", function(event) {
$("#m_forum").on("click", function(event) {'','_blank');
$("#m_schedule").on("click", function(event) {
$("#m_charts").on("click", function(event) {
$("#m_apply").on("click", function(event) {
$("#m_donate").on("click", function(event) {

Display posts from previous:  Sort by  
Post a new topicPost a reply Page 1 of 1   [ 1 post ]

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
610nm Style by Daniel St. Jules of