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
Related
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 5 years ago.
Improve this question
I am trying to learn html on the fly for a company that I am doing an internship for. They gave me some source code for web pages and I see something like:
href = SomeFileName.php
What is this line of code doing?
Is it connecting the pages or something?
"The href attribute specifies the link's destination"
https://www.w3schools.com/tags/att_a_href.asp
I strongly suggest you go over the tutorials posted here
It's a link to another web page which is obviously a php page.
I guess it has something like
Some page
if it has ?something=1(or some numbers) then the php there is also a parameter that the called page can get from the clicked page.
we have <a></a> which means a link text and when you click it ,it opens the link for you and we can use it like this code :-
link_text
and its an example:-
Hello
Hello
For your query .yes it is..this is a link to another page.
<a href=abcd.php>
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 7 years ago.
Improve this question
I would like to know how I can have a website that has links to deeper pages like so: www.example.com/ then I click on "Projects" (that becomes www.example.com/Projects) and then I click on a project (Which now becomes www.example.com/Projects/projectName/) How would I do that??? Please help, I really need these.
EDIT: Why are people down voting my question?
This is usually done with folders.
When you open www.example.com/Projects you are actually accessing www.example.com/Projects/index.html then let's say you want to access the project the folder Foobar so you type in www.example.com/Projects/Foobar/ and you are served www.example.com/projects/Foobar/index.html
However this can also be done with PHP URL rewriting and the use of a .htaccess fie.
Also when linking make sure that you start with a backslash (Absolute URLs) e.g.
href="/projects/test"
If the link was to "projects/test" and you were on that page then if you clicked on that link you would be taken to "projects/test/projects/test"
Well, usually to write a Web page you should learn html and then css. While learning html you will learn how to create a link.
In html a link is such as
my link
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
I saw that many sites have pre-loaders, and saw sites such as http://cssload.net which allow you to make them. But the question is, is it just HTML and CSS or are there scripts behind site pre-loaders that make the site wait until all of the data is loaded?
All advice is greatly appreciated!
actually the loaders that you watch in those pages are just images or Css fnctionalities and doesn't have any script (dark side) behind just the ones that the page give you.
about show or hide the preloader, basically you show the preload until your data is loaded after it, you can use a javascript method to hide the preloader (actually the div tag where is stored).
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
Okay I'm using Producteev.com frequently on my projects, the other day I noticed that on my workspace page, that the source of the page (Ctrl+U) is quite short and most of the page's items are not in the view source code.
but of course if you inspect the elements of the page you see the actual codes.
I'm not sure if this is the right place to ask such question but I'd like to know why is this happening and using what technology maybe? and also why they do use such techniques?
Viewing the source shows the source code.
Inspecting the DOM shows you a serialisation of the current state of the DOM after the HTML has been parsed, error corrected, normalised and (possibly) manipulated with JavaScript.
DOM elements that have been added dynamically after the page is generated will not be included in the page source.
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 9 years ago.
Improve this question
I am wondering there is a tool such as a Google Chrome extension out there that will get all of the css displayed on the current page, and nothing else. For instance, when you use the developer tools in chrome and get the css you have the option to get the classes you hover over and it's neighbouring classes, or the ability to see the full CSS file for the whole site. I am looking for a way to get ALL of the css used on the current page and displayed all together, instead of me having to manually check each div and pasting it into notepad.
I figure there must be something out there that does this. Any help is appreciated.
I haven't tried these myself, but Pendule and Quick Source Viewer look promising.
I would just post this as a comment but I don't have enough rep. :(