...

View Full Version : javascript or php text box



slappyjaw
03-22-2009, 09:17 PM
I was wondering if there is a way that you could use a div tag as a text box. Like in the google pages creator.:thumbsup:

timgolding
03-23-2009, 01:30 AM
why do you want to do that. I mean a div tag is a div tag a text area is a text area. Can't you just style the text area? I mean what exactly are you trying to do?

ShaneC
03-23-2009, 08:09 AM
Well if you're looking to create a sort of WYSIWYG editor then that's going to be primarily Javascript. The concept is you actually code a textbox, <textarea id="myTextarea"></textarea>, and then use Javascript to find the instance of that textarea and replace it with whatever you want.

If you're just looking to add some badonkadonk to your textarea then it'll be a lot less painful and more user friendly to just stylize using CSS.

Either way I think your best bet will be in either Javascript or HTML/CSS sections.

Hope this helps! :)

webh4x0r
03-23-2009, 03:55 PM
Did you mean inline editing?

e.g.

When user click on his name in his profile page, then a textbox appears, which let him instant editing.

---------------------------
Gotta love it - http://knowlege-free.blogspot.com

slappyjaw
03-23-2009, 09:54 PM
Yes thank you for the posts. I have made a gaming site where someone can make a gaming clan site. The sites that are created are not dynamic they are actually files. I want to make an editor for the pages.

timgolding
03-23-2009, 10:03 PM
Then you need a WYSIWYG textarea editor.

webh4x0r
03-24-2009, 05:57 AM
Many out there. FCKeditor. TinyMCE ...etc

---------------------------
Gotta love it - http://knowlege-free.blogspot.com

slappyjaw
03-24-2009, 08:05 PM
yes ok those help alot i am using tinymce. Thank you webh4x0r for the info and thank you timgolding for the info aswell.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum