Forums

This topic is locked

Newbie needs help w/ Extension writing...

Posted 24 Jul 2007 18:24:34
1
has voted
24 Jul 2007 18:24:34 Maynard Jarvis posted:
Not quite sure where to begin...I'm rather new at Dreamweaver, and I'm finding a need to have an insert extension written which will automate the insertion of the following:

<a href="javascript:;" onClick="wimpy_loadAndPlay('MP3FILE', 'ARTIST', 'TRACKTITLE', 'ARTISTURL', 'ARTISTGRAPHIC');"><img src="LINKGRAPHIC" alt="ALTTEXT" width="IMGWIDTH" height="IMGHEIGHT" border="BORDER" /></a>

If possible, I'd it to prompt for the variables as follows:

MP3FILE - required
ARTIST - optional
TRACKTITLE - required
ARTISTURL - optional
ARTISTGRAPHIC - optional
LINKGRAPHIC - required
ALTTEXT - optional, default to TRACKTITLE
IMGWIDTH - optional
IMGHEIGHT - optional
BORDER - optional, default to "0"

How would I go about this, or is there someone out there who would be willing to do it for a nominal fee (I'd appreciate the source files, if possible, if someone does it for me, so I can see how it's done...).

It's very easy to do this w/ a server behavior, I know, but how would that translate to an extension for an html file???

Looking forward to your help!

Reply to this topic