shadowbox

asp.net mvc JavaScript in View User Controls rendered through regular browser request and AJAX request

I have this code in some of my ASCX files: <%=Html.ActionLink(Resources.Localize.Routes_WidgetsEdit, "Edit", "Widget", new { contentType = Model.ContentType, widgetSlug = Model.Slug, modal=true}, new { rel = "shadowbox;height=600;width=700", title = Resources.Localize.Routes_WidgetsEdit, @class = "editWidget" })%> Take note of ...

Shadowbox timing issue

Hi, I'm using shadowbox js for showing Flash video in lightbox style popups. So far it's working but I have this problem: when the page loads and the user clicks too early on the linked image which should open the shadowbox the swf is loaded directly (and no popup appears). Also, the script seems to stop in this case and never assigns...

Shadowbox.js: black text on black background with welcome message on window load.

Hey, I am using the Shadowbox.js example code to show a shadowbox with the message "This site is still under construction!" on page load: <link rel="stylesheet" type="text/css" href="shadowbox.css"> <script type="text/javascript" src="shadowbox.js"></script> <script type="text/javascript"> Shadowbox.init({ // let's skip the automa...

jQuery - Shadowbox rebinding

Hi, How do I bind / initialize Shadowbox to content loaded by jQuery using AJAX? Right now shadowbox works when I first come into the site. However, when I swap the content with a new one loaded through AJAX, these new batch of content doesn't do the shadowbox popup, instead it just redirect to the content. I have Shadowbox.init(shado...

Wordpress - Shadowbox skinning & sizing

Hi, How do I skin shadowbox and make sure popup size is fixed size? The css part is ok since it's just overriding ids and classes. However, I'm not sure what the markup.js is supposed to look. So here are my questions: 1. I created shadowbox-custom-skin/markup.js and added the hook like add_filter('shadowbox-markup', 'shadowbox_cu...

Pull form from shadowbox, and submit it from the parent window

Hi all. I have a form in a shadowbox, and when the user clicks the submit button (or a link with an onclick, i don't mind) i want to step in, close the shadowbox, then submit the form data from the parent window. Can anyone tell me how to do this? I can't work it out. Something like this semi-pseudocode... $("#my_form").submit(funct...

Shadowbox not working in IE

Hi guys, I have a bit of a problem with my shadowbox, it works fine in FF, but it refuses to work in IE 7 or 8. I am using these scripts, <script type="text/javascript" src="scripts/jquery-1.4.2.js"</script> <link rel="stylesheet" type="text/css" href="scripts/shadowbox/shadowbox.css"> <script type="text/javascript" src="scripts/shadow...

Shadowbox.js and dailymotion videos

Hi there. I have a site set up with some thumbs and links to videos hosted on vimeo. I show them in a overlay using shadowbox.js. This works perfect. Now I want to add a video hosted on dailymotion, but it doesn't work. The working link to vimeo video: <a rel="shadowbox;height=636;width=956" href="http://vimeo.com/moogaloop.swf?clip_...

Can i have a flash movie communicate with Shadowbox jquery overlay?

I want to have my overlay adjust in size depending on how much content is being shown in the flash movie. Also, I want it to resize in real time when the user adjusts the content. Is it possible? ...

I need help to disable shadowbox from resizing

This overlay seems to be the only overlay plugin that works within my schools wonky template... but the problem is that when the browser is resized the shadowbox resizes too, clipping the contents inside. I want it so the box stats fixed and if the browser does get smaller the browser will have scrollbars. I know it's been modified befo...

Shadowbox doesn't works when it's placed inside of a jQuery ".html" function.

Well, I'm placing a link inside of a div called "alerta" with jQuery function ".html". Ok, then I tried to place the "rel='shadowbox'" parameter inside of my "a" tag and it doesn't works. $('#alerta').html('<a href="selecao.php?id=' + avisos[i+1] + '" rel="shadowbox">' + avisos[i] + '</a>'); If the link is place...

Test if current page is inside a shadowbox? (so i can close the shadowbox and reopen that page in the main window)

Hi all I have a couple of pages in my site which open in a shadowbox window rather than the main window. My problem is that if the user session expires, then the user clicks on one of the links that open in a shadowbox, they are redirected to the login page INSIDE THE SHADOWBOX, which i don't want. I've been trying to think of the bes...

Shadowbox + jQuery not working - No errors.

First, apologies. I'm a js newb. I'm attempting to trigger a shadowbox with the load of a specific page - a "pop-up" if you will. Nothing happens and according to firebug, there are no errors to report. I should note that this is wordpress, so I'm using the default jQuery call and also shadowbox rolled into a WP plug-in. Shadowbox do...

Shadowbox <a> link to target parent window?

I'm a n00b when it comes to JavaScript and the DOM... once I've opened up an HTML file in a shadowbox, how do I make an a href link or submit a form from the shadowbox into the parent window? I'm using Rails to build my forms, not sure if that makes a difference. ...

function call does not return to calling function

I'm using Shadowbox.js to display a slideshow on a website. This slideshow shows several pictures and I would like to know who's looking at what pictures. For this purpose I'm using statcounter.com. Shadowbox offers a so called hook to call a function when the slideshow opens and when it changes to another picture. I've written a small ...

PRoblem with shadowbox and ie

Hy I am trying to open a external page in a shadowbox holder the script is nt that complex. In mozilla it work`s grate but IE all versions it does not load the page or it does not display it because all that I see is a lack screen Can anyone help me pls <script type="text/javascript" src="js/moving-boxes.js"></script> <script type='text...

Shadowbox not loading CSS on a external php page that I am loading

Hy my problem is like this : 1. I am loading an external page via shadowbox this page that I am loading is php 2. The page that is loading does not have any css or images This is my head: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt; <html> <head> <meta http-equiv="Content-Type" content...

Problem loading php page via shadowbox

Hy I have a html page in witch I want to open a php page via shadowbox, the problem is in IE 6/7/8 the page is loading but it is not displaing, it works perfectly in FF this is the hole page, the problem occures when you click on [email protected] at the bottom of the page. I have tried using colorbox and thickbox <!DOCTYPE H...

Can't seem to get shadowbox to work.

Hi guys, Ive ran into a problem getting anything with shadowbox to work. Here is the top of the page: <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Beginning Android</title> <link rel="stylesheet" type="text/css" href="shadowbox.css"> <script type="text/javascript" src="shadowbox.js"></script> <scri...

Shadowbox opening image url as iframe

Hello, I'm having a problem with Shadowbox opening a image url as an iframe instead of an image. Is there something i'm missing on this? Here's the link : http://www.cornerstonelv.com/DDunya/handbags/evening-wear/ Cheers, ...