Colorbox static size??? - Post ID 195842

User 184085 Photo


Ambassador
1,707 posts

Aside from crawling through the PHP code is the colorbox size settable somewhere?

http://i130.photobucket.com/albums/p248/pug2775/coffeecup/coffee_form2.jpg
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 103173 Photo


VP of Software Development
0 posts

You can adjust this in the block of code you add to your header:


<!-- Start of the headers for CoffeeCup Web Form Builder -->
<link rel="stylesheet" href="./c/colorbox/colorbox.css" />
<script src="./c/common/libs_js/jquery-1.4.4.min.js"></script>
<script src="./c/colorbox/jquery.colorbox.js"></script>
<script>
var $fb_pop = jQuery.noConflict();

$fb_pop(document).ready(function(){
$fb_pop(".fb_iframe").colorbox({iframe:true, innerWidth:"672px", height:"80%", maxHeight:"811px", fixed:true });
});
</script>
<!-- End of the headers for CoffeeCup Web Form Builder -->


Just change this part: $fb_pop(".fb_iframe").colorbox({iframe:true, innerWidth:"672px", height:"80%", maxHeight:"811px", fixed:true });
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 184085 Photo


Ambassador
1,707 posts

And further updates to the form don't require me to update the header code so we are good to go... well thought out ;)
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 103173 Photo


VP of Software Development
0 posts

david wilson wrote:
And further updates to the form don't require me to update the header code so we are good to go... well thought out ;)

It is possible. Right now we are just gathering feedback. ;)
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.
User 184085 Photo


Ambassador
1,707 posts

Right now it doesn't seem to work in firefox, I will play a little more and see how other browsers react.
Volunteering to help :)
http://www.tbaygeek.ca
My HTML play area
http://www.tbaygeek.ca/test/
User 103173 Photo


VP of Software Development
0 posts

david wilson wrote:
Right now it doesn't seem to work in firefox, I will play a little more and see how other browsers react.

Just tried it with Firefox 14 and it works here:

http://hotsync.net/
Learn the essentials with these quick tips for Responsive Site Designer, Responsive Email Designer, Foundation Framer, and the new Bootstrap Builder. You'll be making awesome, code-free responsive websites and newsletters like a boss.

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.