customer view tab for an external info page, RT#8903
[freeside.git] / httemplate / view / cust_main / custom.html
1 <IFRAME id="customframe" 
2         src="<% $proxyurl %>" 
3         onload="resizeFrame(this)"
4         frameborder=0
5         marginheight="0px"
6         marginwidth="0px"
7         width="100%"
8         scrolling="no"
9 >
10 </IFRAME>
11 <SCRIPT TYPE="text/javascript">
12 function resizeFrame(f) {
13   f.style.height = f.contentDocument.body.scrollHeight + 'px';
14 }
15 </SCRIPT>
16 <%init>
17
18 my( $cust_main ) = @_;
19
20 my $proxyurl = $p.'/misc/custom_link_proxy.cgi?custnum='.$cust_main->custnum;
21 </%init>