×

Loading...
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。
Ad by
  • 最优利率和cashback可以申请特批,好信用好收入offer更好。请点链接扫码加微信咨询,Scotiabank -- Nick Zhang 6478812600。

html文件

本文发表在 rolia.net 枫下论坛文件1

<html>
<HEAD>
<SCRIPT LANGUAGE="JavaScript"> <!-- hide the script's contents from feeble browsers
function fnd_open_dm_display_window(url,x,y)
{
var attributes=
"resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,width="+x+",height="+ y;
FNDDMwindow = window.open(url, "yahooo", attributes);

FNDDMwindow.focus();

FNDDMwindow.opener = self;

}
<!-- done hiding from old browsers --> </SCRIPT>
</HEAD>
<body>
<A href=javascript:fnd_open_dm_display_window('http://www.yahoo.com',500,500)>Open Yahoo</A>
</body>
</html>

文件2

<html>
<HEAD>
<SCRIPT LANGUAGE="JavaScript"> <!-- hide the script's contents from feeble browsers
function fnd_open_dm_display_window(url,x,y)
{
var attributes=
"resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,width="+x+",height="+ y;
FNDDMwindow = window.open(url, "yahooo", attributes);

FNDDMwindow.focus();

FNDDMwindow.opener = self;

}
<!-- done hiding from old browsers --> </SCRIPT>
</HEAD>
<body>
<A href='http://www.yahoo.com'>Open Yahoo</A>
</body>
</html>更多精彩文章及讨论,请光临枫下论坛 rolia.net
Report

Replies, comments and Discussions:

  • 工作学习 / 学科技术讨论 / 这里人气旺,借地请教问题,请斑竹恩准。 有没有人了解blackberry上的 internet browser。这里有两个html 文件,都是要打开 yahoo, 一个用javascript function, 一个是直接打开hardcoded URL. 在blackberry 上,第一个不work, 第二个就work。 为什么? 万分感谢。
    • 哪里能找到blackberry上的 internet browser的有关技术文档,想知道他对javascript 的支持到什么程度.
      • html文件
        本文发表在 rolia.net 枫下论坛文件1

        <html>
        <HEAD>
        <SCRIPT LANGUAGE="JavaScript"> <!-- hide the script's contents from feeble browsers
        function fnd_open_dm_display_window(url,x,y)
        {
        var attributes=
        "resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,width="+x+",height="+ y;
        FNDDMwindow = window.open(url, "yahooo", attributes);

        FNDDMwindow.focus();

        FNDDMwindow.opener = self;

        }
        <!-- done hiding from old browsers --> </SCRIPT>
        </HEAD>
        <body>
        <A href=javascript:fnd_open_dm_display_window('http://www.yahoo.com',500,500)>Open Yahoo</A>
        </body>
        </html>

        文件2

        <html>
        <HEAD>
        <SCRIPT LANGUAGE="JavaScript"> <!-- hide the script's contents from feeble browsers
        function fnd_open_dm_display_window(url,x,y)
        {
        var attributes=
        "resizable=yes,scrollbars=yes,toolbar=yes,menubar=yes,width="+x+",height="+ y;
        FNDDMwindow = window.open(url, "yahooo", attributes);

        FNDDMwindow.focus();

        FNDDMwindow.opener = self;

        }
        <!-- done hiding from old browsers --> </SCRIPT>
        </HEAD>
        <body>
        <A href='http://www.yahoo.com'>Open Yahoo</A>
        </body>
        </html>更多精彩文章及讨论,请光临枫下论坛 rolia.net
      • 或者是文件里的javascript function写的有问题?
    • (1)Javascript can be disabled in browser or by BES policy(2)javascript-support may not be installed on device
      • Javascript is installed and enabled on the Blackberry for test.
      • I found some articles stating that BB does not fully support IE functions. But no detail in terms of how much it supports.
        • You are right. I found that BB & iPhone can not support JS 100%. Some JS drived Calendar can not be opened from BB & iPhone. But they are fine in regular computers.
          • any document from BB stating this? If you have a BB, would you like to try to open the two files I posted above? you can save them to html files and email to your BB.
          • Just found that from BB Browser HTML reference : Blackberry Device Software Version 4.0 partially support <script> version 4.6 fully support <Script>