Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DHTML DOM question
Message
 
General information
Forum:
Visual FoxPro
Category:
Internet applications
Miscellaneous
Thread ID:
00842018
Message ID:
00842662
Views:
25
As an example: Given a table cell:
<TD BgColor=BLACK><FONT COLOR=RED FACE=ARiAL SIZE=2>My text</FONT></TD>
The cell will have a black background with red text, arial face, and font size of 10 point (assuming normal text size is set for browser). When user is working working with DHTML control in WYSIWYG mode, they see the rendered text, not the HTML. If they want to propagate that style down the cells of a column, I want them to able to do it with a couple of mouse clicks rather than manually setting properties for each cell comprising that column, which is the only way to do it with the DHTML editing control's built-in capabilities. In other words, you have to traverse the DOM and do it programatically, interating to each cell in each row that corresponds to _that_ column, then programatically manipulate the HTML contents of that cell(either by re-inserting HTML or using the DOM to insert elements or set attributes on existing elements).

>Mark,
>
>>Propagate the style of one table cell across a row or down a column.
>
>If you are a little more specific about the big picture it it'd help.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform