I am using Internet Explorer Mobile on a Windows Mobile 5 based T-Mobile Dash. The current site works fine, and on the new one I can enter my email address and password, but when I highlight the log in button and try selecting it, nothing happens.
Jeff - Editor - CoasterBuzz.com - My Blog
Also on a side note, the register button suffers the same fate on my device (I tried creating an account there just to test).
I'll see if I can try it tonight at work to see if the buttons look any different on a PC...
and that's kinda weird if they're the same buttons, because the ones here on the old version work fine.
It caused us some intermittent grief on implementation of our latest system upgrade, sounds *vaguely* similar...just a thought.
Jeff - Editor - CoasterBuzz.com - My Blog
The weird part that stumps me is that in the mobile browser, once a particular hyperlink has the focus it keeps the focus until you scroll to another one, even if it's not visible on the actual screen (so if you scroll down without finding a link and press the select key, normally it will STILL follow the link that last had the focus, be it a standard anchor tag in html or a form submit button) This just sits there. No indication of a selected link, no error message... nothing.
As for the css trick... I understand what you're referring to that it's not actually clicked... but on my device it has the "moused over" look all the time - regardless if the focus is on the button or another control (like the text box next to it). I'm wondering if your CSS implementation differs from cbuzz, and if so I'm thinking it might interfere with the mobile IE and how it's rendering the buttons in some way.
Jeff - Editor - CoasterBuzz.com - My Blog
I know you're probably going to discount it as a possibility, but it seems to be the only difference between the coasterbuzz login that works for me, and the beta login which doesn't.
- Ryan - http://www.tideblue.com/painter/
And if I'm right about this, then you were right about the CSS not interfering, Jeff.
I finally got to a computer and did a little looking at the html code from the not-logged-in version of both pages, and found out that there's another *HUGE* difference in the logins between the 2 sites:
On Coasterbuzz, the login graphic is actually a form submit button, so when I "click" on it, I'm just submitting a form and the server processes the information like a standard HTML page would without any sort of DB or extended programming. One doesn't even need a database to have a form in that manner (although obviously in this case for loggin in, one would need to grab the login information from somewhere. :) )
On the beta, as you said, it's just a hyperlink. The snafu comes in that the source for the hyperlink is a javascript reference to an intrisic function you wrote to handle it. From what I can gather, it doesn't use a form submit at all (unless that function forces a form submit without further user interaction since they already clicked the link to start the process rolling).
My next task is to doublecheck whether or not (and to what extent) the mobile Internet Explorer for Windows Mobile 5 is compatible with javascript. As I tell most of the customers that call in to me when one specific site won't display, "some sites use extended programming that may not be compatible with the mobile browser. There may be a 3rd-party software available that may allow it, but it's not supported directly through T-Mobile. Your best bet would be to contact the website administrator and see if there's a mobile-capable version of that page available."
...I'm glad I do that stuff for a living - it gives me a lot more resources to check! :)
P.S. Failing that, Jeff, is there any possible way you'd be able to make a mobile-capable version of the login/register pages designed with a form submit rather than javascript hyperlink? It would only need to be the login page -- cookies work fine, so once I chose 'save login', I wouldn't have any problems with the rest of the site. (As it is, I can still navigate the site just fine on my Dash.. I just can't log in or register) I realize the answer would probably be no for the beta, but something to consider for the full release, and I would be very happy to test it for you and make sure it's working :)
No way am I going to change that arrangement, because it works in every other browser, and it's more flexible for a lot of reasons. I'll screw around with the emulator if I have time, but it's not a priority.
As for Sarari, I'll check on that later, but I know people that have been using it for years on this site.
Jeff - Editor - CoasterBuzz.com - My Blog
Thanks for the information. I'll do some more research an keep you up to date on my progress in case it comes up with someone else. If worse comes to worse I'll try logging in on a PC and copying the cookie to my mobile device
Jeff - Editor - CoasterBuzz.com - My Blog
AV Matt
Long live the Big Bad Wolf
As for why the button isn't working.. I just re-read your other post, and noticed you said that the submit on the replies are coded the same way. Obviously, those work well because (with the exception of this post I'm making now) all other posts in this topic and for the past month or so were completely and totally on my Dash.
That makes it particularly puzzling as to why it works here, but not there.
I mean no disrespect, but is there a semi-colon or some other very very minor typo somewhere that the "big browsers" are overlooking that is causing the mobile browser to snag when processing the function call? Is there anything else, however trivial it may seem to you, that is different between the implementation of the replies-submit and the implementation on the login of the beta that may be causing it? maybe a hard-coded URL reference somewhere or even where the handler appears in relation to other html tags? (just trying to think of possible errors that I myself have made in my web authoring past that took days to find what I did wrong)
Actually, I think I may have found it. I don't know enough about how your site is coded to know if this is going to be changeable. As I was writing this reply, I took another look at the code from this page (which works) and the beta page (which doesn't work), and pasted them into a text document side-by-side to compare, and have the following observation (edited for brevity and comparison purposes, working code first):
--------------------
function __doPostBack(eventTarget, eventArgument) {
var theform;
[if statement to handle a condition that could be different based on the browser]
[stuff to actually handle the request]
}
--------------------
var theForm = document.forms['aspnetForm'];
[if statement to handle a condition that could be different based on the browser]
function __doPostBack(eventTarget, eventArgument) {
[stuff to actually handle the request]
}
--------------------
Items of note is that within the first (working) example, the variable declaration is within the function definition. The second, although it's still within a javascript tag, it's not explicitly defined within the definition. Instead, it is defined (along with error catching based on browser version to make the rest work) outside of the function. So, my thinking now is that either the variable definition and/or error catching if statement is not being processed when the rest of the function is called (using a mouse click), which is causing it to basically stare at me when I click, instead of submitting the form. Would it be possible to encapsulate those definitions inside the function, or is it not possible based on the rest of your programming?
This could be an issue because of the relatively limited memory of mobile devices and mobile IE trying to conserve memory (almost like in the old days of DOS :) )
Jeff - Editor - CoasterBuzz.com - My Blog
Jeff - Editor - CoasterBuzz.com - My Blog
Edit:
purely for testing purposes, can you temporarily put it back inside the function to see if that is indeed what's causing it? *** Edited 1/5/2007 9:36:50 PM UTC by dannerman***
You must be logged in to post