I created a wordpress plugin (say P1 ) in which I used fancybox (a jquery plugin). I included its js using wordpress's wp_enqueue_script() function.
But, on my client wordpress blog, he is using some other wordpress plugin, one of them (say P2) also use fancybox.
When both these P1 and P2 are active, fancybox js loads 2 time one from P...
i have my login in a fancybox and fancybox div is in a controller. problem is if click the button nothing happens event isnt fired.
this is my controller.ascx
<div id="inline1" style="width:400px;">
<ul class="forms">
<li class="inputfield"><asp:TextBox ID="kullanıcı_adi" runat="server"></asp:TextBox></li>
</ul>
<ul>
<li><asp:T...
Hello,
I'm trying to reload a div on a main page when I edit the dynamic content in a fancybox.
The main page is made of an included php files. I thought I would be able to reload it.
I used the .load() function on the 'onClosed' element in the fancy box:
$(".add_form").fancybox({
'type' : 'iframe',
'onClosed': function() {
$('.param_...
When I get new elements from load() function can't find the way to attach the function .fancybox (a lightbox plugin) to elements.
I've tried with .live() and .delegate(), but think .fancybox() could not be considered as custom event. I probably miss something... :(
...
Hello!
I have a background image in my site, but when I open a fancybox, that
background image would appear in fancybox's body, too. Is there a way to get the body element inside the iframe so that I can apply an id to it?
I tried this:
$("#appointment-form").fancybox({
'width' : 500,
'height' : 300,
't...
<div style="display: none;">
<div id="location<?php echo $r->id ?>">
<?php echo $r->address; ?>, <?php echo $r->city; ?>, <?php echo $r->province; ?>
<h3 class="sub">Map of Location</h3>
<?php
$CI->conjunction->showMap($r->id, $r->lat, $r->lon, $r->postal, 'map_canvas'...
I've been updating a site and have used the fancybox plug in to display dynamic information data. Works great in every browser apart from IE, where i get 'object doesnt support this property or method' errors. I cant figure out why, it's driving me nuts. has anyone else expereinced this with IE? Any hints/tips?
I'm using this funct...
Hello everyone,
I have a jQuery auto-complete field that selects clients email adddress's. Next to that is a button that allows the user to create a new client. To avoid the clients being taken away from their already half filled form I am opening the form within a lightbox.
Enter jQuery Fancybox.
The new client add form is located wi...
I need to embed an iframe on different domain, that when click opens a modal box using fancy box.
It would work something like this.
user clicks image
Once click loads a modal box(fancybox) that holds the iframe
I need to do this because the fancybox needs to take up the majority of the screen 960x700
How would I do this?
...
I created a confirmation page for deleting an item. This works perfectly.
Now I want to appear the confirmation page in fancybox, still passing all the variables and delete the data or close the dialog.
It's important that the process still works as it does now (delete->confirmationpage->redirect/deletion) so that users with javascript...
I'm using fancybox 1.2.1 to open an iframe. My problem is my width, height and scrolling options don't actually do anything. Am I missing something? It just opens up at the default size.
Heres the call:
$(document).ready(function(){
$('a[rel=gallery]').fancybox({
'width':920,
'height':700,
'scrolling':'no'
});
});
And h...
Hi guys!
I got a form that I submit and then Id like to have the data I just submitted show up in a iframe with the fancybox popup-plugin.
The form is validated via jQuery validate plugin from Jörn, and when I click the submit button the form checks if everything validates as it should, and it sends me to the other page because of the ...
Hi,
is there a way to bind the "submit" to the fancybox after success?
Here's what I have:
<div class="ta_l" id="tell_friend">
<form id="form_tell_friend" method="post" action="">
<table cellspacing="0" cellpadding="0" border="0" class="tbl_insert mr_b0">
<tbody>
<tr class="tell_frie...
I need to know which specific classes the anchor (which triggered the fancybox) has to do some more action wie the "onComplete"-function.
How do I get the trigger as jQuery-Object? $(this) seams to refer to the fancybox itself with no link to the original trigger.
Solution:
$('a.fancybox').click(function(e){
e.preventDefault...
Fancybox works perfectly on my example.html, but when I make a virtual directory in IIS with the default page as example.html, I get jquery syntax errors returned in line 1 of all js files.
'little help anyone?
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; SLCC1; .NET CLR 2.0.50727; ...
how do I use fancybox with authlogic?
I want to use fancybox for doing a login... loading the login form generated by authlogic
I found this http://net.tutsplus.com/tutorials/ruby/how-to-build-an-unobtrusive-login-system-in-rails/ but fancybox works differently.
Any help?
...
I want to automatically close a fancybox iframe, but I want to give it a delay.
$(document).ready(function() {
parent.$.fancybox.close();
});
The code above will automatically close the window successfully, but I want to add a delay, so they may read the message the page displays before it auto closes for them.
...
Hi
I've got the following code:
$(document).ready(function(){ $("a#cakeImages").live("click",function() fancybox({
'titleShow' : false,
'transitionIn' : 'elastic',
'transitionOut' : 'elastic'
}))
});
and I've got the correct images :
<a id="cakeImages" href="cakes/2/1.jpg" >
<img alt="cakeImages"...
Hi guys,
I'm using Fancybox with iframes to load PDF files from database in it. The main idea is that on normal page I have table with content and every row contains field "show invoice", example:
No | Title | PDF file | Action
1. | invoice 1 | show inovice| edit
2. | invoice 2 | show inovice| edit
| ...
Hello, I have a website project in ASP.NET MVC2 and use a Fancybox which loads a contactform in an IFrame. It all works fine.
But... When I debug my project in VS2010, the Action in my Controller got hit 2 times while I expected it to be hit only once.
The Action gets hit by this Javascript code:
$('<iframe id="fancybox-frame" name="f...