Hexagora Forum
Hexagora Forum
Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Dynamic HTML Editor
 Dynamic HTML Editor
 Naming id's and elements
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

jehape
Novice

3 Posts

Posted - 05 Feb 2011 :  18:38:02  Show Profile  Visit jehape's Homepage  Reply with Quote
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

Edited by - jehape on 05 Feb 2011 18:40:05

s.dav
Site Admin

Italy
3364 Posts

Posted - 07 Feb 2011 :  08:55:46  Show Profile  Visit s.dav's Homepage  Reply with Quote
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 ;-)

Regards, Davide
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Hexagora Forum © s.dav Go To Top Of Page
Snitz Forums 2000