Solved

redirect question

Posted on 2013-06-15
1
338 Views
Last Modified: 2013-06-16
I wanted to know in this site

http://www.mednaclinic.com/#!/pageHome

 when I click on the pagemission link or li section it takes me to

http://www.mednaclinic.com/#!/pageMission

Is this pageMission a new page or in .html its refering to...

when #!/ is specified, is there any reason for it, cze i know when href="#" it doesnt redirect the page anywhere so if i do a href="#!/pageMission" this would redirect me to the pageMission page?
0
Comment
Question by:Moizsaif123
1 Comment
 
LVL 23

Accepted Solution

by:
tailoreddigital earned 500 total points
ID: 39250942
"In general URIs as defined by RFC 3986 may contain any of the following characters: ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-._~:/?#[]@!$&'()*+,;=. Any other character needs to be encoded with the percent-encoding (%hh). Each part of the URI has further restrictions about what characters need to be represented by an percent-encoded word."

I've used # as a place holder in href tags, and doesn't link anywhere (no data transfer protocol).  

Also, in the URL you pointed out above,

http://www.mednaclinic.com/#!/pageMission         # is just a character in the URL, it's not the page being called.   In this URL we are looking for an "index" within a directory called "pageMission", within a directory called "#!".   # is a valid character, but without a protocol and domain, is just a valid character.

So  " if i do a href="#!/pageMission" this would redirect me to the pageMission page? "

Yes, relatively on that domain.
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Video Tutorial help 2 40
Anyone familiar with PhotoSwipe? 3 21
how can i break an array into a couple 5 26
w3c parsing errors 4 22
When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question