CD-323Appendix F . Examples from (Yahoo web space) Parts III and
CD-323Appendix F . Examples from Parts III and IV function toggleFrameScroll(frameID) { var theFrame = document.getElementById(frameID) if (theFrame.frameBorder == yes ) { theFrame.frameBorder = no } else { theFrame.frameBorder = yes } } height width NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility Example The following fragment assumes a frameset defined with two frames set up as two columns within the frameset. The statements here live in the framesetting document. They retrieve the current width of the left frame and increase the width of that frame by ten percent. Syntax shown here is for the W3C DOM, but can be easily adapted to IE-only terminology. var frameWidth = document.getElementById( leftFrame ).width document.getElementById( mainFrameset ).cols = (Math.round(frameWidth * 1.1)) + ,* Notice how the numeric value of the existing frame width is first increased by ten percent and then concatenated to the rest of the string property assigned to the frameset s cols property. The asterisk after the comma means that the browser should figure out the remaining width and assign it to the right-hand frame. noResize NN2 NN3 NN4 NN6 IE3/J1 IE3/J2 IE4 IE5 IE5.5 Compatibility FRAME.noResize
If you are searching for cheap webhost for your web application, please visit MySQL5 Web Hosting services.