一般當我們使用 標籤時,當滑鼠移到超連結上時,瀏覽器的狀態列就會顯示出超連結的位址,下面這個方法可以將狀態列顯示內容隱藏起來:
原本的語法:
改為:
還可以搭配 STYPE 敍述
顯示字底線 STYLE="text-decoration:underline;"
隱藏字底線 STYLE="text-decoration:none;"
滑鼠游標 STYLE="cursor:hand;"
ex.
如果連結的頁面是使用框架,則改用下列語法:
原本的語法:
HTML 代碼:
<A href="http://blog.xuite.net/gbisland">狀態列顯示 http://blog.xuite.net/gbisland</A>
HTML 代碼:
<A href="http://blog.xuite.net/gbisland">狀態列顯示 http://blog.xuite.net/gbisland</A>
改為:
HTML 代碼:
<A OnClick="window.location='http://blog.xuite.net/gbisland'">狀態列不顯示 http://blog.xuite.net/gbisland</A>
還可以搭配 STYPE 敍述
顯示字底線 STYLE="text-decoration:underline;"
隱藏字底線 STYLE="text-decoration:none;"
滑鼠游標 STYLE="cursor:hand;"
ex.
如果連結的頁面是使用框架,則改用下列語法:
HTML 代碼:
<A OnClick="parent.frames['框架名稱'].location='http://blog.xuite.net/gbisland'">狀態列不顯示 http://blog.xuite.net/gbisland</A>