answersLogoWhite

0


Best Answer

Using JavaScript, you can accomplish this by deleting the iframe node from the DOM.

User Avatar

Wiki User

12y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How can you close the iframe in calling page in php and javascript?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How can you get info to be displayed on a web page without changing the page by clicking on a link or image?

You can use an iFrame or a pop-up window to display it. You can also use JavaScript too.


How can you add a webpage in an HTML?

To add a webpage within a particular area in an already existing HTML page, <EMBED> tag or <IFRAME> tag can be used. For example: <EMBED SRC="http://www.domainname.com"> will add the page (http://www.domainname.com) in the existing page. Or <IFRAME SRC="http://www.domainname.com"></IFRAME> will also add the page (http://www.domainname.com) in the existing page.


How you can create a web page such that only limited part get refreshed like gmail chat window?

Pretty simple. Use a frame or Iframe on the page you want. You can call any other page or a page supplement through the Iframe. Create another page separately to be called inside the Iframe and assign it a auto refresh value. This way the the parent page need not be refreshed all the time.


How do you change the size of an HTML iframe?

---- iframe {width: 500px; height: 500px;} ---- That's the CSS code for changing an iFrame's width and height. Insert it in the page the iFrame's in, or wherever you put your CSS. If you don't use CSS, or it doesn't work, try this: ---- <iframe src='linktopage' width='500' height='500'></iframe> ---- ...And that's the code for defining the width and height of an iFrame within the iFrame tag.


How do you optimize an iframe site for search engines?

Iframes though quite helpful are not very seo friendly. Some SEO prefer to use a tag to describe the frame or iframe to the search engines. Else there is no way a search engine spider will read the contents of an iframe. The reason is obvious: say some page ranks number one for a particular keyword with lots of good content. You simply cannot reap the benefits of showing the same page inside a frame on your site. The alternative is to use the noframe HTML tag to describe the frame and its contents. This practice is not highly recommended. The second thing you may do is to provide links to the page inside the iframe. This will do you good only if the iframe page belongs to your site. Get Best SEO tools in >>> solidseotools.com


How do you get a page within a page on a Piczo website?

Go to the page which you want you other page to be on, and if you haven't already done so, create a new page that is going to be on the base page. To do this, click on tools, then click on the word 'page'. Make a page name, and select either Normal page, or Guestbook. After you have a page created, go to your base page. Click on tools, and then Text, and type in your page name. Where is says 'choose an album or page' click on the drop-down arrow and select the page you are linking to. After you have pressed OK, you will then have a link to another page, on a page. If you do this with all of your pages, you can then delete your pages list. *I am guessing you mean an iframe. An iframe will allow you to have a page on another page. Or even a whole site on your page. Here is an iframe tutorial: http://www.yourhtmlsource.com/frames/inlineframes.html ...just in case this is what you meant by asking about a page within a page.


What is the function of the app called Noscript?

Noscript can be used when a page does not recognize Javascript, or when Javascript is not enabled. Noscript allows the information on the page to still be readable.


How do you run javascript progamming?

Javascript should run on its own. and when the page is loaded it will automaticly render on its own.


What are frames in HTML?

By using frames, you can display more than one HTML document in the same browser window. The frameset tag <frameset> defines how to divide the window into frames. Each frameset defines a set of rows or columns to the size, or percentage of the page the frame is, and the source of the HTML to display in each frame. for example <frameset cols="300,400"> <frame src="frame_a.htm"> <frame src="frame_b.htm"> </frameset>


How to design webpage using java script?

JavaScript is not very useful in web page design, JavaScript is used more for page functionality. For web page design; look up CSS.


What is the importance of javascript?

JavaScript can be used to add effects on the pages of web site, creating simple animations with the elements in the page. It is used to improve the page design and functionality.


How do you write a javascript?

go to notepad and write Javascript code and save it as .js and then import it into a page with a src tag