The code above checks for the geolocation capability of the browser.
上述代码会查找浏览器的地理定位功能。
Have you written hundreds of lines of code just to handle browser differences?
您是否曾仅为了处理浏览器差别而编写几百行代码?
Unfortunately, this problem is far too common since unpaid developers often don't have the time or energy to continue upgrading their code with each new browser release.
不幸的是,因为没有收入,开发者都没有时间和精力在每次浏览器升级后继续更新他们的扩展代码,这使得这个问题变得相当普遍。
The other approach is to sniff the browser and use the optimal code for each browser.
另一种方法是先探测每个浏览器的特性,然后使用针对它们的优化代码。
Rather than simply giving you a collapsible tree view of code, the object browser gives you a live representation of the objects themselves — even of the importable modules in your PYTHONPATH.
对象浏览器不仅仅为您提供了一个可折叠树形式的代码视图,它还让您可以看到对象本身的生动的描述——甚至包括那些在您的PYTHONPATH中可以导入的那些模块。
This poses a problem because you have to determine which browser your code is running in and create the correct object for the job.
这会产生一个问题:必须判断正在运行代码的浏览器类型并创建适当的对象。
When the visitor's browser reaches the GATC, the code begins to execute.
当访问者的浏览器到达GATC时,追踪代码开始工作。
When I load this code in my browser, I see the result shown in Figure 7.
在浏览器中加载这段代码时,将看到图7所示的结果。
When you run in the browser, you are not running HTML, you are just downloading code to the browser instead of downloading code to the PC.
当你在浏览器中运行的时候,你不是运行HTML,而是把代码下载到浏览器而非PC。
If you open a malicious web page, the browser's sandbox prevents that malicious code from leaving the browser and installing itself to your hard drive.
就算你打开一个恶意网页,浏览器的沙箱也会阻止恶意代码安装到硬盘上。
With Rails, I can change a line of code and reload the browser, immediately seeing the results of the change.
使用Rails,我可以更改一行代码并重新加载浏览器,就可立即看到更改的结果。
The code executes after the browser or Lotus Notes client passes the page to the server.
代码在浏览器或LotusNotes客户机将页面传递到服务器后执行。
This code executes on the browser or Lotus Notes client before the page goes to the server.
此代码在页面进入服务器之前,在浏览器或LotusNotes客户机上执行。
From the editor code, instantiate the SWT browser widget and use it to launch the Web UI application.
从编辑器代码中,实例化s WT浏览器小部件并用它来启动这个WebUI应用程序。
If a hacker can execute arbitrary code in your browser, he can do far more damage than just steal your cookies.
如果黑客可以在您的浏览器中执行任意代码,他们能够造成的危害远远不只是窃取cookie。
Write browser independent code for creating XMLHttpRequest (XHR) and processing XML document objects.
编写用于创建XMLHttpRequest (XHR)和处理XML文档对象的浏览器无关的代码。
To test the code, open a web browser and access the driver.php page using various URL parameters.
要测试代码,打开一个web浏览器并使用各种URL参数访问driver . php页。
Very similar to the Try Ruby exercises, you'll follow short lessons, writing code inside the browser and watching the results.
跟TryRuby练习非常相似,你会学到简短的课程、在浏览器里编码,然后看结果。
When Barcode Scanner is finished reading and identifying the QR code, select Open Browser.
当“条形码阅读器”成功读取并识别二维码后,选择“打开浏览器(Open Browser)”。
Listing 1 shows the code used to load the form to the browser.
清单1展示了用来将表单加载到浏览器的代码。
You should analyze the semi-built browser code and the mid-tier code thoroughly to fully understand them.
您应该全面地分析这些不完整的浏览器代码和中间层代码,从而充分地理解它们。
A logical way to make your website faster is to make the client code you send to the browser smaller.
使得你的网站访问速度更快的一种典型做法是发送给浏览器更少的代码。
AJAX code running in the browser causes additional requests to be sent back to the server.
运行于浏览器的AJAX代码产生其他的请求,与服务器端交互。
XHTML might make your pages more standards-compliant, but its verbose use of tags (the mandatory and tags) means more code for the browser to download.
XHTML可能使您的页面更加符合标准,但是它大量使用标记(强制性的和标记),这意味着浏览器要下载更多代码。
This one-time code delivery to the browser is done when the bank teller visits the URL for this application.
这个一次性的代码传递过程发生在银行出纳员访问这个应用程序的url时。
This way, you can add the necessary navigation links in the XHTML code that is returned to the browser.
这样,就可以将必要的导航链接添加到返回给浏览器的XHTML代码中。
As you work on generating your JSON, you may find that you have a problem parsing the code from within your browser-based application.
在生成json的过程中,您可能会发现从基于浏览器的应用程序中解析代码会出现问题。
As you work on generating your JSON, you may find that you have a problem parsing the code from within your browser-based application.
在生成json的过程中,您可能会发现从基于浏览器的应用程序中解析代码会出现问题。
应用推荐