'===================================================================
'機能 :ステータスバーに文字列を設定する(onMouseOver=)
' strMessage I String 文字列
'===================================================================
Function gfstrSetStatus(strMessage)
If SG_blnErrorResumeNext Then
On Error Resume Next
End If
If strMessage <> "" Then
gfstrSetStatus = " onMouseOver=""window.status='" & strMessage & "';return true;"""
Else
gfstrSetStatus = " onMouseOver=""window.status='';return true;"""
End If
End Function
博客展示了一个名为gfstrSetStatus的Function函数,其功能是在鼠标悬停时设置浏览器状态栏的字符串。函数接收一个字符串参数,根据参数是否为空返回不同的HTML属性值,用于设置状态栏内容。
2255

被折叠的 条评论
为什么被折叠?



