The SitePoint Forums have moved.

You can now find them here.
This forum is now closed to new posts, but you can browse existing content.
You can find out more information about the move and how to open a new account (if necessary) here.
If you get stuck you can get support by emailing forums@sitepoint.com

If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

javascript styling

hey forumers!
cheers on this friday afternoon!

i am at the end of my web application, and now that my functionality works, i have decided to touch things up some. This effort has taken me to an end where i must start the task of styling some context menus i have that are generated from javascript OO programming. Each onContextMenu click, on any given node, or the document for that matter, shows an object that is shown by overwriting the default context display,..
the object (contextMenu) has several members such as, contextMenu.item, nodeType, and so on. Each item is an array of the possible context menu commmands. And the whole thing works great, but i have no experience making these items and the contextMenu look good, so all of my menus display, but have big horrible font and what not. I was hoping somebody could start me in the right direction for research or possibly give me an example of a way to make the item objects have a certain font, or display with a specific border width.
That kind of thing.
Any input is appreciated.
Thanks a bunch.
tim

I am going to ask that this get moved to the right forum. Since this is a design question I will get it moved to where the designers hang out. You will get much better answers there than from a bunch of codes

yeah,
i guess it is kind of a design question
i was up in the air because i didn't know how it was going to be done

i figured it out tho,
i just set the styles on the div attribute and since there is only one other element that has the div tag, i just set the styles there locally,
i don't think it is exactly what i want, but hey:
it works!
any better ideas would be greatly appreciated!
tim

yeah, sweet
that is basicly what i was looking for, a direct way to edit the context menu style attributes
thanks
right on with the tip as well,
my company tends to use this one microsoftish font for most web applications, and since it is going to be in the context of web application text editor i thought i should include it
i definitely have little experience in the stage styling web apps
i have done a lot of development, but none dealing with a window where i had to custom make so much of the editing component functionality
(matched up to a soap service)
if this whole deal of verdana over the app is a bad one just let me know, i am all about tips
thanks a bunch for the link

hehe sry, i just can't stand cross browsability, and i use ie 6, so i design for ie 6:P.

Originally posted by PCMOVER

hey forumers!
cheers on this friday afternoon!

i am at the end of my web application, and now that my functionality works, i have decided to touch things up some. This effort has taken me to an end where i must start the task of styling some context menus i have that are generated from javascript OO programming. Each onContextMenu click, on any given node, or the document for that matter, shows an object that is shown by overwriting the default context display,..
the object (contextMenu) has several members such as, contextMenu.item, nodeType, and so on. Each item is an array of the possible context menu commmands. And the whole thing works great, but i have no experience making these items and the contextMenu look good, so all of my menus display, but have big horrible font and what not. I was hoping somebody could start me in the right direction for research or possibly give me an example of a way to make the item objects have a certain font, or display with a specific border width.
That kind of thing.
Any input is appreciated.
Thanks a bunch.
tim

Yeah I didn't read that...its funny. I program for an intranet which uses IE eclusively and I still refuse to use ie specific tags. I don't want to put any fuel on the browser wars. I love the fact that everything is going standardized

Althought I have started learning xml/xsl already. So what event handlers do you use for them? As I thought i read that only ie6 is compliant to xsl fully, and i never saw anything about other browsers.

I don't do xml,xsl. I am in the middle of too many other large projects to jump into a new 'language'. I will at some point learn xml but for now I am working through Unix (os/programming language all in its own) some contracts I am working on and beginning c++ ...Xml might come in a year or so...