Solved

redirect question

Posted on 2013-06-15
1
335 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

Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Explain how this javascript function works 1 44
Performance for Office 365 6 45
Html5 string 3 20
how can i check if the text is an Isogram ? 2 24
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
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 position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
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…

815 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

Need Help in Real-Time?

Connect with top rated Experts

8 Experts available now in Live!

Get 1:1 Help Now