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 Thu 5 Jul - 6:05

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 Thu 5 Jul - 13:11

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 Thu 5 Jul - 20:15

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 Thu 5 Jul - 22:23

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 : 51554
Reputation : 3524
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