Hello, I'm looking to try and get a form to submit showing the results in a lightbox/squeezebox or something similar. I'm using Joomla! Does anyone know if this is possible or how to do it? I've used a component called BreezingForms to create and process the forms. There is a section that I can enter in javascript to be executed after submitting a form. Any ideas?
Follow this code window.addEvent('domready', { /** * Set default options, overrideable from later calls. */ SqueezeBox.initialize({ size: {x: 350, y: 400} }); /** * Assign SqueezeBox to all links with rel="boxed" attribute, the class then reads the "href". */ SqueezeBox.assign($$('a[rel=boxed]')); /** * Open some content manually */ SqueezeBox.open('manual.html'); // handler defaults to "ajax" for urls SqueezeBox.open('http://digitarald.de', {handler: 'iframe'}); // we force the "iframe" handler here ... SqueezeBox.open($('welcome'), {handler: 'adopt'}); // and here we force "adopt" handler });