diff options
author | Scott Main <nobody@android.com> | 2009-07-21 10:52:10 -0700 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-07-21 10:52:10 -0700 |
commit | a8d035ccf319e1aed685a1e1509681350f737fd1 (patch) | |
tree | 1f89c4030782d1e2460b7867eeb0cfc7856d15c0 /docs | |
parent | 695f3f05ad8deb387d45ce28c319cd0b1951d486 (diff) | |
download | frameworks_base-a8d035ccf319e1aed685a1e1509681350f737fd1.zip frameworks_base-a8d035ccf319e1aed685a1e1509681350f737fd1.tar.gz frameworks_base-a8d035ccf319e1aed685a1e1509681350f737fd1.tar.bz2 |
AI 150594: change the homepage markup and styles to allow variable height in
the carousel bulletin items
also move the IO announcement into the carousel and add an ADC2 announcement
ALSO change the carousel script to write all bulletins to the DOM right away and show/hide them, instead of reading from the JSON and writing to the DOM each time on the fly
Automated import of CL 150594
Diffstat (limited to 'docs')
-rw-r--r-- | docs/html/index.jd | 33 | ||||
-rw-r--r-- | docs/html/intl/ja/index.jd | 29 |
2 files changed, 38 insertions, 24 deletions
diff --git a/docs/html/index.jd b/docs/html/index.jd index 5732b49..c39e9a8 100644 --- a/docs/html/index.jd +++ b/docs/html/index.jd @@ -11,21 +11,19 @@ home=true </div><!-- end homeTitle --> <div id="announcement-block"> <!-- total max width is 520px --> - <img src="/assets/images/home/IO-logo.png" alt="Google I/O Developer Conference 2009" width="242px" /> - <div id="announcement" style="width:270px"> - <p>The Google I/O developer conference took place May 27-28 in San Francisco. - If you missed the conference, you can experience the Android sessions - by viewing YouTube videos.</p> - <p><a href="{@docRoot}videos/index.html">See the sessions from Google I/O »</a></p> + <img src="/assets/images/home/android_adc.png" alt="Android Developer Challenge 2" width="232px" /> + <div id="announcement" style="width:275px"> + <p>The second Android Developer Challenge has begun! In this contest, + real-world users will help review and score applications and the overall winner will + take away $250,000. The deadline for submitting an application to the contest is August 31, 2009.</p> + <p><a href="http://code.google.com/android/adc/">Learn more about ADC 2 »</a></p> </div> <!-- end annoucement --> </div> <!-- end annoucement-block --> </div><!-- end topAnnouncement --> - <div id="carousel"> - <div id="carouselMain"> - <div id="bulletinImg"></div> - <div id="bulletinDesc"></div> - </div> + <div id="carouselMain" style="height:192px"> <!-- this height can be adjusted based on the content height --> + </div> <div class="clearer"></div> + <div id="carouselWheel"> <div class="app-list-container" align="center"> <a href="javascript:{}" id="arrow-left" onclick="" class="arrow-left-off"></a> <div id="list-clip"> @@ -33,10 +31,10 @@ home=true <!-- populated by buildCarousel() --> </div> </div><!-- end list-clip --> - <a href="javascript:{}" id="arrow-right" onclick="" class="arrow-right-off"></a> + <a href="javascript:{ page_right(); }" id="arrow-right" onclick="" class="arrow-right-on"></a> <div class="clearer"></div> </div><!-- end app-list container --> - </div><!-- end carousel --> + </div><!-- end carouselWheel --> </div><!-- end homeMiddle --> <div style="clear:both"> </div> @@ -127,6 +125,15 @@ home=true 'title':"Android 1.5 SDK", 'desc': "<p>Android 1.5 SDK is now available. It includes new APIs for Android 1.5, updated developer tools, multiple platform versions, and a Google APIs add-on.</p><p><a href='{@docRoot}sdk/1.5_r3/index.html'>Download Android 1.5 SDK »</a></p>" }, + + 'io': { + 'layout':"imgLeft", + 'icon':"io-small.png", + 'name':"Google I/O", + 'img':"io-large.png", + 'title':"Google I/O Developer Conference", + 'desc': "<p>The Google I/O developer conference took place May 27-28 in San Francisco. If you missed the conference, you can experience the Android sessions by viewing YouTube videos.</p><p><a href='{@docRoot}videos/index.html'>See the sessions from Google I/O »</a></p>" + }, 'mapskey': { 'layout':"imgLeft", diff --git a/docs/html/intl/ja/index.jd b/docs/html/intl/ja/index.jd index ebbfcca..a5378c9 100644 --- a/docs/html/intl/ja/index.jd +++ b/docs/html/intl/ja/index.jd @@ -11,19 +11,17 @@ home=true </div><!-- end homeTitle --> <div id="announcement-block"> <!-- total max width is 520px --> - <img src="/assets/images/home/IO-logo.png" alt="Google I/O Developer Conference 2009" width="242px" /> - <div id="announcement" style="width:270px"> - <p>Google I/O は、サンフランシスコの Moscone Center で 5 月 27~28 日に開催された開発者会議です。このイベントに参加できなかった方は、各アンドロイド向けセッションを、YouTube ビデオ資料で体験する事が可能です。</p> - <p><a href="{@docRoot}videos/index.html">セッションを参照してください »</a></p> + <img src="/assets/images/home/android_adc.png" alt="Android Developer Challenge 2" width="232px" /> + <div id="announcement" style="width:275px"> + <p>第2Android Developer Challengeが、遂に登場しました!このアプリケーション開発コンテストでは、Androidのユーザなら誰でも簡単に参加でき、一等の賞金は$250,000 です。登録の締切日は8月31日になります。</p> + <p><a href="http://code.google.com/android/adc/">Android Developer Challengeについて詳しくはこちら »</a></p> </div> <!-- end annoucement --> </div> <!-- end annoucement-block --> </div><!-- end topAnnouncement --> - <div id="carousel"> - <div id="carouselMain"> - <div id="bulletinImg"></div> - <div id="bulletinDesc"></div> - </div> + <div id="carouselMain" style="height:210px"> <!-- this height can be adjusted based on the content height --> + </div> <div class="clearer"></div> + <div id="carouselWheel"> <div class="app-list-container" align="center"> <a href="javascript:{}" id="arrow-left" onclick="" class="arrow-left-off"></a> <div id="list-clip"> @@ -31,10 +29,10 @@ home=true <!-- populated by buildCarousel() --> </div> </div><!-- end list-clip --> - <a href="javascript:page_right()" id="arrow-right" onclick="" class="arrow-right-off"></a> + <a href="javascript:{ page_right(); }" id="arrow-right" onclick="" class="arrow-right-on"></a> <div class="clearer"></div> </div><!-- end app-list container --> - </div><!-- end carousel --> + </div><!-- end carouselWheel --> </div><!-- end homeMiddle --> <div style="clear:both"> </div> @@ -125,6 +123,15 @@ home=true 'title':"Android 1.5 SDK", 'desc': "<p>Android 1.5 SDK の最新バージョンが公開されました。このリリースには Android 1.5 用の API、最新版デベロッパーツール、複数プラットフォーム(バージョン)サポート、そして Google API のアドオンが含まれています。</p><p><a href='{@docRoot}sdk/1.5_r3/index.html'>Android 1.5 SDK をダウンロード »</a></p>" }, + + 'io': { + 'layout':"imgLeft", + 'icon':"io-small.png", + 'name':"Google I/O", + 'img':"io-large.png", + 'title':"Google I/O Developer Conference", + 'desc': "<p>Google I/O は、サンフランシスコの Moscone Center で 5 月 27~28 日に開催された開発者会議です。このイベントに参加できなかった方は、各アンドロイド向けセッションを、YouTube ビデオ資料で体験する事が可能<nobr>です</nobr>。</p><p><a href='{@docRoot}videos/index.html'>セッションを参照してください »</a></p>" + }, 'mapskey': { 'layout':"imgLeft", |