javascript - Changing iframe lengths by clicking on a link -


I am very new to javascript and this can be a dumb question, working on a school website, But an IFrame must be small / long.

Say that I have a navbar on top with an iframe. Would it be possible to add one of these links, such as

  function iframeLength () {frame.obj.length = 200; }  

I tested this code, it works like a magic thing is, I do not know if i , because I need something based on the length of the IFRAME.

Thank you, Michael

I think this is what you want :

& lt; A href = "#" onclick = "return iframe lang ();" & Gt; Do it! & Lt; / A & gt;

Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

lua - HowTo create a fuel bar -