Talk:JavaScript: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
(re)
(Advanced JavaScript settings instructions for resetting "Change Images" pref in Fx1.5)
 
(2 intermediate revisions by 2 users not shown)
Line 1: Line 1:
===Spelling of JavaScript===
Mozcerize, can we ''please'' avoid using "JavaScript" name? I know that's how it was originally called, but that adds to the Java vs. Javascript confusion, looks funny, and I was already using "Javascript" wherever possible, including a category name ;p --[[User:Asqueella|asqueella]]
:Ah, OK, I'm not bothered either way. Feel free to change it. --[[User:Mozcerize|Mozcerize]]
:Changing a generally established name violates the principle of least surprize. Making it clear in the main article that [[JavaScript is not Java]] should be enough. —[[User:Fatalis|Fatalis]] 14:47, 25 Mar 2005 (PST)
:: Then go through all existing pages and change the capitalization. Using different names in different places is worse, whatever you call it. [[User:Asqueella|asqueella]]
:::I'll do it. —[[User:Fatalis|Fatalis]]
:::: thanks --[[User:Asqueella|asqueella]]
===Wording of article===
===Wording of article===


Line 21: Line 10:
We should *not* merge these two articles. See [[Talk:JavaScript is not Java | here]] for reasons why. --[[User:Mozcerize|Mozcerize]] 04:01, 29 Mar 2005 (PST)
We should *not* merge these two articles. See [[Talk:JavaScript is not Java | here]] for reasons why. --[[User:Mozcerize|Mozcerize]] 04:01, 29 Mar 2005 (PST)


== Javascript Buttons ==
===Including Scripting of Java Applets===
 
I don't think this is the appropriate place for this info. I suggest moving it to the development JavaScript article. [[User:Mozcerize|Mozcerize]] 01:20, 13 September 2005 (PDT)
I created a "?" button two different ways:
 
Button A:
<button onClick="listPriceHelp()" style="background-color: red"><font color=white><b>?</b></font></button>
Button B:
<input type=button  value=? style="background-color:red; color:white; font-weight:bold;" onClick="listPriceHelp()">
 
 
function listPriceHelp()
{
  alert("If you can buy the product at a higher price\nsomewhere else enter that price here\nwill show this price with a line through it.\n\nLeave blank to display nothing.");
}
 
 
In IE it sends the Alert and you hit OK and it comes back with both Button A & Button B.
In Firefox 1.0.2 it with Button B it works find.  With Button A it pops up the Alert and then Submits my form. I have added a "return false;" and it still does it.
 
Any thoughts on what's up?
 
Thanks
: This is not the right place to ask questions about JavaScript. Try some forums --[[User:Asqueella|asqueella]] 20:18, 14 Apr 2005 (PDT)


Then what is the "Discussion" board for?
==Advanced JavaScript settings==
: For discussing potentially controversial changes to the article. --[[User:Asqueella|asqueella]]
'''Change images''': After ''(This option has been removed from the Advanced JavaScript Settings window in Firefox 1.5.'',  I replaced the very detailed instructions for resetting the preference in Firefox 1.5 with a scaled-back version, since the  [[about:config]] article provides additional detail. [[User:Alice Wyman|Alice Wyman]] 15:24, 28 June 2006 (UTC)

Latest revision as of 15:24, 28 June 2006

Wording of article

I'm not a big fan of the rewording of this article: I think it is now harder for non-technical users to understand what JavaScript does. We should compromise somewhere between the under-technical and the over-technical. --Mozcerize 04:01, 29 Mar 2005 (PST)

I think that in this case less technical would also mean less accurate. If you want to make it perceptible for commoners, add a dumbed down rephrase. Note that I plan on expanding this article. —Fatalis
I would like to notice that we don't need an encyclopedic article here. Wikipedia's article is a great source for this kind information. This page should instead focus on what JavaScript means to end-users, for developers we can add a link to Development_resources#JavaScript.
For users simpler, not technically accurate description is better -- users don't care about ECMAScript or it being prototype-based, most probably don't even understand what it means. --asqueella

Including JavaScript is not Java article

We should *not* merge these two articles. See here for reasons why. --Mozcerize 04:01, 29 Mar 2005 (PST)

Including Scripting of Java Applets

I don't think this is the appropriate place for this info. I suggest moving it to the development JavaScript article. Mozcerize 01:20, 13 September 2005 (PDT)

Advanced JavaScript settings

Change images: After (This option has been removed from the Advanced JavaScript Settings window in Firefox 1.5., I replaced the very detailed instructions for resetting the preference in Firefox 1.5 with a scaled-back version, since the about:config article provides additional detail. Alice Wyman 15:24, 28 June 2006 (UTC)