使用HTML的AIR应用程序不拿起alt和title标签,以显示工具提示 [英] AIR applications using HTML don't pick up alt and title tags to show tooltips

查看:127
本文介绍了使用HTML的AIR应用程序不拿起alt和title标签,以显示工具提示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我建立一个HTML应用程序在Adobe AIR容器中运行,但 ALT 标记的 IMG 元素和标题标记的 A 元素没有表现出像将浏览器的工具提示。

I'm building a HTML application to run in an Adobe AIR container, but the alt tag for the img element and the title tag for the a element don't show a tooltip like a browser would.

反正有没有实现这一点,或显示另一种方式?

Is there anyway to enable this, or display it another way?

推荐答案

在AIR你保证的Javascript将被启用,所以才扔在使用标题/ ALT属性一个Javascript提示。

In AIR you're guaranteed that Javascript will be enabled, so just throw in a Javascript tooltip that uses the title/alt attributes.

这篇关于使用HTML的AIR应用程序不拿起alt和title标签,以显示工具提示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