Closed
Bug 501963
Opened 16 years ago
Closed 15 years ago
"We're building" rotating with "We believe"
Categories
(www.mozilla.org :: General, enhancement, P3)
www.mozilla.org
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dina.shvayakova, Assigned: dina.shvayakova)
References
()
Details
Attachments
(3 files, 6 obsolete files)
|
855 bytes,
patch
|
Details | Diff | Splinter Review | |
|
1.37 KB,
patch
|
reed
:
review+
|
Details | Diff | Splinter Review |
|
1.07 KB,
patch
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; ru; rv:1.9.0.11) Gecko/2009060308 Ubuntu/9.04 (jaunty) Firefox/3.0.11
Build Identifier:
"We're building..." appears instead of "We believe..." every 5 sec (and vice versa). It supposed to look like smbd's typing it.
Reproducible: Always
Updated•16 years ago
|
Attachment #386517 -
Flags: review?(reed)
Updated•16 years ago
|
Attachment #386519 -
Flags: review?(reed)
Comment 4•16 years ago
|
||
Comment on attachment 386517 [details] [diff] [review]
index-patch
This isn't <noscript> safe. If we're going to use JavaScript for this, we need to always display something and then change it later. Showing nothing just means people with JS disabled won't see anything at all.
Attachment #386517 -
Flags: review?(reed) → review-
Updated•16 years ago
|
Attachment #386519 -
Flags: review?(reed)
Updated•16 years ago
|
Attachment #386520 -
Flags: review?(reed)
Comment 5•16 years ago
|
||
Comment on attachment 386520 [details] [diff] [review]
mozilla.org.js-patch
Reed, could you take a look over this patch before I check it in? If anyone else more familiar with JS than I am wants to review this, feel free.
Comment 6•16 years ago
|
||
Comment on attachment 386520 [details] [diff] [review]
mozilla.org.js-patch
Also need to make this localizable besides my comments above.
Attachment #386520 -
Flags: review?(reed) → review-
the default value ('We believe') has been added. now it is safe for user with JS disabled.
Updated•16 years ago
|
Attachment #387349 -
Flags: review?(reed)
Comment 8•16 years ago
|
||
Comment on attachment 387349 [details] [diff] [review]
index.php.patch
Shouldn't you give it an id at least, or are you saying the <span> inside the <h1> with id moral? Probably be best to just give the <span> an id.
It is <noscript> safe. Text is localizable.
Attachment #386517 -
Attachment is obsolete: true
Attachment #387349 -
Attachment is obsolete: true
Attachment #387349 -
Flags: review?(reed)
| Assignee | ||
Comment 10•16 years ago
|
||
Attachment #386520 -
Attachment is obsolete: true
Comment 11•16 years ago
|
||
Hi tinawiel, I'd change the index.php code so that
a) the initial 'display' style is given via ID, not with an attribute
b) the page makes sense when CSS is turned off, i.e. don't mush both sentences into one <h1> tag. Either use two <h1> tags or two <p> tags or something like that.
Other than that it looks pretty good. reed might have some other comments, I'm not too familiar with the js framework here.
| Assignee | ||
Comment 12•16 years ago
|
||
It is a problem to show only one text with JS disabled and CSS disabled (ex: show 'We're building' but hide 'We believe' )
Is it okey to use <input type=hidden...> for this purpose? Or is it acceptable to show both "We're building" and "We believe" and the same time when JS and CSS are disabled ?
Comment 13•16 years ago
|
||
I think it makes sense to show both when CSS is off, with "We believe" placed before "We're building".
| Assignee | ||
Comment 14•16 years ago
|
||
Attachment #387370 -
Attachment is obsolete: true
| Assignee | ||
Comment 15•16 years ago
|
||
Attachment #386519 -
Attachment is obsolete: true
| Assignee | ||
Comment 16•16 years ago
|
||
This is <noscript> and no-CSS safe. Text is localizable.
Attachment #387372 -
Attachment is obsolete: true
Comment 17•16 years ago
|
||
Reed or fantasai, would one of you be able to review the latest set of patches for this? Now that the new design is up, it would be good to get the rotation working.
Comment 18•16 years ago
|
||
I'm not a JS person, so I don't claim to understand how
$('#moral-one').css('display','block');
works, but assuming it does it all looks good to me. :) r=fantasai
Updated•16 years ago
|
Attachment #387788 -
Flags: review?(reed)
Updated•16 years ago
|
Attachment #387789 -
Flags: review?(reed)
Updated•16 years ago
|
Attachment #387790 -
Flags: review?(reed)
Updated•16 years ago
|
Assignee: nobody → dina.shvayakova
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 19•16 years ago
|
||
Comment on attachment 387788 [details] [diff] [review]
index.php
This will display both "morals" at the same time if JS is off. Is that really what we want? How does the page look with both of them displayed?
Updated•16 years ago
|
Attachment #387789 -
Flags: review?(reed) → review+
Comment 20•16 years ago
|
||
Comment on attachment 387789 [details] [diff] [review]
screen.css
yeah, sure, r=reed
Comment 21•16 years ago
|
||
Comment on attachment 387790 [details] [diff] [review]
mozilla.org.js
waiting on an answer to my other comment before reviewing this... also need to get my testing environment back up to actually test it.
Comment 22•16 years ago
|
||
Re question #19, it would be helpful to have a screenshot to look at. Reed, is that something you could post when your testing environment is back up?
Comment 23•16 years ago
|
||
We can have one of them "display: none" via CSS, then let the JS rotate it from there.
Updated•16 years ago
|
Priority: -- → P3
Comment 24•15 years ago
|
||
We added this to the home page with the recent design refresh.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Component: www.mozilla.org → General
Product: Websites → www.mozilla.org
You need to log in
before you can comment on or make changes to this bug.
Description
•