Skip to main content
Inspiring
November 3, 2007
Question

Extending Dreamweaver DOM Object

Hi all, I'm looking for a way to extend the Dreamweaver DOM object with
custom functions.
In this case I need to backport the copyAssets function
http://livedocs.adobe.com/en_US/Dreamweaver/9.0_API/dwr_pagecontent_cn_088.html
for earlier versions of dreamweaver and reroute calls to an existing of
custom implementation.

My idea is to create a Startup Item that uses the dom object as prototype
and extends or overrides certain functions, but then: how should I tell
dreamweaver to use that object instead of the normal DOM?

--
Joris van Lier



This topic is closed to new replies. Start a new post to keep the conversation going.

4 replies

Inspiring
November 19, 2007
"sherifmayika" <webforumsuser@macromedia.com> wrote in message
news:fhruj3$rmd$1@forums.macromedia.com...
> Can you explain what you finally wahnt to achive.
> sherif
>
> sherif@sherifamyika.com

I'd like to back-port certain functions added to the DOM object in later
versions of dreamweaver, for example the copyAssets function.
I'd like to do this in a way that does not require changing files that
expect this function to be there.

Joris

Translate
Participant
November 19, 2007
Can you explain what you finally wahnt to achive.
sherif

sherif@sherifamyika.com
Translate
Inspiring
November 17, 2007
"Joris van Lier" <whizzrd@hotmail.com> wrote in message
news:fghlrc$ka$1@forums.macromedia.com...
> Hi all, I'm looking for a way to extend the Dreamweaver DOM object with
> custom functions.
> In this case I need to backport the copyAssets function
> http://livedocs.adobe.com/en_US/Dreamweaver/9.0_API/dwr_pagecontent_cn_088.html
> for earlier versions of dreamweaver and reroute calls to an existing of
> custom implementation.
>
> My idea is to create a Startup Item that uses the dom object as prototype
> and extends or overrides certain functions, but then: how should I tell
> dreamweaver to use that object instead of the normal DOM?
>
> --
> Joris van Lier
Bump

Translate
Inspiring
November 12, 2007
"Joris van Lier" <whizzrd@hotmail.com> wrote in message
news:fghlrc$ka$1@forums.macromedia.com...
> Hi all, I'm looking for a way to extend the Dreamweaver DOM object with
> custom functions.
> In this case I need to backport the copyAssets function
> http://livedocs.adobe.com/en_US/Dreamweaver/9.0_API/dwr_pagecontent_cn_088.html
> for earlier versions of dreamweaver and reroute calls to an existing of
> custom implementation.
>
> My idea is to create a Startup Item that uses the dom object as prototype
> and extends or overrides certain functions, but then: how should I tell
> dreamweaver to use that object instead of the normal DOM?
>
> --
> Joris van Lier


I'm still looking for the preferred/recommended way of doing this,
does anyone have a bright idea?

--
Joris van Lier

Translate