summaryrefslogtreecommitdiff
path: root/httemplate/view/cust_main/custom.html
blob: 8e2e07b75ff785032b1acf4a98b04021fe050473 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<IFRAME id="customframe" 
        src="<% $proxyurl %>" 
        onload="resizeFrame(this)"
        frameborder=0
        marginheight="0px"
        marginwidth="0px"
        width="100%"
        scrolling="no"
>
</IFRAME>
<SCRIPT TYPE="text/javascript">
function resizeFrame(f) {
  f.style.height = f.contentDocument.body.scrollHeight + 'px';
}
</SCRIPT>
<%init>

my( $cust_main ) = @_;

my $proxyurl = $p.'/misc/custom_link_proxy.cgi?custnum='.$cust_main->custnum;
</%init>