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

None Implemented a HOME/Top option 

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

Here's my solution to the HOME/Top option.

Basically I hacked hnview.pl to include an icon for the HOME/Top option. I am using HyperNews 1.9

Here's the diff for the changes

1044c1044

<     printf "<NOBR>
---
>     print "<NOBR>
1061,1065c1061
< <A HREF=\"$getURL%s.html\">
< <IMG SRC=\"$hniconsURL/home.gif\" WIDTH=100 HEIGHT=45 BORDER=0
< ALT=\"HOME\"></A>
< 
< </NOBR><BR>", &getBaseURL($URL);
---
> </NOBR><BR>";

In case someone is using old versions these changes are in sub printNextLinks in hnview.pl

 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: "Implemented a HOME/Top option"

 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!