Results 1 to 6 of 6

Thread: Floating windows

  1. #1
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Floating windows

    In my project i require floating windows to be created.For that i have used javascript DHTMLWidget.js which is provided in this site. When i navigate to the new page the floating windows which are opened are disappering. Is there any way to keep the windows alive even if the navigation happens.

  2. #2
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Are you referring to this script?
    http://www.dynamicdrive.com/dynamicindex8/dhtmlwindow/

    That is part of the page, so if you go to a different page, there is no way to keep it.

    There are three options:
    1. Use this script and don't change anything-- the windows won't stay for the next page.
    2. Use real popup windows, creating a new browser window, not something inside the page. Of course you wouldn't be using this script.
    3. Don't actually load a new page; use Ajax to replace the content of the current page with another page. This is what facebook does, for example; it's very complicated, though, and requires redesigning your entire site, and it will only work (usually) with pages from your site, not external links.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  3. The Following User Says Thank You to djr33 For This Useful Post:

    GeetC (01-05-2012)

  4. #3
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Window already opened

    can we check if the window is already opened using this script?

  5. #4
    Join Date
    Mar 2006
    Location
    Illinois, USA
    Posts
    12,164
    Thanks
    265
    Thanked 690 Times in 678 Posts

    Default

    Have you modified it? Are you using the original version from the demo page?
    It's probably possible, but please explain more about what you intend to do (for example, not open it twice, or close it in some event) so we can see how you could accomplish that. It might require modifying the original script.
    Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum

  6. #5
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    If the window is already opened i have to give alert and should not open the window agian.Can you pelase suggest how it can be accomplished.

  7. #6
    Join Date
    Dec 2011
    Posts
    4
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default

    I am using the original version of the script only.

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
  •