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 (1) Thread Tools
Old May 4th, 2007, 01:34 PM   1 links from elsewhere to this Post. Click to view. #1
New Member
 

Join Date: Apr 2007
Location: London, England
Age: 24
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 JasonStanley is on a distinguished road
BB Code - JavaScript Input thing... How?

OK, basically i want to create a somewhat simplified version of what forums have with their input.

For example when you press the URL button a box pops up and the B button adds [b] to the input box. Does anyone have a link to any articles on how to create this.
JasonStanley 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
Old May 4th, 2007, 02:29 PM   #2
Reputable Member
 

Join Date: Jul 2006
Location: Scotland
Age: 24
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 snow is on a distinguished road
Re: BB Code - JavaScript Input thing... How?

Could you explain what you want in more detail please?
snow 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
Old May 4th, 2007, 05:07 PM   #3
New Member
 

Join Date: Apr 2007
Location: London, England
Age: 24
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 JasonStanley is on a distinguished road
Re: BB Code - JavaScript Input thing... How?

Look at the input panel around the input box when you start a new thread or post a reply. I need JavaScript to do that right? If so where exactly do i begin.

i.e. how do make it so that when the ¨b¨ button is pressed a appears in the input box, then when it pressed again a appears?
JasonStanley 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
Old May 4th, 2007, 05:34 PM   #4
Reputable Member
 

Join Date: Jul 2006
Location: Scotland
Age: 24
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 snow is on a distinguished road
Re: BB Code - JavaScript Input thing... How?

a what appears in the box sorry?
snow 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
Old May 5th, 2007, 04:38 AM   #5
New Member
 

Join Date: Apr 2007
Location: London, England
Age: 24
Posts: 46
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 JasonStanley is on a distinguished road
Re: BB Code - JavaScript Input thing... How?

Picture is attached in old style vb forums it didn't come with this word processor thing, it came with something simpler. When you pressed the "B" (Bold button) a BBCode [*B] would appear in your input box. When you press the "B" button again a[*/B] would appear to wrap your input in BBCode tags thus making your text bold.

I know how you create BBCode, thats easy enough, what i don't get is how you make the user interface. Which add's these tags. I really cannot make it much clearer than that.
Attached Images
File Type: jpg whatiwant.jpg (18.3 KB, 28 views)

Last edited by JasonStanley; May 5th, 2007 at 05:38 AM..
JasonStanley 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
Old May 5th, 2007, 06:46 AM   #6
Reputable Member
 

Join Date: Jul 2006
Location: Scotland
Age: 24
Posts: 355
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Altering Power: 0 snow is on a distinguished road
Re: BB Code - JavaScript Input thing... How?

Here's an example of how to do one yourself:
http://www.cstruter.com/replyblog.php?ContentID=45

And here's a free one for download:
http://tinymce.moxiecode.com/example...p?example=true
snow 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

Tags
bb code , javascript , user interface


LinkBacks (?)
LinkBack to this Thread: http://webforumz.com/javascript/35568-bb-code-javascript-input-thing-how.htm
Posted By For Type Date
BB Code - JavaScript Input thing... How? This thread Refback October 14th, 2008 02:26 AM

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
A new simple way to make a image slider- Javascript Code o0DarkEvil0o JavaScript 1 May 19th, 2008 09:37 PM
For all Javascript Coding Experts, can you break down this code? BlackReef JavaScript 12 December 9th, 2007 09:04 PM
Help required with javascript code trb1975 JavaScript 1 October 20th, 2006 05:16 PM
Javascript code ignored by Netscape/Firefox commodorejim JavaScript 2 October 14th, 2006 06:13 AM


Search Engine Optimization by vBSEO 3.2.0 RC8