Print.. and INFO.. work with images but not HTML

Page: 1

Author Post
tobtob
Guest
Can I specify a width and height for both the HTML content (600x510) and the InfoBox (400x160) ? I don't see the infobox used with an HTML page in the demo's.

Here is a test page that shows my problem:
http://www.hudsonvalleygolf.com/floattest.html

Here is all of the code on the page:
<body>
<a rel="floatbox" title="TOB -Dynamic Coupon Name Here" rev="width:600 height:510 showPrint:true info:#coupon_info infoOptions:&#039;width:400 height:160&#039;" href= "http://204.8.82.53/coupon/myaccount/print_generator.asp?couponuser=100000&amp;couponorder=10047&amp;couponnum=323660&amp;couponset=U8N9LA3K7T-1">TEST</a>
<div id="coupon_info" style="display:none;">
<div style="position:absolute; width:200; height:100; background-color:#ffe; color:black;">
<p style="margin:10px;">
This is a place where you can put any sort of blurb you like about the underlying floatbox content.<br /><br />
In this example, the info box is loading content from a hidden div, but you can load anything floatboxable here - an iframed web page, flash, whatever.
</p></div></div>
</body>


http://www.hudsonvalleygolf.com/floattest.html
Administrator
Registered: Aug 2008
Posts: 3382
It's a simple problem. You're using normal single quotes around your infoOptions where you need to be using backquotes (top left corner of the keyboard).

Change it to infoOptions:`width:400 height:160` and you should be good to go.
tobtob
Guest
Thank you ! That took care of the problem .

Page: 1