Ask a Question related to Macromedia Exchange Dreamweaver Extensions, Design and Development.
-
Jammer #1
Dreamweaver 8 - New Extension Engine?
Hey Everyone!
I have an extension that works GREAT in DW version 8, but in any earlier
version I get an error stating that:
TypeError: document.images[1] has no properties.
But it does, although I am dynamically defining the source. Any ideas?
If you would like a copy of the extension, let me know,
jj at frunder.com
Thanks!
Jammer Guest
-
Lightbox extension for Dreamweaver
I've spent the last 2 hours searching and searching for a http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm tool such as: A. An... -
Why cant I upload my DreamWeaver extension?
I have DW cs3. I bought a extension called TSPreviewImg which is an image pop up extension for dreamweaver but I cannot get the program to... -
Dreamweaver Extension
Is there a user authentication extension for Dreamweaver MX Version 6? My version does not seem to have this function listed in the Server Behaviors... -
ColdFusion 7 Dreamweaver extension
I have been trying to install the Coldfusion 7 components extension for Dreamweaver. Have been souring the net for dayss looking for a solution. ... -
Nokia wml Extension - Dreamweaver 4.01
I'm trying to install the nokia wml extension in dreamweaver 4.01, extension manager 1.5. It gets through the accept license dialog, and... -
T.Pastrana - 4Level #2
Re: Dreamweaver 8 - New Extension Engine?
Just a wild guess... Do you have at least a placement image in the place of
document.images[1] before it gets loaded dynamically? If not you might want
to throw in an image so its src can be changed.
--
Regards,
...Trent Pastrana
[url]www.fourlevel.com[/url]
Things Dreamweaver
-----------------------------------------------------------
eZeeGallery | iFrameSuite | MiniMenus | Scrollers | More...
-----------------------------------------------------------
"Jammer" <webforumsuser@macromedia.com> wrote in message
news:dia840$h4l$1@forums.macromedia.com...> Hey Everyone!
>
> I have an extension that works GREAT in DW version 8, but in any earlier
> version I get an error stating that:
>
> TypeError: document.images[1] has no properties.
>
> But it does, although I am dynamically defining the source. Any ideas?
>
> If you would like a copy of the extension, let me know,
>
> jj at frunder.com
>
> Thanks!
>
T.Pastrana - 4Level Guest
-
Jammer #3
Re: Dreamweaver 8 - New Extension Engine?
Hmmm...
Well I tried that. Did not work.
Here is the javascript code:
document.images[1].src = (imagePath+"yes.gif");
Here is the code on the page:
<img src="" alt="Site Folder" width="20" height="20">
I have tried with src empty and with stuff in it. No luck.
Thanks for the thought though!
Any other thoughts?
Jammer Guest
-
E Michael Brandt #4
Re: Dreamweaver 8 - New Extension Engine?
Perhaps add an alert(document.images[1]) to check that
document.images[1] exists at all. Any chance that you mean [0] ? Not
sure why it work in dw8 if this were the case, but we are not getting to
see your entire page, so just guessing.
emichael brandt
Jammer wrote:> Hmmm...
>
> Well I tried that. Did not work.
>
> Here is the javascript code:
>
> document.images[1].src = (imagePath+"yes.gif");
>
> Here is the code on the page:
>
> <img src="" alt="Site Folder" width="20" height="20">
>
> I have tried with src empty and with stuff in it. No luck.
>
> Thanks for the thought though!
> Any other thoughts?
>E Michael Brandt Guest
-
Jammer #5
Re: Dreamweaver 8 - New Extension Engine?
What I am doing is defining all of the images through a function on the
window.onLoad. I define images 0 - 8 so yeah, images[1] does exist.
If you want to see the extension any maybe see whay this may be happening, you
can download it here:
[url]http://www.frunder.com/fm3-trial.mxp[/url]
Thanks again for any help.
Jammer Guest
-
E Michael Brandt #6
Re: Dreamweaver 8 - New Extension Engine?
I may have time later today to try it, but I am suggesting that you use
that alert to see if the the code sees that the image exists, not that
you know it to exist.
Jammer wrote:> What I am doing is defining all of the images through a function on the
> window.onLoad. I define images 0 - 8 so yeah, images[1] does exist.
>
> If you want to see the extension any maybe see whay this may be happening, you
> can download it here:
>
> [url]http://www.frunder.com/fm3-trial.mxp[/url]
>
> Thanks again for any help.
>E Michael Brandt Guest
-
T.Pastrana - 4Level #7
Re: Dreamweaver 8 - New Extension Engine?
Jammer,
To solve your issue, you could give your images id's ( and names ) and
access them with the findObj().
<img name="folder" id="folder" src="0folder.gif" alt="Site Folder"
findObject('folder').src = (imagePath+"yes.gif");
Another way is to traverse the DOM for the image element.You could do it
this way and the syntax would then be...
document.layers["summary"].document.images["folder"].src =
(imagePath+"no.gif");
This way it will be easier to track your targeted images .. by id .. instead
of thier order in the page.
--
Regards,
...Trent Pastrana
[url]www.fourlevel.com[/url]
Things Dreamweaver
-----------------------------------------------------------
eZeeGallery | iFrameSuite | MiniMenus | Scrollers | More...
-----------------------------------------------------------
"Jammer" <webforumsuser@macromedia.com> wrote in message
news:die3tl$q6l$1@forums.macromedia.com...> What I am doing is defining all of the images through a function on the
> window.onLoad. I define images 0 - 8 so yeah, images[1] does exist.
>
> If you want to see the extension any maybe see whay this may be happening,
> you
> can download it here:
>
> [url]http://www.frunder.com/fm3-trial.mxp[/url]
>
> Thanks again for any help.
>
T.Pastrana - 4Level Guest
-
Jammer #8
Re: Dreamweaver 8 - New Extension Engine?
yeah!!!!
It is working!
I tried your seggestion trent and it worked!
I don't know why I did not try that, it seems that fundObj has been the answer
to my last 8 questions. eeeekkkk...
Anyway... thanks again guys! You are great! My extension is almost done!
You will be the first to know when it is in Beta, because you are the ones
developing it I am just copying and pasting your answers... (It seems that way
at least).
Thanks agian!
Jammer Guest



Reply With Quote

