Check out Janggi (Korean Chess), our featured variant for December, 2024.


[ Help | Earliest Comments | Latest Comments ]
[ List All Subjects of Discussion | Create New Subject of Discussion ]
[ List Earliest Comments Only For Pages | Games | Rated Pages | Rated Games | Subjects of Discussion ]

Comments/Ratings for a Single Item

Earlier Reverse Order Later
The Menus[Subject Thread] [Add Response]
F Duniho wrote on Fri, May 11, 2018 07:25 PM UTC:

While I'm charging my iPad and have errands to run, I'll see if anyone else has any ideas on this. For a while now, the mobile menu has not been working for the Play subdomain on the iPad and iPhone. When you touch the hamburger image to display the menu, nothing happens. Seeking to fix this today, I created a test page called http://play.chessvariants.com/menutest.html for which the mobile menu will work on my iPad. However, the fix involves leaving in code for displaying an Amazon ad in the footer. The main reason the mobile menu worked on my iPad for the main domain was that Amazon ads were appearing in the footer, the reason they didn't work in the Play subdomain is that these pages did not include Amazon ads in the footer. Since these ads were targeted at Americans, this means that the mobile menus may not have been working on any iPads or iPhones outside of the United States. Although I've pared down the Amazon code, I still haven't figured out what it is doing to make the mobile menu work on the iPad. All I can really tell is that the problem probably has to do with JavaScript, and the solution will probably involve JaveScript. The menu uses JavaScript, and the code for the mobile menu is at menucontrols-mobile.js For the sake of comparison, the code for the desktop menu is at menucontrol-main.js. The CSS and HTML for the menus can be seen in the page source. The mobile menus work fine on other devices. This problem is specific to the iPad/iPhone, and it does not affect the desktop menus, which work well on my iPad. Does anyone have any idea how to fix this or what the Amazon code might be doing to help the hamburger button to work?


Greg Strong wrote on Fri, May 11, 2018 07:51 PM UTC:

Strange.  For what its worth, the hamberger menu has worked fine on an Android phone, including the play subdomain.


F Duniho wrote on Fri, May 11, 2018 09:36 PM UTC:

That's my experience too. This problem seems isolated to the iPad and iPhone, and the browser doesn't seem to matter. I have been having this problem with both Chrome and the default browser. I can't install Firefox on my iPad 2, but I just installed Opera and encountered the same problem.


Greg Strong wrote on Sat, May 12, 2018 02:14 AM UTC:

Ok, I didn't know if you had an Android.  That's really, really odd that changing browsers makes no difference.  That makes no sense at all.  Hopefully someone will have an idea.  I can post on the TalkChess technical forum this weekend.  That's a forum of programmers so someone there should have suggestions.


🕸Fergus Duniho wrote on Sat, May 12, 2018 11:41 AM UTC:

I added some lines that got the hamburger button to open the menu, though I still have to look into what to do to get it to close. I'll do that and check it out on other devices later.


5 comments displayed

Earlier Reverse Order Later

Permalink to the exact comments currently displayed.