mersenneforum.org  

Go Back   mersenneforum.org > Great Internet Mersenne Prime Search > PrimeNet

Reply
 
Thread Tools
Old 2014-09-26, 05:02   #34
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

B7216 Posts
Default

Much better now :)
Mark Rose is offline   Reply With Quote
Old 2014-09-26, 06:34   #35
retina
Undefined
 
retina's Avatar
 
"The unspeakable one"
Jun 2006
My evil lair

24×389 Posts
Default

Quote:
Originally Posted by Madpoo View Post
Here's a link where you can see what the home page looks like with the smartmenus in use. Like I mentioned, I'm ambivalent... I like the method, but the overall look using their pre-cooked theme leaves me "meh". A better font would probably do wonders. Not sure what they were thinking with "PT Sans Narrow"/"Arial Narrow". Once I started tinkering with the Chrome dev tools with fonts/sizes/etc. they do start to shine up prettier.
http://www.mersenne.org/hometest.php
You broke it. It used to work and now the sub-menus are useless.

Maybe it is worth stating that, in case you already didn't know, standard HTML supports menus out-of-the-box without needing all that JS voodoo. It also gives a consistent method of access across all web pages. When pages start using custom JS for everything then we lose all that consistency and get into trouble with unexpected results or no results at all.

Last fiddled with by retina on 2014-09-26 at 06:35 Reason: This spelling thing is hard :(
retina is online now   Reply With Quote
Old 2014-09-26, 06:46   #36
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

CF116 Posts
Default

Quote:
Originally Posted by retina View Post
You broke it. It used to work and now the sub-menus are useless.

Maybe it is worth stating that, in case you already didn't know, standard HTML supports menus out-of-the-box without needing all that JS voodoo. It also gives a consistent method of access across all web pages. When pages start using custom JS for everything then we lose all that consistency and get into trouble with unexpected results or no results at all.
So, I have to ask... is disabling javascript entirely something you do out of an abundance of security? Should I ask what you know that we don't know? :)

As far as I'm aware, all of the jquery plugins for the menus should still fail somewhat gracefully even if the browser has text/javascript blocked or isn't CSS3 aware. The javascript is used to help apply the CSS themes and do some of the fades and delays, but the bulk of the styling is done with CSS.

I mean, I could be wrong, but it seems like it should still have functionality even if JS isn't present. You may have caught it during some of my tweaking, but I'll disable javascript and see what happens.

If it's a problem, I can put a section in the header that detects lack of javascript support and shows a message that says "Hi Retina". :) Because it's probably only you. LOL
Madpoo is offline   Reply With Quote
Old 2014-09-26, 06:49   #37
Jayder
 
Jayder's Avatar
 
Dec 2012

2·139 Posts
Default

retina's comments might be something to think about, but if you do decide to keep on the same path, might I insist on at least trying a vertical expanding menu like one of the ones here?: http://jqueryui.com/accordion/#hoverintent

I realise that the above shows content panels and not menus, but I think it showcases the different styles well. There are plenty of jquery "accordion menus" out there for your choosing.

Maybe we can have a poll?

Last fiddled with by Jayder on 2014-09-26 at 06:51
Jayder is offline   Reply With Quote
Old 2014-09-26, 07:08   #38
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

3,313 Posts
Default

Quote:
Originally Posted by Jayder View Post
retina's comments might be something to think about, but if you do decide to keep on the same path, might I insist on at least trying a vertical expanding menu like one of the ones here?: http://jqueryui.com/accordion/#hoverintent

I realise that the above shows content panels and not menus, but I think it showcases the different styles well. There are plenty of jquery "accordion menus" out there for your choosing.

Maybe we can have a poll?
I was looking at some accordion menus earlier, so maybe.

FYI, the smartmenu plugin had a discussion about pure CSS fallback:
SmartMenus CSS fallback

Sigh...

Just add an exception to allow it for www.mersenne.org and call it good. :)
Madpoo is offline   Reply With Quote
Old 2014-09-26, 07:36   #39
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

