Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,471
There are 1098 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     HTML/XHTML/DHTML/CSS :

IE7: What is the Code open window in a 'new tab'?

Thread title: IE7: What is the Code open window in a 'new tab'?
Closed Thread    
    Thread tools Search this thread Display Modes  
02-10-2007, 05:29 AM
#1
montyauto is offline montyauto
montyauto's Avatar
Status: Junior Member
Join date: Apr 2006
Location:
Expertise:
Software:
 
Posts: 68
iTrader: 0 / 0%
 

montyauto is on a distinguished road

  Old  IE7: What is the Code open window in a 'new tab'?

Are you using IE7?

I am looking the javascript for opening window targeted in 'new tab' instead of self or new window.

02-10-2007, 02:49 PM
#2
will is offline will
Status: I'm new around here
Join date: May 2006
Location:
Expertise:
Software:
 
Posts: 6
iTrader: 0 / 0%
 

will is on a distinguished road

  Old

I don't think you can do it.

02-10-2007, 03:39 PM
#3
localhost is offline localhost
localhost's Avatar
Status: Dediport Hosting
Join date: Jul 2006
Location: Berkshire
Expertise: programming, business
Software: Dreamweaver
 
Posts: 1,316
iTrader: 17 / 100%
 

localhost is on a distinguished road

  Old

Thats a good point actaully, I have never actaully thought of this, Although there must be a new way. try asking on msdn?

02-10-2007, 03:54 PM
#4
Andrew R is offline Andrew R
Status: Request a custom title
Join date: Dec 2005
Location: Arizona
Expertise:
Software:
 
Posts: 5,200
iTrader: 17 / 95%
 

Andrew R is on a distinguished road

  Old

The only way it is possible is to use target="_blank" and the user has "Open all windows in new tabs" selected.

I think that should be the only way... not sure.

02-10-2007, 06:14 PM
#5
derek lapp is offline derek lapp
Status: design rockstar
Join date: Jan 2005
Location: guelph, ontario
Expertise:
Software:
 
Posts: 2,246
iTrader: 0 / 0%
 

derek lapp is on a distinguished road

  Old

there's no way to force something into a new tab. html's been around for a long time, tabbed browsing hasn't. maybe in later releases when tabbed browsing is a standad you'll get the option, but there's nothing as of yet.

02-11-2007, 10:07 AM
#6
Kirth is offline Kirth
Status: I'm new around here
Join date: Feb 2007
Location:
Expertise:
Software:
 
Posts: 23
iTrader: 0 / 0%
 

Kirth is on a distinguished road

  Old

Whell, you can try Javascript to force a new window (firefox forces new windows in new tabs , so I think IE7 does too .)

PHP Code:
<html>
<
head>
<
script language="javascript">
function 
popup(){
var 
msg window.open('''msg''scrollbars=yes,toolbar=yes,location=yes');
msg.document.write('<html><head><title>Kirth RoX :D.</title></head><body><img src="smiley.01.png" /></body></html>');
}
</script></head>
<body>
<input type="button" onclick="javascript:popup()" value="click">
</body>
</html> 
I hope this is usefull!

Closed Thread    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed