multiple htm files in a floater?

Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.

  1. #1

    Default multiple htm files in a floater?

    Is there a way to create a floater extension with multiple .htm files? I've
    tried doing a simple <a href='anotherfile.htm'> but that doesn't seem to switch
    to the other file. is this currently possible or am i stuck with changing the
    visibility of divs? Steve

    Steve Guest

  2. Similar Questions and Discussions

    1. CS4 Floater Size Bug
      I have some floaters which work fine in CS3 but when I view them in CS4 the floaters are not sized properly. I can manually resize the floaters,...
    2. Scrollbar in a floater
      Hi everybody, I want to insert an area with a scrollbar in a floater panel, like dw's binding one. I tried frame, iframe, layer tags, div with...
    3. How to add popup menu in a floater
      I made a floater and want popup a menu when right click the floater. But I do not find any API to popup menu. Anyone knows some ways to make it...
    4. Help Making Floater
      This is where I am.. I made a menu item under windows to open my floater. I made the floater.htm file so when I click the menu option the floater...
    5. Drop down menu in a floater
      is there any way to make a drop down menu in a floater like the one in the behaviors panel when you press the plus button? Thanks
  3. #2

    Default Re: multiple htm files in a floater?

    "Steve" <m@secretagents.com> wrote in message
    news:cv51vq$a4l$1@forums.macromedia.com...
    > Is there a way to create a floater extension with multiple .htm files?
    I've
    > tried doing a simple <a href='anotherfile.htm'> but that doesn't seem to
    switch
    > to the other file. is this currently possible or am i stuck with changing
    the
    > visibility of divs? Steve
    If you prefer to split the GUI code into different files, you can read them
    on the fly with DWfile APIs, then set the innerHTML property of a <div>.

    Of course, you can read the files at startup and keep their contents in
    memory

    I don't know if this could fit your scenario. Hope it may be of help.

    Massimo



    Massimo Foti Guest

  4. #3

    Default Re: multiple htm files in a floater?

    Steve wrote:
    > Is there a way to create a floater extension with multiple .htm files? I've
    > tried doing a simple <a href='anotherfile.htm'> but that doesn't seem to switch
    > to the other file. is this currently possible or am i stuck with changing the
    > visibility of divs? Steve
    Hey Steve,

    href links aren't supported in Dreamweaver, it's in the docs somewhere.

    You have a couple of options for what you're trying to do. You can show and hide divs, or you can rewrite the UI (or a portion of it usually, e.g. keep the toolbar buttons, but redraw the rest of the dialog) based upon the user input by reading in content from disk, or by building the HTML on the fly as needed. If you have a number of options, or perhaps the options that show per "page" of the panel can vary, rewriting the UI may be the better option. It's generally quite fast, but can induce a small flicker as the UI is redrawn.

    HTH

    --
    Enjoy,
    Danilo Celic

    | Extending Knowledge, Daily
    | [url]http://www.CommunityMX.com/[/url]

    Those who aren't looking often have their eyes open widest.
    danilocelic *TMM* Guest

  5. #4

    Default Re: multiple htm files in a floater?

    yeah i figured those were my only options. I hope MM improves the floater extensions in the next release. They have so much potential but seem to be lacking in areas like this.

    Steve
    Steve Guest

  6. #5

    Default Re: multiple htm files in a floater?

    Oh btw, another interesting approach is to grab the UI from the server. I've
    been experimenting with this a bit. The slick thing about this approach is that
    in theory the entire extension could be automatically updated from a server. No
    need to redistribute new MXP files. Steve

    Steve Guest

  7. #6

    Default Re: multiple htm files in a floater?

    Steve wrote:
    > yeah i figured those were my only options. I hope MM improves the floater extensions in the next release. They have so much potential but seem to be lacking in areas like this.
    As always ask for it:
    [url]http://www.macromedia.com/support/email/wishform/[/url]

    --
    Enjoy,
    Danilo Celic

    | Extending Knowledge, Daily
    | [url]http://www.CommunityMX.com/[/url]

    Those who aren't looking often have their eyes open widest.
    danilocelic *TMM* Guest

  8. #7

    Default Re: multiple htm files in a floater?

    Steve wrote:
    > Oh btw, another interesting approach is to grab the UI from the server. I've
    > been experimenting with this a bit. The slick thing about this approach is that
    > in theory the entire extension could be automatically updated from a server. No
    > need to redistribute new MXP files. Steve
    I've done this with a couple of extensions I've written for companies. Well technically, I pull down the file via MMHttp.getFile() and then compare version numbers, if newer, then I replace the local copy of the file. If I can't access the remote file, then I use just the local copy. Good practice for users of laptops that won't always be connected.

    They just need to add the ability to post files to a remote server instead of only allowing posting of text.



    --
    Enjoy,
    Danilo Celic

    | Extending Knowledge, Daily
    | [url]http://www.CommunityMX.com/[/url]

    Those who aren't looking often have their eyes open widest.
    danilocelic *TMM* Guest

Posting Permissions

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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139