skym Posted May 24, 2006 Share Posted May 24, 2006 We all know the textarea where we write our posts, clicking the 'CODE', 'QUOTE', 'B' etc buttons will insert the tags just at the position of the cursor. How does he know where the cursor is within the textarea? Link to comment Share on other sites More sharing options...
pulpfiction Posted May 24, 2006 Share Posted May 24, 2006 Hi, This might help you a little bit...http://weblogs.asp.net/skillet/archive/200.../24/395838.aspx Link to comment Share on other sites More sharing options...
scott100 Posted May 24, 2006 Share Posted May 24, 2006 aspnetguy done a cool version of this: http://w3schools.invisionzone.com/index.ph...317&hl=textarea Link to comment Share on other sites More sharing options...
skym Posted May 24, 2006 Author Share Posted May 24, 2006 Hmm, it does look nice indeed, and it seems to be working in IE, FF and Opera too. Thanks a lot, scott! Link to comment Share on other sites More sharing options...
scott100 Posted May 24, 2006 Share Posted May 24, 2006 Glad you liked it, but don't thank me, thank this dude. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now