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
160 lines
9.7 KiB
Plaintext
160 lines
9.7 KiB
Plaintext
home=true
|
||
@jd:body
|
||
|
||
|
||
<div id="mainBodyFixed">
|
||
<div id="mainBodyLeft">
|
||
<div id="homeMiddle">
|
||
<div id="topAnnouncement">
|
||
<div id="homeTitle">
|
||
<h2>デベロッパーへのお知らせ</h2>
|
||
</div><!-- end homeTitle -->
|
||
<div id="announcement-block">
|
||
<!-- total max width is 520px -->
|
||
<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="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">
|
||
<div style="left: 0px;" id="app-list">
|
||
<!-- populated by buildCarousel() -->
|
||
</div>
|
||
</div><!-- end list-clip -->
|
||
<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 carouselWheel -->
|
||
</div><!-- end homeMiddle -->
|
||
|
||
<div style="clear:both"> </div>
|
||
</div><!-- end mainBodyLeft -->
|
||
|
||
<div id="mainBodyRight">
|
||
<table id="rightColumn">
|
||
<tr>
|
||
<td class="imageCell"><a href="{@docRoot}sdk/index.html"><img src="{@docRoot}assets/images/icon_download.jpg" style="padding:0" /></a></td>
|
||
<td>
|
||
<h2 class="green">ダウンロード</h2>
|
||
<p>Android SDK には、優れたアプリケーションの作成に必要となるツール、サンプル コード、ドキュメントが含まれています。 </p>
|
||
<p><a href="{@docRoot}sdk/{@sdkCurrent}/index.html">詳細 »</a></p>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2"><div class="seperator"> </div></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="imageCell"><a href="http://www.android.com/market.html"><img src="{@docRoot}assets/images/icon_market.jpg" style="padding:0" /></a></td>
|
||
<td>
|
||
<h2 class="green">公開</h2>
|
||
<p>Android マーケットは、アプリケーションを携帯端末に配信するためのオープン サービスです。</p>
|
||
<p><a href="http://www.android.com/market.html">詳細 »</a></p>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2"><div class="seperator"> </div></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="imageCell"><a href="http://source.android.com"><img src="{@docRoot}assets/images/icon_contribute.jpg" style="padding:0" /></a></td>
|
||
<td>
|
||
<h2 class="green">貢献</h2>
|
||
<p>Android オープンソース プロジェクトでは、プラットフォーム全体のソースコードを公開しています。</p>
|
||
<p><a href="http://source.android.com">詳細 »</a></p>
|
||
</td>
|
||
</tr>
|
||
<tr>
|
||
<td colspan="2"><div class="seperator"> </div></td>
|
||
</tr>
|
||
<tr>
|
||
<td class="imageCell"><a href="http://www.youtube.com/user/androiddevelopers"><img src="{@docRoot}assets/images/video-droid.png" style="padding:0" /></a></td>
|
||
<td>
|
||
<h2 class="green">再生</h2>
|
||
<object width="150" height="140"><param name="movie" value="http://www.youtube.com/v/GARMe7Km_gk&hl=en&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube.com/v/GARMe7Km_gk&hl=en&fs=1" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="150" height="140"></embed></object>
|
||
<p style="margin-top:1em"><a href="{@docRoot}videos/index.html">その他の Android 動画 »</a></p>
|
||
</td>
|
||
</tr>
|
||
|
||
</table>
|
||
</div>
|
||
</div>
|
||
|
||
<!--[if lte IE 6]>
|
||
<style>
|
||
#arrow-left {
|
||
margin:0 0 0 5px;
|
||
}
|
||
#arrow-right {
|
||
margin-left:0;
|
||
}
|
||
.app-list-container {
|
||
margin: 37px 0 0 23px;
|
||
}
|
||
div#list-clip {
|
||
width:468px;
|
||
}
|
||
</style>
|
||
<![endif]-->
|
||
|
||
<script type="text/javascript">
|
||
|
||
// * -- carousel dictionary -- * //
|
||
/* layout: imgLeft, imgRight, imgTop
|
||
icon: image for carousel entry. cropped (height:70px, width:90px)
|
||
name: string for carousel entry
|
||
img: image for bulletin post. cropped (height: 170, width:230px)
|
||
title: header for bulletin (optional, insert "" value to skip
|
||
desc: the bulletin post. must include html tags.
|
||
*/
|
||
|
||
var droidList = {
|
||
'sdk': {
|
||
'layout':"imgLeft",
|
||
'icon':"sdk-small.png",
|
||
'name':"SDK 1.5 r3",
|
||
'img':"sdk-large.png",
|
||
'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",
|
||
'icon':"maps-small.png",
|
||
'name':"Maps API キー",
|
||
'img':"maps-large.png",
|
||
'title':"Maps API キー",
|
||
'desc':"<p>MapView から Google マップを利用する Android アプリケーションを開発する場合は、アプリケーションを登録して Maps API キーを取得する必要があります。この API キーが無いアプリケーションは、Android 上で動作しません。キーの取得は、簡単な手順で行うことができます。</p><p><a href='http://code.google.com/android/add-ons/google-apis/maps-overview.html'>詳細 »</a></p>"
|
||
},
|
||
|
||
'devphone': {
|
||
'layout':"imgLeft",
|
||
'icon':"devphone-small.png",
|
||
'name':"Dev Phone 1",
|
||
'img':"devphone-large.png",
|
||
'title':"Android Dev Phone 1",
|
||
'desc': "<p>この携帯電話を使用することで、開発した Android アプリケーションの実行とデバッグを行うことができます。Android オペレーティングシステムを変更してからリビルドし、携帯電話に書き込むことができます。Android Dev Phone 1 は携帯通信会社に依存しておらず、<a href='http://market.android.com/publish'>Android マーケット</a>に登録済みのデベロッパーなら誰でも購入可能です。</p><p><a href='/guide/developing/device.html#dev-phone-1'>Android Dev Phone 1 の詳細»</a></p>"
|
||
}
|
||
|
||
}
|
||
</script>
|
||
<script type="text/javascript" src="{@docRoot}assets/carousel.js"></script>
|
||
<script type="text/javascript">
|
||
initCarousel("sdk");
|
||
</script>
|