Log in

View Full Version : Iwant to change the title of a dhtml window without changing the content.



houstonrca
10-07-2008, 02:57 PM
1) Iwant to change the title of a dhtml window without changing the content.
2) http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/index.htm

3) Describe problem: How can I change the title of a dhtml window without
changging content. Thanks Houstonrca

ddadmin
10-07-2008, 03:24 PM
Sure. Upon opening a DHTML window, you can get to its title by accessing windowinstance.handle.firstChild. For example:


var googlewin=dhtmlwindow.open("googlebox", "iframe", "http://google.com", "Google Web site", "width=700px,height=450px,resize=1,scrolling=1,center=1", "recal")

googlewin.handle.firstChild.nodeValue="new title here!"

houstonrca
10-14-2008, 07:23 PM
I apologize,your site was very new to me initially. So i assumed
that I did not submit my question correctly.
Thanks, for pointing it out learning new things about ur site each time I come.

Also, a suggestion you should have a monetary donation button on your home page.

Regards,
Houstonrca