0
   

[answered]Links acting weird recently

 
 
Monger
 
Reply Tue 21 Oct, 2003 11:32 am
For the last few days, when clicking able2know's offsite links on the forums, after the linked page opens in a new window a2k is making the page containing the link I clicked refresh with a "#" added to the end of the url, making the page jump to the top, which is somewhat annoying. Also, right-clicking links on the forums which point off-site and choosing 'open in new window' makes a2k open another copy of the forum page I already have open, rather than the page specified in the url of the link I clicked.

This probably isn't that clear at all so let me know if I need to expalin it better.
Example link: www.yahoo.com

I'm using IE6 SP1
  • Topic Stats
  • Top Replies
  • Link to this Topic
Type: Discussion • Score: 0 • Views: 798 • Replies: 4
No top replies

 
Craven de Kere
 
  1  
Reply Tue 21 Oct, 2003 11:40 am
Nah, it's perfectly clear cause it's intentional. I did this a few days ago.

What I'm doing is this:


Code:IN HEAD

<script language="JavaScript">
<!--
function Go(x)
{
new_win = window.open(x)
}
// -->
</script>


IN LINK



<a href="#" onclick="Go('http://www.yahoo.com')" onmouseover="window.status='http://www.yahoo.com';return true;" onmouseout="window.status=' ';return true;">www.yahoo.com</a>


It's a method to eliminate ALL page rank drain. The jump to top thing irritates me but the page rank benefits are worth it.

I'm looking into another method but this will have to suffice for now.
0 Replies
 
Monger
 
  1  
Reply Tue 21 Oct, 2003 12:00 pm
Would there be any problem with using javascript:void(0) links rather than #?
0 Replies
 
Craven de Kere
 
  1  
Reply Tue 21 Oct, 2003 12:02 pm
Actually no, initially I hadn't wanted to use it but for a reason that no longer applies.

I'll change it later, eventually I plan to pass the variables to another page that will perform a redirect. I had another way of doing it but it would mangle links that already had a few variables in them.
0 Replies
 
Craven de Kere
 
  1  
Reply Tue 21 Oct, 2003 12:29 pm
K, I changed it so that it doesn't jump. to the top. That was definitely the most irritating part. Thanks, I'd started with the void but changed it for a reason taht doesn't apply anymore and prolly wouldn't have thought to return it.
0 Replies
 
 

Related Topics

How to use the new able2know - Discussion by Craven de Kere
New A2K feature requests. - Discussion by DrewDad
I'm the developer - Discussion by Nick Ashley
JIM NABORS WAS GOY? - Question by farmerman
A2K censors tags? - Discussion by hingehead
New A2K Bugs - Discussion by sozobe
New A2K annoyances - Discussion by sozobe
The a2k world is changing 3: about voting - Discussion by Craven de Kere
LOST & MISPLACED A2K people. - Discussion by msolga
Welcome to the 'New' My Posts - Discussion by Nick Ashley
The "I get folksonomy" club - Discussion by Robert Gentel
 
  1. Forums
  2. » [answered]Links acting weird recently
Copyright © 2024 MadLab, LLC :: Terms of Service :: Privacy Policy :: Page generated in 0.03 seconds on 04/18/2024 at 08:39:44