Edit text in HTML [closed] - html

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
I have an h1 header on my page that simply says "Hello world".
I want to know how I can add a form to change the header to say "Hello world from my_form_field_value".

It depends on the technology you are using (jQuery, ASP(.NET), PHP, etc).
user3047190's answer used jQuery (client side solution). If using a server side solution, you can have the form send a querystring containing the text to the server and return a page with the text you just typed in.
Here's an online example: http://html.net/tutorials/asp/lesson11_ex1.asp
Here's the tutorial explaining the above classic ASP example: http://html.net/tutorials/asp/lesson11.asp

This question is horribly phrased so I'm afraid I will answer your question with other answers.
What I believe you want is on input change, you want to capture the change (Detecting input change in jQuery?) and update the h1 text: $("h1").text("newString");
(that will only work with jquery included)

Related

How is web page changing within the same website done? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
For example, let's say we're at the homepage at www.fakewebsite.com and, when we look at the footer at the bottom of the page, we can see that there is an "About" button that you can click on--which you do so you get to know more about the company. The website refreshes and enters into www.fakewebsite.com/about. My question is this: How is this done? I'm pretty new to the web developing world and would like to know what is done to make this possible (So, I can do it too).
What you need is known as an anchor and does not require ajax. You should start by searching info on that.
It looks like this:
about
This is done via an anchor element where the files are linked via a path in the href of the tag for example:
About
More info here: anchor
You can also study this starting with HTML + CSS and this Getting started with HTML

Is there a way to know where on page something is placed html [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Let's say I want to know if a call-to-action (like a fill-out form) is placed "within the fold" meaning it is visible as soon as you load the page without scrolling. Is there something in the html that would allow me to know this?
You may want to start by reading up on the CSS position attribute. Perhaps position: fixed is what you are looking for. But it really depends on the remaining content of your site.

User formatting for textarea [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
A perfect example is stackoverflow. When a user types a question, the textarea give the user basic formatting options such as bullet points, numbering, italicize, etc. How can I create a similar textarea? I am currently using html, css and php.
You can use javascript (or more effectively jQuery) to create your own textarea with this behaviour, or look at an existing package such as TinyMCE and configure it to meet your requirements (the approach I would suggest): http://www.tinymce.com/
Easiest way would be to use an editor like TinyMCE: http://www.tinymce.com/
There are others as well, but TinyMCE is what I see used most.

MediaWiki Portal Creation [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
Link to the site with the issue is here.
It looks like I got the portal created correctly. The instructions for this on mediawiki seem better than on wikipedia. What I don't get is why the link in the box adds this "Template:"
to the fullpagename. It makes it so the edit button does not go the the page that contains the content for the box.
Followed instructions here on portal creation.
Got the portal templates from here.
In box is Template:Portal:Phantom Jump/Intro, it should be Portal:Phantom Jump/Intro.
The code {{{{FULLPAGENAME}}/Intro}} is transformed into {{Portal:Phantom Jump/Intro}}, which is understood as “transclude the template Portal:Phantom Jump/Intro”, since most of the time, when transcluding, you do want to tranclude a template. If that's not what you want, you need to override that using :: {{:{{FULLPAGENAME}}/Intro}} will transclude the page Portal:Phantom Jump/Intro.

Customizing ebay store HTML and CSS code (How to?) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I have an ebay store and it has some themes but I would like to be able to change the CSS and HTML code myself.
Does anyone know how this is done?
Thanks
I've done it several times earlier. Main thing is to add link to stylesheet (which is on your server). If i remember correct, you can add it where HTML for header is added, and then style elements generated by eBay. (Don't use id)