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 6:56 am




Post new topic Reply to topic  [ 4 posts ] 
 Board navigation question 
Author Message
Toy Prince
User avatar

Joined: Wed Sep 12, 2007 10:31 am
Posts: 243
Location: SF Bay Area
Reply with quote
Post 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
Profile
Vintage

Joined: Sat Dec 17, 2005 2:54 pm
Posts: 7412
Location: Far From the Maddening Crowds
Reply with quote
Post 
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
Profile
Addicted
User avatar

Joined: Tue Apr 17, 2007 11:32 am
Posts: 962
Location: Houston
Reply with quote
Post 
All mine open in the same window in Safari.


Sun Dec 09, 2007 3:49 pm
Profile
Toy Prince
User avatar

Joined: Wed Sep 12, 2007 10:31 am
Posts: 243
Location: SF Bay Area
Reply with quote
Post 
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
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


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

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.