By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,299 Members | 1,228 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,299 IT Pros & Developers. It's quick & easy.

how do u make the title change with each new page in the iframe?

P: 1
My friend wants to make a site but his IT teacher says tht he needs to have a different title on each page. He also wants an iframe so tht he can navigate with his pages easier. But the problem is whenever he makes a url and targets it to the iframe the entire title of his page does not change.
<iframe src="URL" name="name"></iframe>
<a href="URL" target="name">Name of URL</a>
this is wht he got but the entire title of the page does not change with each new url he opens in the iframe
Nov 2 '08 #1
Share this Question
Share on Google+
2 Replies


eWish
Expert 100+
P: 971
I believe that you would have to use JavaScript to achieve this. Not sure that it could be done with JavaScript either. However, I believe that is going to be your best option if you still want to use an iframe. If you want to use JavaScript I will be glad to move this thread for you.

--Kevin
Nov 3 '08 #2

drhowarddrfine
Expert 5K+
P: 7,435
A frame is part of a web page so the title cannot change based on this 'subsection' except, as eWish thinks, through javascript.
Nov 3 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.