PDA

View Full Version : links to bookmarks within a left frame


tpeck
10-20-2002, 03:31 AM
I have a webpage with a left frame, and to avoid having to use a permanent scrollbar (which takes up horizontal space) I decided to incorporate a couple of arrows, one up one down, that would enable the user to slide the frame up and down at will. It actually is a neat effect.

Works like a charm in IE and Netscape 6 etc. BUT Netscape 4 doesn't like the idea. Is there a javascript method I could use that would enable the same effect and work in most browsers?

Here is the boring old (non-javascript) code I am using at present:

<a target="_blank" href="http://www.something.net/" name="top"><img border="0" src="../../img/mirror.gif" width="69" height="17"></a>

(this is the top bookmark)

-------------------------------------

<a href="#bottom" target="_self">
<img border="0" src="../../img/leftdown.gif" alt=" DOWN " width="22" height="22"></a>
<a href="#top" target="_self">
<img border="0" src="../../img/leftup.gif" alt=" UP " width="22" height="22"></a>

(these are the two arrows)
--------------------------------------

<p><a name="bottom">&nbsp;</a></p>

(this is the bottom bookmark at the bottom of the frame)

If you have IE and want to see the effect it is at www.aapress.com.au

Anyway, thanks for your time.

Terry

beetle
10-20-2002, 08:43 AM
Before anyone digs into this too deeply, why are you trying to support NS4?

All good recent numbers put NS4.x's worldwide use at an error-adjusted 0-4%

tpeck
10-20-2002, 09:12 AM
Sure, I take your point.

I have not seen this sliding effect before (but of course, it's out there somewhere!) It's just that my puny attempt at getting it to work can surely be javascripted and thus work in all browsers (well, those that support js.)

But I don't want anyone to spend hours on this if they think the bookmark idea of mine is OK as is.

All the best!

Terry