+ 1
how can I change in a html page which is already exist?
7 Réponses
+ 6
<!DOCTYPE html>
<html>
<body>
<p id="p1">Hello World!</p>
<script>
document.getElementById("p1").innerHTML = "New text!";
</script>
<p>The paragraph above was changed by a script.</p>
</body>
</html>
here is how you can do it using javascript. hope this helps. or you could always make a varible in php and just change content that way to. let me know if you have any more questions. hope this helps.
+ 5
like what are you try to change?
+ 5
for something like that you should look into this.
http://ccm.net/faq/7230-change-the-design-of-facebook-interface
+ 4
you can use js to change its dom
Ajax to update a small section of page or PHP to modify it at server
in js you can use element.innerHTML='new lines here's;
parentelement.append(newelementhere.). or element.removechild(insideelementtoberemoved);
+ 3
you meant a website page that already exist to be changed. then there is not so much you can change and change your make to js is not being changed at server
you will either have to host your own page or get it to free hosting but many websites are in Facebook too so you can make more posts to make it look good
changes you will make on your computer is not being saved after refreshing you will find the same things again
the changes be it change of color logo animation is not visible to your visitors it is not actual actually only Facebook can change it
however if that works then that's fine
+ 1
Thanks
0
the design of my facebook page