No problem at all! I know sometimes when I'm working on a problem, things get overly complicated and it often helps to have a fresh perspective to simplify it again.
Seems to me that what you really need to do is to round to the nearest millionth, rather than using toFixed(). This way, there will never be trailing zeros, and the number will never be more than 6...
Also, you can actually simulate a keypress. jQuery has a method "trigger" attached to it's objects for triggering events. I don't know how it's accomplished, but I do know it works for jQuery, so...
What are you trying to trigger with the Enter key? Are you trying to cause the form to submit? Or are you trying to enter a newline? What does the enter key do? If it fires some function, simply call...
Can you give us a URL to look at, or post your output HTML here on the forum so we can get something to work with? The PHP shouldn't be outputting an actual YouTube video object, rather it should...
Well, since you created "x" and "y" inside your getValueNext() and getValuePrev() functions, the variables do not exist outside of those functions. Their scope is local. You'll need to give them a...
document.write is a runtime method and is used in a linear execution of your code. In other words, document.write must be used while the document is being written, or a new one will be created.
...
I think it's important to make it clear that by "faster" you mean "faster to program". In the case of many iterations of a loop, createElement() is faster for the browser to execute. .innerHTML...
What markup language and version are you using? If you're using XHTML, it will fail in some browsers because the "script" content model is NOT empty. The browser expects something to be between the...
By default, headers do start on a new line, unless you're modifying them by element attributes or through the CSS. Also by default, they have margins above and below them and a larger font size.
Yeah, I got excited by the report I just read from W3Schools which holds FF first, however I didn't even think to look at their source... it's their own website, who's audience generally seeks out...
It sounds like your spring-back animation is the problem. Can you post that script? I suspect it's because you're not really creating a true animation queue, so stop() doesn't really have anything...
Whether or not HTML5 validates as HTML 4.0, the link that the OP provided saying it's not a "logoable" website actually has a logo at the very bottom for just that: http://www.w3.org/QA/Tools/Icons
...
Nice, well then that's good. If it works, it works! Strange that I still get the confirmation in my IE9, but like you said, it doesn't matter. Excellent, good luck with the app!
Yes, some things will still work in some browsers, but in Firefox, currently the most widely used browser, it won't work properly. In fact, it won't work in IE9 either, even in IE8 mode.