Insert Object Extension (?) Help for Newbie

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

  1. #1

    Default Insert Object Extension (?) Help for Newbie

    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...).

    Looking forward to your help!



    maynardjarvis Guest

  2. Similar Questions and Discussions

    1. Newbie..how to insert a flash object
      I'm just using Dreamweaver MX for the first time in ernest. I've got the 'Dummies guide', and am following it through. I've created some simple...
    2. Adding Extension Tab to Insert Bar
      Finally, after much trial and error, I' ve created an extension to insert some code I needed that prompts for input... Now, however, in following...
    3. How do I insert an extension into a DW file.
      I am new to Dreamweaver. I have downloaded Web Photo Album 2.2 for Dreamweaver 8 and MX 2004, V2.2.6 from ... ...
    4. Cannot Insert Code in with my Extension.
      Hey everyone! Back with another question. I am trying to figure out why I cannot add code to my command extension. There is a UI with it, and...
    5. Bug in extension-insert tag
      Bob Crawford wrote: The docs say nothing about where the inserted item would be placed, and I would only expect it to be placed as it's own...
  3. #2

    Default Re: Insert Object Extension (?) Help for Newbie

    This is not a hard thing to do at all.

    Check out the Help/Extending DW, and there read the general info about
    creating Extensions, but then esp about (insert bar) Objects. Once you
    see the light, this sort of simple insertion will be easy for you. Ask
    again if you run into trouble.

    --

    E. Michael Brandt

    [url]www.divaHTML.com[/url]
    divaGPS | divaFAQ

    [url]www.valleywebdesigns.com[/url]
    JustSo PictureWindow

    --


    maynardjarvis wrote:
    > 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...).
    >
    > Looking forward to your help!
    >
    >
    >
    E Michael Brandt Guest

  4. #3

    Default Re: Insert Object Extension (?) Help for Newbie

    Thanks, Michael, for your quick reply...

    That's where I started...have read all that, but am fuzzy on the javascript
    it's going to take to do the input/validation...it's not my forte.

    I kinda understand the process, but the curve is steep! I wish the help files
    showed a more complicated example...I can't even decide if I should use the
    insertObject or objectTag function...

    Forgive my naivete...I'll keep plugging away at it. I really should take a
    course, I suppose ;-)

    Thanks again!

    maynardjarvis Guest

  5. #4

    Default Re: Insert Object Extension (?) Help for Newbie

    I would suggest you use objectTag, as it reduces the number of things
    you need to handle yourself considerably.

    For started, ignore the validation and get the rest working. Then take
    a look at the zillion of discoverable validation scripts by googling and
    you'll see how that is done. It's not hard except in this case there is
    no real form submission.

    You might want to buy yourself Tom Muck et.al.'s book, "Dreamweaver
    Ultradev 4, the Complete Reference" which altho now very much outdated
    by now in many respects, does give you a good start at this task. It can
    be had for 29 cents !!

    [url]http://www.amazon.com/Dreamweaver-UltraDev-4-Complete-Reference/dp/0072130172/ref=sr_1_1/102-8984960-0996941?ie=UTF8&s=books&qid=1184791790&sr=8-1[/url]

    No doubt there are other books that cover the subject as well, i just
    own them. Perhaps others can offer suggestions. Apparently the
    Macromedia Press DW8 Extensions book contains nothing more than the
    online Help files so don't bother with that one.

    And of course you also asked for someone to do this for you, and perhaps
    there is someone with the time who can. Anyone?

    --

    E. Michael Brandt

    [url]www.divaHTML.com[/url]
    divaGPS | divaFAQ

    [url]www.valleywebdesigns.com[/url]
    JustSo PictureWindow

    --


    maynardjarvis wrote:
    > Thanks, Michael, for your quick reply...
    >
    > That's where I started...have read all that, but am fuzzy on the javascript
    > it's going to take to do the input/validation...it's not my forte.
    >
    > I kinda understand the process, but the curve is steep! I wish the help files
    > showed a more complicated example...I can't even decide if I should use the
    > insertObject or objectTag function...
    >
    > Forgive my naivete...I'll keep plugging away at it. I really should take a
    > course, I suppose ;-)
    >
    > Thanks again!
    >
    E Michael Brandt 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