私はスマートテレビ用のアプリケーションを開発しようとしています。私は本当に二日過ごしていて、何も手に入らない。SmartTV - 応答しないページ
私は奇妙な問題があります。
あなたは下のリンクをクリックした場合、あなたはsmartTV http://portal.sinemalar.com/tv/vestel/v1/detail/48029/
用ページページが表示されますそして、あなたが映画の詳細を表示したい場合には、最大使用し、上下の矢印キーことができます。この部分はまた私のsmartTVのissueless上で動作している
case KEYS.UP:
var $kayan = document.getElementById('ozet_p');
if (!$kayan.style.top)
$kayan.style.top = "0px";
var $top = $kayan.style.top;
$top = $top.substr(0,$top.length-2);
$height = $kayan.offsetHeight;
if (0<parseInt($top) + 120)
$top = 0;
else
$top = parseInt($top) + 120;
$kayan.style.top = $top+'px';
break;
case KEYS.DOWN:
$kayan = document.getElementById('ozet_p');
if (!$kayan.style.top)
$kayan.style.top = "0px";
$top = $kayan.style.top;
$top = $top.substr(0,$top.length-2);
$height = $kayan.offsetHeight;
$max = 225-$height;
if ($max<0)
{
if ($max>parseInt($top) - 120)
$top = $max;
else
$top = parseInt($top) - 120;
$kayan.style.top = $top+'px';
}
break;
したい場合は、あなたも使い切るとダウンキーができ
http://portal.sinemalar.com/tv/vestel/v1/comment/48029/1/1/1/1/
私は映画のコメントを示して1つの以上のページを持っていますコメントをもっと見る これは
case KEYS.UP:
if ($page>1)
{
$page--;
window.location.href = baseUrl+'comment/'+$movieId+'/'+$vPage+'/'+$yPage+'/'+$slot+'/'+$page+'/';
}
break;
case KEYS.DOWN:
$page++;
window.location.href = baseUrl+'comment/'+$movieId+'/'+$vPage+'/'+$yPage+'/'+$slot+'/'+$page+'/';
break;
問題は、この部分は、PC上で動作し、smartTV上で動作しないということでそのコードです。
何が問題なのですか?なにか提案を ?
+1「不安定でバグがある」の場合、2日間使ってもテレビでアプリを起動できません(エミュレータで動作するアプリ)。 – darma