Results 1 to 2 of 2

Thread: Command for widget window

  1. #1
    Join Date
    Oct 2005
    Thanked 1 Time in 1 Post

    Question Command for widget window

    1) Script Title: DMHTLWidget Window

    2) Script URL (on DD):

    3) Describe problem:
    Is there someway that the code to change contents like a "next " link be placed within the border or even inside of the CSS file.

    Where can this link be placed so that the viewer is able to change the contents?

  2. #2
    Join Date
    Aug 2004
    Thanked 1,007 Times in 992 Posts
    Blog Entries


    I gather you mean how to create a link within the DHTML window contents that updates this window with new content. Well, just for sake of discussion, a link that's outside this window and on your main page that does this looks like:

    <a href="#" onClick="googlewin.load('iframe', '', 'CSS Drive'); return false">Load new site into window</a>
    So the question is, is the syntax different when I'm adding such a link inisde the DHTML window page instead? In the case of a IFRAME based DHTML window, yes. The above would look like:

    <a href="#" onClick="parent.googlewin.load('iframe', '', 'CSS Drive'); return false">Load new site into window</a>
    instead. In the case of INLINE and Ajax based DHTML windows, no, there is no difference. Just use the same link you would use on your main page to alter the DHTML window's content as you would inside the DHTML window instead.


Posting Permissions

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