Jump to content

Open new window


Krash

Recommended Posts

May I first point out that opening a new window is considered a bad approach to user interface design, and that applies to websites. Of course there are exceptions but in general it's best not to open things in a new window, but instead allow the user to decide when they want to open things in new windows. This article by SmashingMagazine is a really good read on this.

 

They make a few points where it may be acceptable to open in a new window:

  • It's a help popup.
  • You don't want to interrupt an important process, such as filling out a form etc.
  • It's a link to an external PDF document or something.

The article goes into much more detail about it, but those are a few examples.

 

But on to your code. This looks like code from SMF. I'm just assuming this. I don't actually think you can set it to open in a new window directly from their, but instead you'd need to do it in the template file. This, again, is another guess. Honestly I have no idea. I'd suggest asking on the SMF forums, if this is indeed SMF code.

 

Good luck.

Link to comment
https://forums.phpfreaks.com/topic/244370-open-new-window/#findComment-1255478
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.