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
2
votes
2 answers

How to create a BBC style (facebox?) help popup

I have tried to take apart the code, but can't seem to replicate it. On the BBC weather homepage, http://news.bbc.co.uk/weather/, you will see a little help quetionmark in a circle in the top right corner or some of the boxes. When you click on it,…
Ian Batten
  • 51
  • 1
  • 2
2
votes
2 answers

Facebox window closes after submit

I have a question regarding Facebox. When I click a certain link on my page, the Facebox modal window opens just fine. But inside this modal window I'd like to have a form that users can submit. When the users click the submit-button, the whole page…
Kim Andersen
  • 1,913
  • 4
  • 23
  • 36
2
votes
1 answer

Questions on a snippit of jQuery

Ok, so I am using the facebox plugin. One of the examples given is to trigger the popup, trigger a spinner, do an ajax call, when the call returns replace the spinner with the results. Code is here jQuery.facebox(function($) { $.get('blah.html',…
Matt Briggs
  • 41,224
  • 16
  • 95
  • 126
2
votes
1 answer

A link to redirect within a facebox (does not break out)

How can make a link within a facebox window that redirects it to another page without breaking out? I tried using an iframe which worked nicely... except the initial content I want to display in the facebox is a simple message and a link. I then…
JimBo
  • 313
  • 2
  • 4
  • 8
2
votes
1 answer

jquery plugins: localisation and facebox conflict

I'm having a problem trying to get working those 2 plugins together: Localisation (for translating the javascript) and facebox (everyone knows that one right?) I can make them work separately without any problem, but when the localisation plugin is…
OSdave
  • 8,538
  • 7
  • 45
  • 60
2
votes
2 answers

Jquery form serialization is not working on facebox with Scala Play Framework 2.2

I know some similar questions are also available, but they doesn't help me. I am doing it in Scala Play Framework. I am posting my code below: var saveNameRequest; function saveName(){ if(!saveNameRequest){ …
user2822316
2
votes
3 answers

Jquery Live with facebox plugin

I'm trying to use the jquery facebox plugin with live events (the official implemenatation, not the plugin). My main page loads in a page via ajax. That remote page also has links to other remote pages which i would like to display in a popup…
MrBliz
  • 5,830
  • 15
  • 57
  • 81
2
votes
1 answer

Syntax highlight plugin without JS, pure CSS

i want to display some source code on ajax loaded page via Facebox plugin. But if i try to add script tag Facebox remove all script tags in loaded page. So i need pure CSS based solution for syntax…
redrom
  • 11,502
  • 31
  • 157
  • 264
2
votes
1 answer

How to make a "footer" stick to the bottom of a facebox (jQuery plugin) dialog

I'm using a jQuery plugin called Facebox to create dialogs with content, and of course blocking and fading out the rest of the page. This plugin can apply an external html page as a layout like this: Open Facebox…
Aske B.
  • 6,419
  • 8
  • 35
  • 62
2
votes
2 answers

css and js files are being cached by the iframe

I am using a jquery plugin named facebox. It works very well but I am faced! with an issue. It looks like its iframe method is causing my browser to cach the css that is being loaded in the target page. This is how I call it in my page in the jquery…
themhz
  • 8,335
  • 21
  • 84
  • 109
1
vote
0 answers

Facebox on Rails not loading external remote link

I'm trying to open an item's link on Facebox, by using the following code: rel="facebox"><%= item.title%> It works correctly when the link leads to an image or action within the site, but I'm trying to open an external…
ura1a
  • 11
  • 2
1
vote
1 answer

jquery ajax sucess data into facebox

UPDATE: The code if working I has some css issues. I'm trying to put ajax data into facebox modal box, I have the following code but facebox modal box is not loading. Looking into firebug ajax is returning the correct data but i do not know how to…
alexandra
  • 187
  • 1
  • 1
  • 11
1
vote
3 answers

Webdriver error: Element is not clickable at point (-99999800, 242.5) driving Facebox control via watir-webdriver

I'm using watir-webdriver with chrome to automate my tests and I'm kinda stuck now. I have a form inside a facebox(defunkt.io/facebox). There are many checkboxes inside this form as you can see: irb(main):113:0> b.checkboxes.size => 122 My problem…
Lucas Castro
  • 21
  • 1
  • 6
1
vote
1 answer

Jquery Wordpress PHP image reference

I'm trying to reference a image that is in the same folder has the .js but call it on any page of my php/wordpress page. So the .js is in http://www.example.com/wp-content/themes/includes/demo/facebox.js and the image is on…
Dan
  • 183
  • 3
  • 14
1
vote
1 answer

Is there something wrong with my code?

I don't think there is but this wont load inside facebox: $("#email").submit(function(event) { event.preventDefault(); if ($("#tinput").val() == "") { $('#error').append('You need to select a template.
'); } else if…
Meisam Mulla
  • 1,845
  • 3
  • 23
  • 37
1 2
3
15 16