Exactly :) and it DOES work! (pft, you dare to question my DHTML Godliness, young whipper snapper!) :D
Its how you do it in flashmx aswell (kind of). Your pinning your hopes on the fact that the "border" is an actual object with an identifier in DOM which it isn't. Its just a property value for whatever object you attach it to, then basically tells the browser to render with a black border around it. Its just like saying a tables border="1" should be an object, but its just a property / parameter to an existing object and what your wanting to do is hijack the internal methods within the table object that render its state. If you want to reference a border that can be referenced your going to have to cheat / use slight of hand to achieve this. No1 said DOM was a perfect solution. Furthermore if you want to resize an object within DOM your using the cheat style approach (I.e. telling the browser to ignore selectable regions, changing the cursor, repaint the screen on a mousemove and so on). DOM wasn't exactly made for a GUI desktop approach (sadly) and in order to achieve these goals we have to trick the browser thus nesting. Suck it up son and accept it :D Scott. "Steve Onnis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > Nope > > Your assigning the cursor to the whole div > > the only reason that would work, if it did would be because the table is > sitting in the div and the only section available that isnt being covered by > the table is the border > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Scott > Barnes > Sent: Tuesday, June 03, 2003 4:26 PM > To: CFAussie Mailing List > Subject: [cfaussie] Re: DHTML question > > > If you trying to achieve this man, you need to do this: > > <div style="border-right:2px solid black; cursor:n-resize;"> > <table style="cursor: default"> > </table> > </div> > > this should make the cursor change for the bordered areas but not for the > segments within the table tags... should being the key word. > > Scott > > > "Steve Onnis" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > > > > that will assign it to the whole element. I just need it to be assigned > to > > the right hand side border. > > > > if you have > > > > <table style="border-right:2px solid black; cursor:n-resize;"> > > > > it will assign the cursor to the whole table. Thats not what I want. I > > just want it to apply to the actual border itself and only the right hand > > side border. > > > > Steve > > > > -----Original Message----- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] Behalf Of Antony > > Sideropoulos > > Sent: Tuesday, June 03, 2003 11:49 AM > > To: CFAussie Mailing List > > Subject: [cfaussie] Re: DHTML question > > > > > > use a ; to separate css entries: > > > > style="border-right:2px solid black; cursor:n-resize;" > > > > >>> [EMAIL PROTECTED] 03/06/2003 11:37:27 >>> > > > > Just a question regarding styles and classes > > > > Can you assign a style to a style? > > > > example > > > > I have a situation where I need to assign a cursor style to the right hand > > side of a table, so what I am wanting to do is something like this > > > > style="border-right:2px solid black cursor:n-resize;" thus nesting styles > > within themselves > > > > is this possible? > > > > Regards > > Steve Onnis > > > > > > --- > > You are currently subscribed to cfaussie as: > > [EMAIL PROTECTED] > > To unsubscribe send a blank email to > > [EMAIL PROTECTED] > > > > MX Downunder AsiaPac DevCon - http://mxdu.com/ > > > > ------------------------------------------------------- > > Maddocks > > > > Tel: (03) 92880555 International: +61 3 92880555 > > Fax: (03) 92880666 International: +61 3 92880666 > > > > Web: http://www.maddocks.com.au > > > > ------------------------------------------------------- > > The information in this electronic mail is privileged > > and confidential, intended only for use of the individual > > or entity named. If you are not the intended recipient, > > any dissemination, copying or use of the information is > > strictly prohibited. If you have received this transmission > > in error please delete it immediately from your system > > and inform us by email on [EMAIL PROTECTED] > > ------------------------------------------------------- > > > > > > --- > > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > > To unsubscribe send a blank email to > [EMAIL PROTECTED] > > > > MX Downunder AsiaPac DevCon - http://mxdu.com/ > > > > > > > > > > --- > You are currently subscribed to cfaussie as: [EMAIL PROTECTED] > To unsubscribe send a blank email to [EMAIL PROTECTED] > > MX Downunder AsiaPac DevCon - http://mxdu.com/ > > > --- You are currently subscribed to cfaussie as: [EMAIL PROTECTED] To unsubscribe send a blank email to [EMAIL PROTECTED] MX Downunder AsiaPac DevCon - http://mxdu.com/
