Window minimization function SonMinimize()Īlert('No window yet opened or closed' ) Īlert('The window has not been opened or closed.' ) Īlert(+'*'+ ) Īlert('Haven't open the window yet or closed' ) Īlert(("OpenDiv" ). Win.resizeTo(screen.availWidth+8,screen.availHeight+8 ) Īlert('Haven't opened the window or closed' ) Maximize the window function SonMaximize() INNNERHTML = "I am ff to assign a value through the parent window" The Complete Full-Stack JavaScript Course 96 Lectures 24 hours Joseph Delgadillo More Detail To call a parent window function, use window.top. conteTdocument.GtelementByid (ContentID). INNNERHTML = "I am assigned by the parent window through the parent window" ĭocument.GtelementByid (ObjectID). I was thinking of just using java script to make the iframe scroll bars go. ObjectID is the window ID, ContentID is an element ID function SetValue(ObjectID,ContentID)ĭames (ObjectID). I can do this by setting an anchor, but it makes the parent window go there, too. The parent object assigns a subsidiary Var IsIE = (navigator.appName = 'Microsoft Internet Explorer' ) ObjectID is the window ID, ContentID is an element ID function GetValue(ObjectID,ContentID) Parent object gets the value of the child window Window.postMessage() This method safely enables cross-origin communication.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |