Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
Steve #1
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
-
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,... -
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... -
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... -
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... -
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 -
Massimo Foti #2
Re: multiple htm files in a floater?
"Steve" <m@secretagents.com> wrote in message
news:cv51vq$a4l$1@forums.macromedia.com...I've> Is there a way to create a floater extension with multiple .htm files?switch> tried doing a simple <a href='anotherfile.htm'> but that doesn't seem tothe> to the other file. is this currently possible or am i stuck with changingIf you prefer to split the GUI code into different files, you can read them> visibility of divs? Steve
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
-
danilocelic *TMM* #3
Re: multiple htm files in a floater?
Steve wrote:
Hey Steve,> 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
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
-
Steve #4
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
-
Steve #5
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
-
danilocelic *TMM* #6
Re: multiple htm files in a floater?
Steve wrote:
As always ask for it:> 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.
[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
-
danilocelic *TMM* #7
Re: multiple htm files in a floater?
Steve wrote:
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.> 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
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



Reply With Quote

