Solved

redirect question

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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article discusses the difference between strict equality operator and equality operator in JavaScript. The Need: Because JavaScript performs an implicit type conversion when performing comparisons, we have to take this into account when wri…
Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
In this Micro Tutorial viewers will learn how to create navigation buttons that change on rollover, using CSS (Continuation of the CSS Image Sprite tutorial) Create a parent ID for all the list items       - Specify position: absolute and display: block…
In this tutorial viewers will learn how to code links for mobile sites that, once clicked, send a call or text to a specified number. For a telephone link (once clicked, calls a number), begin with a normal "<a href=" link tag. For the href, specify…

743 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

15 Experts available now in Live!

Get 1:1 Help Now