ftg-web
asked on
Shadowbox script not resizing??
Hi Folks,
I have an issue with my shadowbox script, it displays just fine but I am trying to use it for my callback script/form and am trying to get the background to resize to the same size but it won't and so my callback form is on a big white background. I followed the usage options on the shadowbox-js.com website but have still not managed to get it right?!
I have included the various file in the <head> section of the page. Please see the code I have attached. I have not modified the css file or .js file as provided in the shadowbox script.
Is there anyone that can help?!
I have an issue with my shadowbox script, it displays just fine but I am trying to use it for my callback script/form and am trying to get the background to resize to the same size but it won't and so my callback form is on a big white background. I followed the usage options on the shadowbox-js.com website but have still not managed to get it right?!
I have included the various file in the <head> section of the page. Please see the code I have attached. I have not modified the css file or .js file as provided in the shadowbox script.
Is there anyone that can help?!
<link rel="stylesheet" type="text/css" href="shadowbox/shadowbox.css">
<script type="text/javascript" src="shadowbox/shadowbox.js"></script>
<script type="text/javascript">
Shadowbox.init({
skipsetup: true
});
window.onload = function() {
// set up all anchor elements with a "callback" class to work with Shadowbox
Shadowbox.setup("a.callbackform", {
height: 410,
width: 410
});
};
</script>
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.