Part of the EllisLab Network
   
 
Popup window and target “_blank”: problems with firefox
Posted: 07 December 2006 05:00 PM   [ Ignore ]  
Grad Student
Rank
Total Posts:  57
Joined  08-16-2006

Hi everybody,
I noticed that anchor popup function creates an anchor link with target “_blank” attribute. Beside that I think it’s useless, there is a problem with firefox: instead of opening a popup window, the window is open in new tab.

Somebody has had my problem?

Profile
 
 
Posted: 07 December 2006 09:54 PM   [ Ignore ]   [ # 1 ]  
Administrator
Avatar
RankRankRankRankRankRank
Total Posts:  6762
Joined  03-23-2006
Kylnas - 07 December 2006 05:00 PM

Hi everybody,
I noticed that anchor popup function creates an anchor link with target “_blank” attribute. Beside that I think it’s useless, there is a problem with firefox: instead of opening a popup window, the window is open in new tab.

The firefox tab thing is controlled by each individual browser.  There’s nothing you as the author can do to over-ride firefox opening anchors with target blank into tabs.  You could open windows with javascript, or better yet, find a way to present your information without needing to launch it into a new window or popup.

 Signature 

DerekAllard.com - CodeIgniter, ExpressionEngine, and the World of Web Design
BambooInvoice - Open Source, CodeIgniter powered invoicing.

Profile
MSG
 
 
Posted: 14 December 2006 05:22 PM   [ Ignore ]   [ # 2 ]  
Summer Student
Total Posts:  20
Joined  11-29-2006

Roger, over at 456 Berea Street has a good solution for new window links. While they’re not the best design choice, there unfortunately are situations where they’re required (especially by a client) ...

The method he outlines in this article:
http://www.456bereastreet.com/archive/200610/opening_new_windows_with_javascript_version_12/

is completely unobtrusive, and still validates xhtml. Problem with _BLANK, et al, is that they’re not XHTML compliant, and pretty depreciated! :D

Happy coding.

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 719, on June 06, 2008 10:16 AM
Total Registered Members: 66415 Total Logged-in Users: 34
Total Topics: 84754 Total Anonymous Users: 2
Total Replies: 454841 Total Guests: 237
Total Posts: 539595    
Members ( View Memberlist )