Javascript and Android

Hello

I am developing a website. It seems to work well with with the exception of android platforms. Javascript seems to be an issue. I did some research on the subject and am overwhelmed. For example, most sights I have looked at talk about programming for a phone. Is a tablet the same as a phone - I am looking at responsive design - ? That is the level at which I am approaching this. Web sites on the subject seem to assume I am an expert to start off with. I looked on Amazon for some instructional books but all I can find are books relating to developing applications, which I think is different from websites. Maybe.

Anyway, I would appreciate it if anyone could point out a good place to start. The only assumption to consider is that in this area I know nothing.

Thanks

So, a couple of thoughts:

Responsive Web Design - you should know what this is, and, depending on your time budget here, if at all possible you should implement it.

are a couple of resources of the hundreds or thousands out there. In my humble opinion, if you’re going to be doing front end work, you should at minimum have a grasp on what RWD is, even if you aren’t an expert at it or anything. Just my opinion, others might disagree.

Solving Your Problem: Secondly, in order to assist you with your actual current problem, I guess we’d need more information. What sort of problem, specifically, is occurring? When? For just you, or other users? Using what browser? Have you any idea what JavaScript is the problem? Any code you could post? Etc etc.

2 Likes

Thank you for the response

The web site I am working on can be found at

garyswoodturning.com/test/index.php.

I have tested it it firefox, opera, msie, chrome, and safari using both windows and apple machines (including an ipad and all seems to work well. However, when I use an android based machine (both phone and tablet) and the drop down menu does not work and I cannot get past the index page. I really am not sure if it is the script or the operating system which is why I asked the question.

Maybe I am really missing something simple. I usually do.

Anyway, thanks for the reply.

Also, when I say android machine, on the tablet I have tested in all major browsers except safari. I have not found an android version it that one.

OK. Have you tested it on a windows or iOS device? My guess is that it’s probably your script playing poorly with touchscreens, and not really anything to do with Android itself, but I could be wrong.

You’re using onmouseover and onmouseout events which are bound to not be the best for touch screens…

Seeing code would be useful (Edit: Never mind, can see via devtools, ignore me :smiley: ) - and getting someone in here who’s more of a JS expert too :smiley:

Or, if you’d rather not sit and wait on us to sort through things, you could look up a tutorial on building a mobile friendly JavaScript drop-down menu, save what you have somewhere separate, and try doing the menu in a different way.

I now have the answer that the android operating system is not the culprit, but rather I have a script issue - which is as I had suspected. I will look around for a tutorial as you suggest.

This gives me a direction and something new to learn. This is my first foray into this type of environment.

Thanks a bunch!

1 Like

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.