astralaaron Posted September 17, 2008 Share Posted September 17, 2008 if I want to make bold text in this text area I can us [b][/b] ewhen u push the bold button it comes up for youbut the mouse is focused after both tags. is there anyway to make the curser show up in the middle of the tags ready for the user to type?ex:curser = | [b]|[/b] please let me know! thanks Link to comment Share on other sites More sharing options...
astralaaron Posted September 17, 2008 Author Share Posted September 17, 2008 ah its not letting me type the bold tags in the code block, im trying to do something like 'b' '/b' for bold w3schools has [ ] around it, the question is after someone clicks the b button to put the bold tags, can the curser be focused inbetween the 2 tags? like 'b' | '/b' Link to comment Share on other sites More sharing options...
Kingy Posted September 17, 2008 Share Posted September 17, 2008 Can we see some code to see how you've built this up? Link to comment Share on other sites More sharing options...
jeffman Posted September 17, 2008 Share Posted September 17, 2008 Parts of this thread deal with the things you want: http://w3schools.invisionzone.com/index.php?showtopic=21237Look closely at the code that mentions selections and ranges. You'll get some ideas. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.