The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

How is pre-content added to post edit box?

3 posters

Go down

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

Post by boffer10 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?

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

TIA
avatar
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 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
Mike
Hyperactive

Male Posts : 4255
Reputation : 471
Language : English, HTML, CSS
Location : Loveland, Colorado

Back to top Go down

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

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

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

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

This one's on me! Razz

Solved.
avatar
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 July 6th 2012, 12:23 am

Topic Solved & Locked


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

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

Male Posts : 51583
Reputation : 3526
Language : English
Location : United States

https://forumsclub.com/gc/128-link-directory/

Back to top Go down

Back to top

- Similar topics

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