|
Hi Jon, i've found a little "trick" (that lets your page still work without JavaScript, too): <a href="targetpage.html#A?dummy=1">A</a> <a href="targetpage.html#B?dummy=2">B</a> <a href="targetpage.html#C?dummy=3">C</a> and in targetpage.html: <body onLoad="self.focus()"> I'm sure you already figured out the drawback of this method: it is reloading the page for every click. Maybe a no-brainer in a LAN. The trick is that the browser seems to believe that his last received results are irrelevant (due to dummy variable) and so decides to request the page again which makes onLoad with focus() work. (I don't have an idea why he re-requests it when you press link "A" twice.... ;-) If reloading the page is not wanted/acceptable, i'm afraid you have to put in more JavaScript. (<a href="JavaScript: and so on) but then you have to take care of those with no JavaScript capable or enabled browsers and remain with no solution for these poor ones. I think i have a solution for that somewhere, if you want it, just mail. (Then i search it :-) best regards / Mit freundlichen Grüssen Anton Gombkötö Avenum Technologie GmbH http://www.avenum.com
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.