HyperNews homepage - About HyperNews
 Next-in-Thread Next-in-Thread
 Next Message Next Message

More A better implementation for Top/Home 

Keywords: Response, TOP
Forum: Instructions for Reading Messages
Re: Idea It would be nice to have "TOP" option
Re: None Lost without a "Top" option
Date: 1996, Jul 10
From: Haroon Rafique

Just realized that this information, is already available in the form of the Base: link at the top of the Headers. I'll reuse that info and copy it as the link for my icon.

All that needs to be done is to go to the subroutine

sub printNextLinks in the file hnview.pl
and add the following HREF, IMG SRC pair at the end of all the other icons.

<A HREF=\"$base$qs\" $tarGet>
<IMG SRC=\"$hniconsURL/home.gif\" WIDTH=100 HEIGHT=45 BORDER=0
ALT=\"HOME\"></A>

Assuming you have an icon called home.gif 100x45 pixels in the directory where all the icons are kept.

 Next-in-Thread Next-in-Thread
 Next Message Next Message
Inline:
 1 1
 All All
Outline:
 1 1
 2 2
 All All

 Add Add
to: "A better implementation for Top/Home"

 Members Members
 Subscribe Subscribe
 Admin Mode Admin Mode
 Show Frames Show Frames
 Help Help


HyperNews Instructions for:
|| Reading Messages || Administration of Messages || Subscribing and Unsubscribing ||
|| Adding Messages || Posting by Email || Becoming a Member ||
Earn money with Scour!
Google
 
Web www.HyperNews.org
Earn money with Scour!