One: Scroll through the HTML anchor point to the page specified location (DIV):If we want to click on the implementation of the jump is an HTML anchor point, that is, click on a tag hyperlink to achieve a jump, you can put the href attribute of a
First, we will introduce the syntax of the two methods:Reload method, which forces the browser to refresh the current page. Syntax: location. reload ([bForceGet]) Parameter: bForceGet. An optional parameter. The default value is false. The current
>
HTML lang="en">
head>
meta charset="UTF-8">
title>title>
head>
body>
a href="#div1"> Div1a>
a href="#div2"> Div2a>
a href="#div3"> Div3a>
a href="#div4"> Div4a>
a href="#div5"> Div5a>
One, What does it do?
$location Service analyzes the URLs in the browser's address bar (based on window.location), so that we can use the contents of the URL more conveniently in the application. Changing the URL in the Address bar responds to the $
The syntax format for location in Nginx is:Location [=|~|~*|^~|@]/uri/{...}
Description:= indicates full consistency ~ Represents a case-sensitive regular match, ~* indicates a case-insensitive regular match ^~ means no further matching regular @
What's new in HTML5HTML5 is the latest generation of HTML specifications, is the result of the cooperation between the WHATWG and the new, and is still outside the development. Since the last generation of the Html4,web world has undergone great
Location object attributes in html documents and common usage,
A simple understanding of location objects:
1. The location object contains the url Information of the currently loaded html document.
2. The location object is an attribute of the
How to jump to the specified location of another page, jump to the specified location of the page
How to jump to a specified position on another page:On the same page, it is very easy to click a place to jump to the specified location, that is, the
There is no doubt that HTML5 is a hot topic for developers. If you need to quickly understand the fundamentals of HTML5 's functionality, this chapter explains HTML5 's geographic location.
Geo-targeting uses of HTML5
HTML5 geolocation (geolocation)
Originally was looking at Nandashin write Ajax tutorial, suddenly found that clicking on the directory text will jump to the corresponding text content, thus stimulated my interest.This exactly how to do, just start to look at the time of smattering,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.