Results 1 to 3 of 3

Thread: Iwant to change the title of a dhtml window without changing the content.

  1. #1
    Join Date
    Aug 2008
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Iwant to change the title of a dhtml window without changing the content.

    1) Iwant to change the title of a dhtml window without changing the content.
    2) http://www.dynamicdrive.com/dynamici...ndow/index.htm

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

  2. #2
    Join Date
    Aug 2004
    Posts
    10,143
    Thanks
    3
    Thanked 1,008 Times in 993 Posts
    Blog Entries
    16

    Default

    Sure. Upon opening a DHTML window, you can get to its title by accessing windowinstance.handle.firstChild. For example:

    Code:
    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!"
    DD Admin

  3. #3
    Join Date
    Aug 2008
    Posts
    12
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Smile

    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

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •