Solved

redirect question

Posted on 2013-06-15
1
343 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Why Off-Site Backups Are The Only Way To Go

You are probably backing up your data—but how and where? Ransomware is on the rise and there are variants that specifically target backups. Read on to discover why off-site is the way to go.

Question has a verified solution.

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

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.
This article demonstrates how to create a simple responsive confirmation dialog with Ok and Cancel buttons using HTML, CSS, jQuery and Promises
In this tutorial viewers will learn how to style elements, such a divs, with a "drop shadow" effect using the CSS box-shadow property Start with a normal styled element, such as a div.: In the element's style, type the box shadow property: "box-shad…
The viewer will receive an overview of the basics of CSS showing inline styles. In the head tags set up your style tags: (CODE) Reference the nav tag and set your properties.: (CODE) Set the reference for the UL element and styles for it to ensu…

729 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