PDA

View Full Version : Suggestion: Setting Font Properties...


neal007
Thu 29th Nov '01, 7:55pm
It would be a better UI if I could highlight my text then set the bold, italic, or whatever, click the button and it applies to the highlighted text. This can be done easily using DHTML. Suggest this for v3. It's odd that I type something, then hit the color drop down, but have to enter the text in the popup dialog for it to work.

Wayne Luke
Thu 29th Nov '01, 11:10pm
Correction...

It can be done easily using DHTML if you are using Internet Explorer 5.0 or higher under Windows. It will not work on any other browser or any other operating system.

neal007
Thu 29th Nov '01, 11:12pm
Sounds like simple browser detection to resolve this. If able, use the more advanced feature, or regress to the stone age if using Netscape.

sunit
Fri 30th Nov '01, 3:12pm
Folks I have worked on a project where we had some cool DHTML based features.

You would nto belive the headache we had. We had to detect atleast 10 different combinations of OS and Browser and Browser version.

The more you put in Javascript and DHTMl, the more your headaches. I prefer to have vBulletin serve the lowest common denominator.

neal007
Sat 1st Dec '01, 10:15pm
In this case it's VERY simple. You simply see if the browser supports DHTML. If it does, then the basic font setings, as available in this POST dialog, are easily supported. Yes, the DOM for DHTML is large and involved, keep it simple and the basics of DHTML can be a great addition to v3.

Wayne Luke
Sat 1st Dec '01, 11:33pm
Actually it isn't as simple as that... Run a check for the DOM in Netscape 6.x or any other Gecko driven browser and it will come back positive. However it can't do the fancy DIV based editing that allows Internet Explorer 5+ to get that effect.

If we check for browsers then we get into an issue with Opera which allows users to masquerade as Internet Explorer 5.5.

We are reviewing whether to add something like this but it isn't as simple an issue as you might think if we want to keep this a cross-platform, cross-browser product.