New windows.

Everything related to our website: report bugs, broken links, offensive posts, etc.
Veteran
User avatar
Posts: 167
Joined: Thu Aug 24, 2006 0:00
Location: the Netherlands

New windows.

Postby BlackKiller » Mon Oct 15, 2007 0:44

Now that I accidently closed the wrong browser window for the 1260204826th time, I think it's time to stand up and say something about it.

I've experienced allmost all of the links on our site are linking in the same window. Many of them are usefull, you don't want every topic you read in a new window, I understand.

But for things, e.g Rulebook, FAQ, Server Monitor (the things that aren't in the same style as the main website) it would be nice to have a TARGET='_BLANK' added. I forget to press CTRL sometimes, and when I think I close the tab, I close the Prime-Squadron site :(.

I don't know how much PHPnuke allows you to add TARGETS, but it would be nice (If not possible, I might fix it in the raw code, but would take me a little more time then the way I just mentioned).

Anyway, do what you want with my advise, I might be the only one, forgetting to press CTRL or SHIFT while clicking a link.

Blackkie
Image

-|PS|->>BlackKiller<<

BTW the dolphin refers to the Black Killer Whale (Yeah, I just made that up after googling blackkiller)

Website Manager
User avatar
Posts: 6378
Joined: Tue May 09, 2006 0:00
Location: Netherlands

Postby warren-the-ape » Mon Oct 15, 2007 9:27

Its something I already tried to do a year ago ;)
Problem is that the standard nuke editor strips out the target tag once saved.

Never looked at it any further cause it wasnt a major problem in my eyes,
but ill see what i can do :)
"When the pin is pulled, Mr. Grenade is not our friend." Image

Veteran
User avatar
Posts: 382
Joined: Tue Dec 19, 2006 1:00

Postby Repta » Mon Oct 15, 2007 11:33

Use firefox press your scroll wheel on the link and it opens it in a new tab. :? the years i used IE.

Server Owner
Posts: 952
Joined: Sat Dec 23, 2006 1:00
Location: Germany-> Niedersachsen, -|PS|-#3

Postby stephan » Mon Oct 15, 2007 13:48

warren if i am right phpnuke save the links in its database or?
if yes then simple edit it and add the target tag after you make teh link
Image

Official Member
User avatar
Posts: 215
Joined: Mon Jun 11, 2007 0:00
Location: Slovenia

Postby Union » Mon Oct 15, 2007 14:13

I don't know how phpnuke is made (never did go into it), but i guess you could make a new class for links in your css file and add (for example) a.forum_posts {target-new: tab} and then edit the way it writes out the links in user posts
(i got this info here)

Website Manager
User avatar
Posts: 6378
Joined: Tue May 09, 2006 0:00
Location: Netherlands

Postby warren-the-ape » Mon Oct 15, 2007 14:32

@ Stephan
Nope

@ uni0n
Yep css3 is one of my wet dreams :P. Too bad Internet Explorer (IE) doesnt support it ;)
And even browsers like firefox and opera dont fully support css3.

@ Black
Repta makes a good suggestion, works with IE7, firefox and opera :)
"When the pin is pulled, Mr. Grenade is not our friend." Image

Server High Admin
User avatar
Posts: 1385
Joined: Sun Apr 30, 2006 0:00
Location: Poland

Postby RapidHail » Tue Oct 16, 2007 12:21

warren-the-ape wrote:Its something I already tried to do a year ago ;)
Problem is that the standard nuke editor strips out the target tag once saved.


Can be done by adding a rule to php code :)
-=RapidHail=-: Do or do not... There is no try.
-|PS|- Server Monitor
eRepublik Citizen
Network Toolkit

Official Member
User avatar
Posts: 215
Joined: Mon Jun 11, 2007 0:00
Location: Slovenia

Postby Union » Tue Oct 16, 2007 12:35

Too bad about the css thing :(
What about changing the way the links are printed out and adding target=_blank into them (i think that works in ff, opera and IE (IE6 opens a new window, IE7 opens a new tab))?

Server High Admin
User avatar
Posts: 1385
Joined: Sun Apr 30, 2006 0:00
Location: Poland

Postby RapidHail » Tue Oct 16, 2007 12:53

uni0n wrote:Too bad about the css thing :(
What about changing the way the links are printed out and adding target=_blank into them (i think that works in ff, opera and IE (IE6 opens a new window, IE7 opens a new tab))?


IE7 want to open in new window. Middle mouse button is for open in new tab.
-=RapidHail=-: Do or do not... There is no try.
-|PS|- Server Monitor
eRepublik Citizen
Network Toolkit

Official Member
User avatar
Posts: 215
Joined: Mon Jun 11, 2007 0:00
Location: Slovenia

Postby Union » Tue Oct 16, 2007 12:57

Huh i assumed IE7 opens a new tab...guess i was wrong :oops:

Veteran
User avatar
Posts: 167
Joined: Thu Aug 24, 2006 0:00
Location: the Netherlands

Postby BlackKiller » Wed Oct 17, 2007 0:08

Well, in FireFox you can choose @ tools whether you want a new page opened in a TAB or in a NEW WINDOW.

But if I forget pressing shift or ctrl, I might forget pressing scroll button as well.

But Warren, what do you mean with "Problem is that the standard nuke editor strips out the target tag once saved".

Look, I never used PHPnuke, cause I could build my own website's in PHP + MySQL, so I don't really know the options.
Image

-|PS|->>BlackKiller<<

BTW the dolphin refers to the Black Killer Whale (Yeah, I just made that up after googling blackkiller)

Return to PS Website Input

Who is online

Users browsing this forum: No registered users and 8 guests