Customize the design view of an element?

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

  1. #1

    Default Customize the design view of an element?

    Hi,

    I'm looking for a way to customize how an element is rendered in the design
    view. The element is essentially a block of xml that gets translated to html
    using javascript when the page is loaded. But of course, it isn't rendered by
    default in Dreamweaver's design view. Is there a way I can get the xml to show
    up in the design view as, at the very least, a box?

    As a point of reference, I noticed that the Spry extensions have a customized
    design time view. I guess I want to do something similar to that.
    Thanks.

    mike_nitobi Guest

  2. Similar Questions and Discussions

    1. How to Customize datasheet view
      My form is set to datasheet view. A column is MyDate. How do I show the records with a date before today is in yellow color, and the records with a...
    2. Moving a design element
      I created a new background, then opened a photo. I expected the photo to open in the new background, but instead it opened in a separate window and...
    3. How can I customize folder detail view ala Win98, column widths, etc?
      dont@agora.rdrop.com (Don Taylor) wrote: Delete the Registry keys HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell\Bags and...
    4. Wierd error when going to Design View from HTML view
      When I go from HTML view (in a webform) to Design View I get the following error: Could not open in Design view. Quote values differently inside a...
  3. #2

    Default Re: Customize the design view of an element?

    Mike,

    Yes, you can do that. The easiest solution is to add en entry to the
    ThirdPartyTags folder, but the rendering options are very limited.
    Otherwise, you'll need to create a custom Translator.

    HTH,
    Randy

    > I'm looking for a way to customize how an element is rendered in the design
    > view. The element is essentially a block of xml that gets translated to html
    > using javascript when the page is loaded. But of course, it isn't rendered by
    > default in Dreamweaver's design view. Is there a way I can get the xml to show
    > up in the design view as, at the very least, a box?
    >
    > As a point of reference, I noticed that the Spry extensions have a customized
    > design time view. I guess I want to do something similar to that.
    Randy Edmunds Guest

  4. #3

    Default Re: Customize the design view of an element?

    That's perfect. Thanks!
    mike_nitobi Guest

  5. #4

    Default Re: Customize the design view of an element?

    I've got a couple of followup questions for y'all.

    First, I've got a simple translator all sussed. The translated markup is
    locked. The tag that is being translated also has a tag library associated
    with it defining its numerous attributes. The problem is that those attributes
    are not available in the Tag Inspector; all I get is a greyed out region and a
    message (Locked Region). The markup needs to be locked, there's nothing I can
    do about that (I think), but I'd also like the tag to be editable via the Tag
    Inspector. Is this possible or am I barking up the wrong tree?

    Question the second: I like how the Spry widgets have mouseover effects and
    I'd like to have something similar. But I can't figure out how to go about it.
    Are there special events I can subscribe to? I have a feeling this is
    probably easier than I think, but I'm not even really sure where to start.

    Thanks!
    Mike.

    mike_nitobi Guest

  6. #5

    Default Re: Customize the design view of an element?

    Mike,
    > First, I've got a simple translator all sussed. The translated markup is
    > locked. The tag that is being translated also has a tag library associated
    > with it defining its numerous attributes. The problem is that those attributes
    > are not available in the Tag Inspector; all I get is a greyed out region and a
    > message (Locked Region). The markup needs to be locked, there's nothing I can
    > do about that (I think), but I'd also like the tag to be editable via the Tag
    > Inspector. Is this possible or am I barking up the wrong tree?
    I'm not sure, but here's a tip that may help you find out. For Preview
    in Browser, turn on "using Temp files". Notive that when you PIB, and
    then View Source in the browser, all of the translated tags (e.g.
    <MM:BeginLock>) are still in the page.

    Now, search around in DW for other server-side elements that have the
    behavior that you want, then PIB, and look at the translated source to
    see how they are tranlated.

    > Question the second: I like how the Spry widgets have mouseover effects and
    > I'd like to have something similar. But I can't figure out how to go about it.
    > Are there special events I can subscribe to? I have a feeling this is
    > probably easier than I think, but I'm not even really sure where to start.
    I am not sure exactly where that's done, but it's in the Spry
    translation process.

    HTH,
    Randy
    Randy Edmunds 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