The forum of the forums
Welcome to the Official Support Forum of Forumotion!

To take full advantage of everything offered by our forum, please log in if you are already a member, or join our community if you've not yet.



Create a free forum like this one.

How is pre-content added to post edit box?

View previous topic View next topic Go down

Solved How is pre-content added to post edit box?

Post by boffer10 on July 5th 2012, 8:05 am

When I open up a post edit box, there is content always there that says 'Your Text Here'. When I click inside the box to begin typing, it goes away. Where or how is that done?



TIA

boffer10
Forumember

Male Posts : 311
Reputation : 10
Language : english
Location : Go Seahawks!

http://squarefoot.creatingforum.com/

Back to top Go down

Solved Re: How is pre-content added to post edit box?

Post by Mike on July 5th 2012, 3:11 pm

From what I know, you need to find the form element in the templates and add this to it:
Code:
value="Your Text Here."

then also add:
Code:
onFocus="this.value=''

This may not be the only way though, just the only way that I know Wink

Mike
Hyperactive

Male Posts : 4242
Reputation : 466
Language : English, HTML, CSS
Location : Bozeman, Montana

Back to top Go down

Solved Re: How is pre-content added to post edit box?

Post by boffer10 on July 5th 2012, 10:15 pm

YES! I spent forever looking through the CSS. I didn't think to look at JS.



This one's on me! Razz

Solved.

boffer10
Forumember

Male Posts : 311
Reputation : 10
Language : english
Location : Go Seahawks!

http://squarefoot.creatingforum.com/

Back to top Go down

Solved Re: How is pre-content added to post edit box?

Post by SLGray on July 6th 2012, 12:23 am

Topic Solved & Locked


When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.


SLGray
Administrator
Administrator

Male Posts : 35661
Reputation : 2375
Language : English
Location : United States

http://fmthemes.forumotion.com/

Back to top Go down

View previous topic View next topic Back to top


 
Permissions in this forum:
You cannot reply to topics in this forum