fragment-identifier Questions

4

Solved

I am new to PHP Development. Today I came across the interesting topic of URL fragments, specifically the # part of URLs. I searched and found that it's like www.example.com/foo.html#bar But I don...
Idou asked 23/6, 2015 at 8:18

21

Solved

How can I check if a URL has changed in JavaScript? For example, websites like GitHub, which use AJAX, will append page information after a # symbol to create a unique URL without reloading the pag...
Forgat asked 17/6, 2011 at 18:45

4

Solved

Is there a length limit for the fragment part of an URL (also known as the hash)?
Warily asked 15/10, 2009 at 11:24

20

Solved

We've got a few pages using ajax to load in content and there's a few occasions where we need to deep link into a page. Instead of having a link to "Users" and telling people to click "settings" it...
Shirk asked 28/9, 2009 at 22:8

18

Solved

I have URL like: http://example.com#something, how do I remove #something, without causing the page to refresh? I attempted the following solution: window.location.hash = ''; However, this doe...
Corncrib asked 9/9, 2009 at 2:59

7

Solved

I'd like to get the value after a hash in the URL of the current page and then be able to apply this in a new function... eg. The URL could be www.example.com/index.html#foo And I would like to...
Nebraska asked 30/11, 2009 at 21:44

11

Solved

I am using Ajax and hash for navigation. Is there a way to check if the window.location.hash changed like this? http://example.com/blah#123 to http://example.com/blah#456 It works if I check it...

2

Solved

I want to navigate to an anchor point on a new page, but I want the page to load at the top then immediately smooth scroll to the relevant anchor point. Can this be done? I am a complete newbie wi...
Bisutun asked 18/5, 2015 at 1:11

7

Solved

How can I write the Javascript callback code that will be executed on any changes in the URL fragment identifier (anchor)? For example from http://example.com#a to http://example.com#b

15

Solved

When one wants to refer to some part of a webpage with the "http://example.com/#foo" method, should one use <h1><a name="foo"/>Foo Title</h1> or <h1 id="foo">Foo Title&l...
Fascism asked 27/1, 2009 at 18:57

9

Solved

I want to update the URL using window.location.hash or history.pushState. What are the differences and advantages of each method?
Swint asked 18/2, 2012 at 9:37

20

Solved

I have some jQuery/JavaScript code that I want to run only when there is a hash (#) anchor link in a URL. How can you check for this character using JavaScript? I need a simple catch-all test that ...
Hyperbole asked 18/11, 2008 at 11:35

4

Solved

If I am on https://www.website.com/#something, how can I return the hash value "something" from the URL?
Placidia asked 1/4, 2013 at 10:6

4

Solved

It's well known that the URL fragment (the part after the #) is not sent to the server. I do wonder though how fragments work when a server redirect (via HTTP status 302 and Location: header) is ...
Overstuffed asked 18/2, 2010 at 4:55

18

Solved

I've been trying to find a way to change the window.location.hash to the currently selected tab in Jquery UI Tabs. I've tried: $("#tabs > ul").tabs(); $("#tabs > ul").bind("tabsshow", funct...
Potato asked 20/2, 2009 at 16:35

10

Solved

Looking for a way to parse key pairs out of the hash/fragment of a URL into an object/associative array with JavaScript/JQuery
Gibbosity asked 16/11, 2010 at 18:25

4

Solved

I have a hard coded URL like so: https://bupacouk.bwa.local.internal.bupa.co.uk/cash-plan-quote/quoteAction.do?getBenefitLevelDetails=getBenefitLevelDetails&productPolicyId=7841#a1 When Java...
Houk asked 5/3, 2010 at 10:10

4

Solved

I want to store key/value pairs in URI's after the hash for use on the client side like so: http://www.foo.com/index.html#foo=bar&baz=quux Is there a pre-existing solution that already does ...
Indifferentism asked 5/8, 2009 at 23:6

14

Solved

How would I have a JavaScript action that may have some effects on the current page but would also change the URL in the browser so if the user hits reload or bookmark, then the new URL is used? ...

4

Solved

I am working on ROR web apps. My webpage url looks like below- http://dev.ibiza.jp:3000/facebook/report?advertiser_id=2102#/dashboard Here I understood that advertiser_id is 2102 but I couldn't ...
Deegan asked 12/8, 2016 at 2:49

5

I always thought the standard way to specify a fragment identifier is by <a name="foo"></a>. <a href="#foo">go to foo</a> <a name="foo"></a> <!-- obsolete m...
Selfdiscipline asked 27/1, 2016 at 8:26

4

Solved

in my website i set the url adress using window.location.hash = 'project_name'; but if i want to clean the adress url from any hashes (when i close a project) and i set window.location.hash = '...
Imalda asked 17/1, 2011 at 15:52

1

Solved

I recently came across a web application whose URLs have the form: https://URL.com/page/uuid/#/anotheruuid/area?action=whatever I am confused as to the use of # in the URL. Usually, the pound sy...
Heading asked 29/12, 2017 at 21:1

1

I have an application by mean-stack that hosts a website and an Excel add-in. html5 is enabled, and it has <script src="https://appsforoffice.microsoft.com/lib/1/hosted/office.js"></scri...

5

Solved

someone here in SO told me that the hash (#) in the url could be retrieved by php function parse_url? is this true? my web site got a lot of ajax effects and i want to be able to pass an url with ...
Natheless asked 24/12, 2009 at 6:31

© 2022 - 2024 — McMap. All rights reserved.