Submit Your Article Webforumz RegistrationAnnouncements Contact Webforumz StaffContact
Home Resources Blogs Meet the Team Contact Register
 

Go Back   WebForumz.com > The Code > JavaScript

Reply
 
LinkBack Thread Tools
Old July 4th, 2009, 11:09 AM   #1
Highly Reputable Member
 
masonbarge's Avatar
 

Join Date: Jan 2006
Location: Atlanta GA
Posts: 649
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 masonbarge will become famous soon enough
Need to Build a Simple Text Editor

Hi. I'm a PHP programmer with a bare smattering of javascript. I need to do the following project and although I am hysterically reading js books etc., I just can't get it going.

What I need is a text editor very similar to the BB text editor I'm typing in right now. Only, I need to be able to set the buttons to specific html tags with css attributes.

I've tried modifying a couple of existing web editors (again, like the one used on this forum) and it's just too complex. I think they use a browser-run editor and communicate with it.

I need the style to start and stop, with the button having two states, and also for the button to apply start and stop tags at the front and back of a highlighted line of text.

I assume this forum editor has a hidden form field where the tags are added, and then displays the formatted output to this screen, and if so, I'm having trouble thinking of a simple way to display/preview the formatted text.

I'm especially confused by the method of adding tags front and back to highlighted text.

Can someone steer me in the right direction? I've tried and failed to find a tutorial.

Thanks for any help.
masonbarge is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Text Editor on Webpage jimmy1234 Your Design and Layout 2 December 16th, 2008 07:40 PM
Rich Text Editor Monie The Café 6 November 14th, 2007 10:24 PM
[SOLVED] Text Editor Monie PHP 15 October 18th, 2007 11:14 PM
BBcode text editor AdRock JavaScript 10 September 4th, 2007 06:39 AM


Search Engine Optimization by vBSEO 3.2.0 RC8