Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Naming id's and elements

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert Email Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
   

T O P I C    R E V I E W
jehape Posted - 05 Feb 2011 : 18:38:02
When I give a name to a div or an image or whatever, DHE always writes something extra before the name when the file is exported. For example I give the name "centerspot" to a div and DHE changes it to dhecenterspot.

For a site I am building for a friend I incorporate a simple CMS, so she can change text and images herself. For the editor I have to name certain textareas to something like this:
<textarea id="TextArea1" name="TextArea1" style="width:650px;height:350px" class="editThis">
</textarea>

How can I of can I prevent DHE from writing extra code to the div's?

That was my question.

For the rest I am very enthousiastic about this editor it is great to work with and I like it very much. Keep on the good work Davide

A fan with a question

Jan van Galen
1   L A T E S T    R E P L I E S    (Newest First)
s.dav Posted - 07 Feb 2011 : 08:55:46
When assigning IDs to elements Dynamic HTML Editor uses the ID you chose for the main element and adds a prefix to the positioning DIV so:

<div id='ldheTextArea1'>
<textarea id="TextArea1" name="TextArea1" style="width:650px;height:350px" class="editThis">
</textarea>
</div>

the name of the TextArea is not changed


>How can I of can I prevent DHE from writing extra code to the div's?

You cannot, but you can use a HTML Box and write HTML code by hands ;-)

Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000