ok well basically im creating a shop and i want the iframe height to be dynamic so if theres mroe items on a certain product then the ehight will just get bigger, does anyone know any javascript to do this ?? heres the iframe i got so far <iframe src ="http://shop.safetynetdirect.com/cgi-bin/mk_cat.pl?cat=SSEF" scrolling="no" width="740px" height="100%" border="0px" frameborder="0" padding="0px" margin="0px"> </iframe>
ok found found that you can't make a iframe height dynamic if the iframe src is from another domain i can get it working fine to my shop by doing this: <iframe id="myframe" src="../shop/cgi-bin/mk_cat.pl?cat=SSEF" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" ></iframe> but all of the images in the shop get broken within my iframe as they images are on the sub domain, so my website is: http://www.safetynetdirect.com/ but subdomain is http://www.shop.safetynetdirect.com does anyone know how i can link my iframe to the subdomain by going through directories rather then a whole link.