Yii Framework Forum: Can't open new window - Yii Framework Forum

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Can't open new window Rate Topic: -----

#1 User is offline   nemo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 142
  • Joined: 24-February 10

Posted 03 March 2010 - 09:56 AM

Hey, I can not open new window when use this in my view

array(
'name'=>'Action',
'type'=>'raw',
'value'=>'CHtml::link(view, "http://abc.com", array("target"=>"_blank"))'

),
0

#2 User is offline   GSTAR 

  • Master Member
  • PipPipPipPip
  • Yii
  • Group: Members
  • Posts: 1,035
  • Joined: 30-October 09
  • Location:UK

Posted 03 March 2010 - 10:01 AM

Have you tried in other browsers? Does the generated HTML contain the target="_blank" attribute?
0

#3 User is offline   nemo 

  • Standard Member
  • PipPip
  • Yii
  • Group: Members
  • Posts: 142
  • Joined: 24-February 10

Posted 03 March 2010 - 10:13 AM

I tried but same problem

array(
'name'=>'Action',
'type'=>'raw',
'value'=>'CHtml::link(View,array(target=>"_blank"),http://abc.com")'
0

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users