icon Get the most out of Surmunity, read our tips here! Need an interesting blog to read? You've got to read the Surpass Blog! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » PHP, MySQL » buttons

PHP, MySQL General PHP questions. Or go to our PHPsuexec Forum >>

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old September 16th, 2004, 5:42 AM   #1 (permalink)
Registered User
Fresh Surpasser
 
Joined in Aug 2004
9 posts
Gave thanks: 0
Thanked 0 times
buttons

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?
Lyssa is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 16th, 2004, 8:46 AM   #2 (permalink)
L'Awesome Advocate
Super #1
 
Ancyru's Avatar
 
Joined in May 2004
Lives in .au
Hosted on Mango
2,423 posts
Gave thanks: 1
Thanked 5 times
BB codes.
__________________
When I get sad, I stop being sad, and be AWESOME instead. True story.
Ancyru is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old September 16th, 2004, 2:31 PM   #3 (permalink)
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  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


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

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may 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