Thread: buttons
View Single Post
Old September 16th, 2004, 3:31 PM   #3 (permalink)
theward
Registered User
Seasoned Poster
 
theward's Avatar
 
Joined in Nov 2003
Lives in Harrisonburg, VA
Hosted on Viva
90 posts
Gave thanks: 0
Thanked 0 times
Quote:
Originally Posted by Lyssa
I don't really know what's this call but like how in every forum when posting a topic, on top of the (actually this textbox) textbox there're some buttons that when click on it adds the vb codes. How do I make those buttons to add on my story textbox? Is there any script on it? What do you call it?
Those buttons are form instances which execute javascript code that targets the name/id of the box in which you want the text to be added. I can't offer much help at the moment beyond that, but if you want to look into it, you can google "javascript DOM" and read some stuff about it.

using the DOM (Document Object Model) is a very powerful way to manipulate webpages.
__________________
Ryan Christie
ryan.christie-[at]-gmail.com

Get yourself some Firefox foo! :p
theward is offline   Reply With Quote