Advanced Search

Results 1 to 2 of 2

Thread: Change external pages on iframe

  1. #1
    Join Date
    Oct 2005
    Posts
    63
    Thanks
    5
    Thanked 1 Time in 1 Post

    Default Change external pages on iframe

    1) Script Title: DHTML Widget Window

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm

    3) Describe problem: Seeking method to change external pages on which the window appears.

    ie. the iframe content remains the same,while the page in the browser is changed

  2. #2
    Join Date
    Oct 2005
    Posts
    63
    Thanks
    5
    Thanked 1 Time in 1 Post

    Default

    Quote Originally Posted by dbldee View Post
    1) Script Title: DHTML Widget Window

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...ndow/index.htm

    3) Describe problem: Seeking method to change external pages on which the window appears.

    ie. the iframe content remains the same,while the page in the browser is changed
    HTML Code:
    function changeParentLocation() {
        document.frm1.submit();
        self.parent.location.href = 'parent url';
        return true;
    }
    
    
    <input type="button" name="Submit" value="submit Url" onclick="changeParentLocation();" />

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
  •