You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There was in the yii forums a comment about how to combine the functionality of jitr with Fancybox.
I have successfully made the changes to the code as suggested but now fancybox is throwing errors, like that there is no property called TARGET etc.
So it seems like there have been some changes to Fancybox code as well.
Does anybody have all the code working?
Thanks for this.
gb5256
The text was updated successfully, but these errors were encountered:
Hi,
This is what I did: http://pastebin.com/rNfz3gn1
But I have not used all of this as it is based on an old version of your script.
So basically I have only added this:
public $rel = null;
And changed this:
public function run()
{
And in the view I have this:
$this->widget('ext.EJustInTimeR', array( 'image' => 'foo.jpg', 'rel' =>'gallery', ));
$this->widget('ext.lyiightbox.LyiightBox2', array( 'target'=>'a[rel=gallery]', 'config'=>array(), ) );
But then I get an error, saying that lightbox does not have the property Target.
Do I miss something?
What do you mean with "Also, I suggest you to try Lyiightbox =)."
There was in the yii forums a comment about how to combine the functionality of jitr with Fancybox.
I have successfully made the changes to the code as suggested but now fancybox is throwing errors, like that there is no property called TARGET etc.
So it seems like there have been some changes to Fancybox code as well.
Does anybody have all the code working?
Thanks for this.
gb5256
The text was updated successfully, but these errors were encountered: