Scrollable Text Area

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

  1. #1

    Default Scrollable Text Area

    Hi, I have inherited a website that uses javascript/DHTML to create a
    scrollable text area. I suspect it was created using a Dreamweaver extension as
    the pages with scrollable text contain the following comment lines:

    // Extension developed by David G. Miles
    // Original Scrollable Area code developed by Thomas Brattli.

    I?m no Javascript or DHTML expert but it looks good and it still works in IE7.
    My question is, how do I edit the text that scrolls? It is not initially
    visible in design view, unless I place the cursor in either of these two lines
    in the code window:

    <div id="divContainer" style="z-index: 2">
    <div id="divContent">

    Although this reveals the text in the design window, if I try and click on the
    text to edit it, it disappears. I can find the text in the code window, and I
    could edit it there, but I have a lot of changes to make and I would prefer to
    make them with some visual feedback of the formatting. Does anybody know if
    this is possible?

    I've tried searching for info on the web, but all the pages that I can find
    point to [url]http://www.z3roadster.net/dreamweaver/[/url]. This address does not exist
    and the domain ([url]www.z3roadster.net[/url]) comes up with an asp.net error page.

    Also, is it necessary for the site to use frames for this Javascript/DHTML to
    work?


    Blim Guest

  2. Similar Questions and Discussions

    1. dHTML AP scrollable area positioning problem
      I am creating a site with DWMX and am using the http://sophiemaherphotography.com/
    2. dHTML Scrollable Area - Fix for Firefox
      To let the extension work with Firefox (as well as Opera and IE), replace the function MoveArea with this code: function MoveArea(x,y){...
    3. Button within Scrollable text box
      Hi Am I able to add a button within a scrollable text box, so that the button scrolls the same way in the text does? How is this done? ...
    4. Pub 2002-size limit on scrollable text area?
      I have added a text area with a scroll bar for a rather large document, and as I edit the html code fragment, it stops allowing me to type any more...
    5. Launching application from text in scrollable text field?
      Hi, You can use the mouseword() function to know which word the cursor is under currently.... so if your word is word 4 , then you can use "if the...
  3. #2

    Default Re: Scrollable Text Area

    Blim wrote:
    > Although this reveals the text in the design window, if I try and click on the
    > text to edit it, it disappears. I can find the text in the code window, and I
    > could edit it there, but I have a lot of changes to make and I would prefer to
    > make them with some visual feedback of the formatting. Does anybody know if
    > this is possible?
    Now way for anyone to know for sure without a link to your page to see what code it uses. One suggestion would be to copy and paste the text into another document make the necessary edits and then paste it back into the original document.

    > Also, is it necessary for the site to use frames for this Javascript/DHTML to
    > work?
    Unless the script you are talking about uses a iframe within the divs to create the scrollable area (which is doesn't seem to do if you can see the text of the scrollable area in the code), then it seems from your description that it should work, but only way to tell is for you to pull the frames out.


    --
    Danilo Celic
    | Extending Knowledge Daily : [url]http://CommunityMX.com/[/url]
    | Adobe Community Expert
    danilocelic AdobeCommunityExpert Guest

  4. #3

    Default Re: Scrollable Text Area

    Sorry, I thought the David G. Miles reference might be recognised. The site I
    have inherited can be seen on [url]http://www.buildingtesting.co.uk[/url]. The scrolling
    text is on most pages, but not the first one.

    Thanks


    Blim Guest

  5. #4

    Default Re: Scrollable Text Area

    Blim wrote:
    > Sorry, I thought the David G. Miles reference might be recognised. The site I
    > have inherited can be seen on [url]http://www.buildingtesting.co.uk[/url]. The scrolling
    > text is on most pages, but not the first one.
    I am familiar with David G. Miles, however if his site isn't showing up for you, then it's likely not showing up for others as well.

    The div has a CSS ID applied to it that causes it to be hidden, in particular:
    #divContainer{position:absolute; width:550; height:160; overflow:hidden; top:280; left:25; clip:rect(0,550,160,0); visibility:hidden}

    change visibility to visible and you should see the content of the DIV. You can make that change in code view, or by selecting the div in design view and opening the CSS styles panel.

    Looks to me that the scrolling script has nothing to do with frames, so I'd guess that you can drop them completely.

    --
    Danilo Celic
    | Extending Knowledge Daily : [url]http://CommunityMX.com/[/url]
    | Adobe Community Expert
    danilocelic AdobeCommunityExpert 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