To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.publish.htmlOpen lugnet.publish.html in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Publishing / HTML / 166
165  |  167
Subject: 
Re: Attributes of the IMG tag used in displaying the LUGNET logo
Newsgroups: 
lugnet.admin.general, lugnet.publish.html
Date: 
Tue, 18 Dec 2001 06:18:10 GMT
Viewed: 
19 times
  
As far as the markup for including the LUGNET buttons and banners on a web page
is concerned, the target= attribute of the <a> tag is deprecated in HTML 4.01
and XHTML 1.0. While I explore how to replace the exact functionality of the
target="_top" attribute, I will make do with a JavaScript event handler to open
LUGNET in a new page:

<a href="http://www.lugnet.com/"
onclick="window.open('http://www.lugnet.com/');return false">

In lugnet.admin.general, Constantine Hannaher writes:
With respect to the LUGNET buttons available at
http://www.lugnet.com/admin/logo/buttons/ I have discovered that Netscape 6
does not display the text associated with the alt= attribute but will display
(in the manner that other browsers show the alt= text) the string associated
with the core HTML/XHTML attribute title=. Accordingly, in my own personal use
of these buttons and banners, I have added the title= attribute to the <IMG>
tag with the same text as for the alt= attribute. I suggest, as convenient,
that the button page be updated to include the title= attribute.

Heading more into geek-y territory, I have actually established a class
selector for the buttons and banners to move the border, height, and width
attributes into a stylesheet since Netscape Communicator 4 goes completely
wacko upon encountering an IMG tag with an inline style.

Constantine



Message has 1 Reply:
  Re: Attributes of the IMG tag used in displaying the LUGNET logo
 
(...) but that will only work if the client supports java - if java is unavailable (for whatever reason), the button will act as a normal link. Why not put the target tag as a backup for the java? Dan (23 years ago, 18-Dec-01, to lugnet.admin.general, lugnet.publish.html)

Message is in Reply To:
  Attributes of the IMG tag used in displaying the LUGNET logo
 
With respect to the LUGNET buttons available at (URL) I have discovered that Netscape 6 does not display the text associated with the alt= attribute but will display (in the manner that other browsers show the alt= text) the string associated with (...) (23 years ago, 5-Dec-01, to lugnet.admin.general)

12 Messages in This Thread:




Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR