User Profile

Collapse

Profile Sidebar

Collapse
T0mm0
T0mm0
Last Activity: Mar 30 '08, 04:09 AM
Joined: Oct 5 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • T0mm0
    replied to Setting offsetParent not working
    ah... I did think about that possibility.

    Anyone think of any other way to achieve what I'm wanting then?...
    See more | Go to post

    Leave a comment:


  • T0mm0
    started a topic Setting offsetParent not working

    Setting offsetParent not working

    I'm trying to set the offsetParent property of an object to a reference to document rather than the relatively positioned container that it's in.

    The reason for this is that the object is a WYSIWYG editor that is regularly statically positioned but has a full screen mode where it becomes absolutley positioned. It normally sits in a relatively positioned container so when I come to fullscreen it it grows to the 0,0 point of the container...
    See more | Go to post

  • view source on each of these...

    Wizard Step 1

    Wizard Step 2
    See more | Go to post

    Leave a comment:


  • They're quite long... too long that it's not letting me post it... let me think of another way to put it up
    See more | Go to post

    Leave a comment:


  • To simplify my code... see below. OnInitialized and OnChanged events fire only on the first initialization and viewing of Editor1. They never fire for Editor2 or for subsequent changes on Editor1 after having gone to wizardstep2.

    Code:
    <script type="text/javascript" language="javascript">
    
    function CuteEditor_OnChange(editor)
    { 
    alert("OnChange")
    }
    
    function
    ...
    See more | Go to post

    Leave a comment:


  • I'm having the same problem. Here's some code... the OnChanged event fires only when viewing Editor1 for the first time only... doesn't fire for Editor2 at all...

    [HTML]<%@ Page Language="VB" AutoEventWireup ="false" CodeFile="Test. aspx.vb" Inherits="Test" %>

    <%@ Register Assembly="CuteE ditor" Namespace="Cute Editor" TagPrefix="CE" %>...
    See more | Go to post
    Last edited by acoder; Nov 7 '07, 07:55 AM. Reason: Added code tags

    Leave a comment:


  • solution was that in order to render the html that the wysiwyg editor was generating it had to do so in a document object of it's own... just worked out the api to the editor and found the document within it and the scrollwidth of that.
    See more | Go to post

    Leave a comment:


  • T0mm0
    started a topic CMS Best Practices - XML/XSL
    in XML

    CMS Best Practices - XML/XSL

    Hi guys,

    I'm developing a small content management system that's going to involve users generating HTML content to:
    1) Be sent as email content
    2) Be published to a new web page

    Once these have been sent/published there will be no further editing of that content.

    I'm using asp .net 2.0 and SQL server 2000.

    What are your thoughts as to:

    1) Store xhtml in database...
    See more | Go to post

  • maybe a better way to put it is this.... for example if a user entered the following into a textbox how would you determine the dimensions of the string when rendered as html?

    [HTML]<p>
    <table cellspacing="2" cellpadding="2" width="500" border="0">
    <tbody>
    <tr>
    <td style="width: 330px"><img height="407"...
    See more | Go to post
    Last edited by gits; Oct 15 '07, 10:50 AM. Reason: added code tags

    Leave a comment:


  • Determine dimensions of rendered xhtml using javascript?

    I'm using a WYSIWYG HTML editor that supports vertical and horizontal scrolling. I want to limit the area that users can edit. My editor doesn't support this so I need to come up with some way to determine the rendered dimensions of the XHTML.

    I figure the easiet way to do this will be to extract the XHTML when it's updated using javascript and check if the rendered size is larger than I have specified. If it is I can use undo method...
    See more | Go to post

  • Actually this topic is probably more relevant to the javascript section. If an admin could please delete I will repost in Javascript section.
    See more | Go to post

    Leave a comment:


  • T0mm0
    started a topic How to find the dimensions of HTML content?

    How to find the dimensions of HTML content?

    I'm using a WYSIWYG HTML editor that supports vertical and horizontal scrolling. I want to limit the area that users can edit. My editor doesn't support this so I need to come up with some way to determine the rendered dimensions of the XHTML.

    I figure the easiet way to do this will be to extract the XHTML when it's updated using javascript and check if the rendered size is larger than I have specified. If it is I can trigger the undo...
    See more | Go to post
No activity results to display
Show More
Working...