Questions tagged [facebox]

Facebox is a jQuery-based, Facebook-style lightbox which can display images, divs, or entire remote pages.

Homepage: http://defunkt.io/facebox/

239 questions
13
votes
2 answers

Show spinner while loading an iframe in a facebox

I am using jQuery facebox to open a new window for authenticating Facebook users with Devise/Omniauth in my rails app. At first I wanted to simply load this in a div like so: $('#facebook-auth').live 'click', -> $.facebox '
CodeWombat
  • 778
  • 2
  • 7
  • 26
8
votes
4 answers

which one is the best: facebox, thickbox, jquery ui dialog, others?

which one is the best to use for: images regular div content ajax loaded content forms to post to server
leora
  • 188,729
  • 360
  • 878
  • 1,366
7
votes
4 answers

Form submitted twice in Chrome/Safari

I am seeking to perform a basic form post, but the following submits to the server twice in Chrome and Safari (but behaves as expected in Firefox):
Create new…
meg
  • 151
  • 2
  • 10
6
votes
3 answers

Warning: A call to document.write() from an asynchronously-loaded external script was ignored. How is this fixed?

In my Ruby on Rails application I am using the Facebox plugin for an Ajax pop up window. I have 2 pages called add_retail_stores/new.html.erb and add_retail_stores/new.js. The new.js page inherits all elements from the new.html.erb page so it looks…
LearningRoR
  • 26,582
  • 22
  • 85
  • 150
5
votes
2 answers

jQuery Facebox: Sends empty input field value

I have facebox plugin to my jQuery, to make lightbox for me. I made a link that you click on and then a friend request form comes up in it. The form makes an ajaxcall when click on "Send request", but the 2 fields dont send anything of what you have…
Karem
  • 17,615
  • 72
  • 178
  • 278
5
votes
2 answers

Locating an element in a 'Facebox' box

Heres my link: http://tinyurl.com/6j727e If you click on the link in test.php, it opens in a modal box which is using the jquery 'facebox' script. I'm trying to act upon a click event in this box, and if you view source of test.php you'll see where…
Chris J Allen
  • 18,970
  • 20
  • 76
  • 114
5
votes
2 answers

Any FACEBOX altenatives?

I'm using facebox ( https://github.com/defunkt/facebox ) for calling web pages in modal window. Is there any RECOMMENDED alternatives to do this? I prefer jQuery releated solutions. Regards, Nuri Akman
Nuri Akman
  • 792
  • 3
  • 18
  • 41
4
votes
1 answer

Opening a div in Facebox programmatically

Using Facebox's documentation, I'm attempting to pop up Facebox programmatically, with the Facebox content being that of a div that is in the document. The problem is is that it is not opening with that content - it's opening blank. What am doing…
Luke Shaheen
  • 4,262
  • 12
  • 52
  • 82
4
votes
2 answers

Adding a CSS class to a table row after loading a page in an iframe with jQuery?

I'm loading a form in an iframe (with facebox). When the form is submitted and the page inside the iframe is reloaded, I would like to add a CSS class to a specific table-row on the parent page. the table looks like this:
BBJ
  • 41
  • 2
4
votes
3 answers

asp.net Button event inside jQuery FaceBox

I'm using jQuery FaceBox to show a textbox, a dropdownlist and a button. The user can write a text in the textbox, select a value in the ddl abd hit the button. This fires some code in the codebehind. The FaceBox shows fine, and the content in it is…
Soeren
  • 1,023
  • 4
  • 22
  • 41
3
votes
1 answer

Open Google Map in Facebox

I'm opening an edit formula within a jQuery Facebox. And under that formular there is a Google Map which indicates with the geocoder the position of the given address with a marker. Unfortunately, the map isn't shown within the facebox. At my normal…
23tux
  • 14,104
  • 15
  • 88
  • 187
3
votes
1 answer

selection of checkbox in facebox and jquery?

HTML: {% for item in result %}
{{ item.foo }} {{ item.bar…
Tauquir
  • 6,613
  • 7
  • 37
  • 48
3
votes
6 answers

jQuery's .val() not working in Facebox

I'm using Facebox (http://defunkt.github.com/facebox/) on one of my websites. Also i'm using jQuery extensively on the site. My problem is that the .val() function doesn't seem to work inside facebox. Now, this is the DIV that shows up as facebox…
Shrihari
  • 105
  • 2
  • 10
3
votes
1 answer

Need help on updating a data on a database table using facebox

Good day to all of you. As the title says I need help about facebox when updating a data(s). Here's the code for the button to show the facebox echo ' td>
MeSH
  • 101
  • 1
  • 10
3
votes
1 answer

Is it possible to change Facebox's settings at runtime? How?

Is it possible to access Facebox settings? For example, I'd like to do set the location of the loading image dynamically (see line 4):
winsmith
  • 20,791
  • 9
  • 39
  • 49
1
2 3
15 16