
ANNOUNCEMENT:
There will be some planned downtime starting Wednesday, June 15th at 9am EDT. The board will be closed for approximately 12 to 24 hours while we work on migrating to a new forum software. For more information on the move, check out the Board Change Announcements thread.
|
|
|
It is currently Sat Sep 13, 2025 7:00 am
|
View unanswered posts | View active topics
|
Page 1 of 1
|
[ 4 posts ] |
|
Board navigation question
Author |
Message |
coasterbear
Toy Prince
Joined: Wed Sep 12, 2007 10:31 am Posts: 243 Location: SF Bay Area
|
 Board navigation question
Not sure if this is the right forum, but other board questions seem to be here, so...
On Macs, in both Safari and Firefox, cmd-click opens a link in another tab or window, leaving the current tab or window unchanged. On this board, when you click on a forum or post link, it opens the link both in another tab or window, and in the current tab or window.
This works correctly on other phpBB boards. Any idea what the problem is?
|
Sun Dec 09, 2007 1:13 pm |
|
 |
liquidsky
Vintage
Joined: Sat Dec 17, 2005 2:54 pm Posts: 7412 Location: Far From the Maddening Crowds
|
I use Safari 3 (with Tiger), and when I click on a post link here, it loads into the same tab. It doesn't load into a new tab.
If I command-click on a post link, it loads into a new tab.
So I'm not seeing what you are experiencing.
|
Sun Dec 09, 2007 3:43 pm |
|
 |
lgcolddrink
Addicted
Joined: Tue Apr 17, 2007 11:32 am Posts: 962 Location: Houston
|
All mine open in the same window in Safari.
|
Sun Dec 09, 2007 3:49 pm |
|
 |
coasterbear
Toy Prince
Joined: Wed Sep 12, 2007 10:31 am Posts: 243 Location: SF Bay Area
|

Ok, I think I understand why this is happening...but not why it is set up this way.
On this board, the links on the text are specified with
href="viewtopic.php?t=..."
But the table cell containing the link has the Javascript
onclick="window.location.href='viewtopic.php?t=...'"
What this does is set the current window to that URL, regardless of where the browser thinks it should be opened.
If you cmd-click in the table cell but not in the text, it activates the onclick, and opens the link in the same window. If you have JavaScript disabled, you can't exercise the link by just clicking in the table cell. (Notice that right-click in the cell does not include "Open Link..." options in the window...there is not really a link there, just JavaScript.)
If you cmd-click on the text, it activates the text's link and opens the link in another tab/window, and it also activates the onclick and opens the link in the same window.
I guess there's some advantage to putting the onclick on the cell, since it means you can get to the topic by clicking in the cell and not just on the text, but it has this unfortunate side effect. There are other ways to do this though that don't have this problem.
We now return you to your regularly scheduled alternative form of geekdom.
|
Mon Dec 10, 2007 3:53 am |
|
|
|
Page 1 of 1
|
[ 4 posts ] |
|
Who is online |
Users browsing this forum: No registered users and 0 guests |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot post attachments in this forum
|
|