55628 Posts
Default

Quote:
Originally Posted by Madpoo View Post
So, I have to ask... is disabling javascript entirely something you do out of an abundance of security? Should I ask what you know that we don't know? :)
I usually surf with JS disabled by default, too. I've enabled scripts served from mersenne.org though. It makes the web so much faster. All the annoying ads disappear, too. I realize that progressive-enhancement won't happen on every site and I selectively enable scripts when needed.
Mark Rose is offline   Reply With Quote
Old 2014-09-26, 07:50   #40
Madpoo
Serpentine Vermin Jar
 
Madpoo's Avatar
 
Jul 2014

3,313 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
I usually surf with JS disabled by default, too. I've enabled scripts served from mersenne.org though. It makes the web so much faster. All the annoying ads disappear, too. I realize that progressive-enhancement won't happen on every site and I selectively enable scripts when needed.
AdBlock Plus with Chrome. Ads magically vanish. :)

My only problem with ABP is when I'm testing our websites at work and I forget to whitelist our own sites... "hey ad ops, the ads are all missing! Oh, wait, umm... never mind..."
Madpoo is offline   Reply With Quote
Old 2014-09-26, 14:42   #41
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

2×5×293 Posts
Default

Quote:
Originally Posted by Madpoo View Post
AdBlock Plus with Chrome. Ads magically vanish. :)

My only problem with ABP is when I'm testing our websites at work and I forget to whitelist our own sites... "hey ad ops, the ads are all missing! Oh, wait, umm... never mind..."
Yeah, I've done that, too! Of the billions of page views we do, nearly all are 100% JavaScript+API. Thankfully I don't have to check customer sites in my role.
Mark Rose is offline   Reply With Quote
Old 2014-09-26, 15:04   #42
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

2×3×1,693 Posts
Default

I have used NoScript, Ghostery, and AdBlock Plus in Firefox for a long time. I've gotten used to spotting when things are missing from a page. My response tends to be "Temporarily allow all this page" in NoScript, followed, if necessary by "Pause Blocking" in Ghostery. I rarely have to do anything to AdBlock, and I see very few ads, especially the extremely distracting "flashing and dancing" variety.

It has become automatic for me and makes for a much quieter browsing experience. I also run Norton Internet Security and Malwarebytes Antimalware Premium, with auto-updating and scheduled scans for both.
kladner is offline   Reply With Quote
Old 2014-09-26, 15:10   #43
Mark Rose
 
Mark Rose's Avatar
 
"/X\(‘-‘)/X\"
Jan 2013

2·5·293 Posts
Default

I wish NoScript would work on a per-script basis, too, not just per-domain. It's annoying when multiple sites are hosing something off s3.amazonaws.com...
Mark Rose is offline   Reply With Quote
Old 2014-09-26, 15:33   #44
kladner
 
kladner's Avatar
 
"Kieren"
Jul 2011
In My Own Galaxy!

100111101011102 Posts
Default

Quote:
Originally Posted by Mark Rose View Post
I wish NoScript would work on a per-script basis, too, not just per-domain. It's annoying when multiple sites are hosing something off s3.amazonaws.com...
I rather think it does. Am I misunderstanding your statement?
Attached Thumbnails
Click image for larger version

Name:	noscript.jpg
Views:	121
Size:	101.3 KB
ID:	11765  
kladner is offline   Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Database design xilman Astronomy 1 2017-04-30 22:25
Theoretical Experiment Design c10ck3r Homework Help 7 2015-02-03 08:54
Digital Logic Design henryzz Puzzles 9 2014-12-04 20:56
new intel design tha Hardware 5 2007-04-19 11:38
design factoring algorithms koders333 Factoring 14 2006-01-25 14:08

All times are UTC. The time now is 21:32.


Sun Aug 1 21:32:42 UTC 2021 up 9 days, 16:01, 0 users, load averages: 1.62, 1.37, 1.43

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.

This forum has received and complied with 0 (zero) government requests for information.

Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.
A copy of the license is included in the FAQ.