href Questions

3

In a Markdown Page (Microsoft TFS Wiki) I try crate A tag for file link: <a href="file:///C:/temp\file.txt">file.txt</a> On click (Chrome), I got about:blank#blocked
Koenig asked 11/3, 2019 at 11:46

2

I want to open the mail client of the user with a specific text. Some parts of the text should be bold, italic or u̲n̲d̲e̲r̲l̲i̲n̲e̲d̲. I tried this by using mailto But it use the RFC 2368... so ...
Causeuse asked 5/10, 2015 at 11:32

5

Solved

This is a simple yes or no question (probably no), googling didn't seem to give me a straight answer. Say you have a link that is <a href="www.stackoverflow.com">www.stackoverflow.com</a...
Crossland asked 18/9, 2012 at 21:8

4

Solved

How can I stop the propagation of the click event so that the browser will NOT redirect? <a id="theHref" href="http://stackoverflow.com/">SO</a> <script> docu...
Mages asked 28/6, 2015 at 9:35

7

Solved

What is the difference between window.location.href and window.open () methods in JavaScript?
Jamarjamb asked 16/8, 2011 at 11:51

8

I want to link to a profile/user account on Instagram. I have the user ID, but the I can't find the answer in the developer API documentation. I've tried instagram.com/userID and instagram.com/user...
Oldtime asked 16/7, 2013 at 17:30

2

I mean, like a URL that a user can click to open the Discord app or website and prewrite a Discord message, ready to be sent. I need something similar to mailto: links where I can set the message b...
Bygone asked 8/5, 2021 at 16:57

16

I want to open a link in the same window and in the same tab that contains the page with the link. When I try to open a link by using window.open, then it opens in new tab—not in the same tab in t...
Crozier asked 10/12, 2011 at 5:0

7

Solved

I have a question that will be found very often. The problem is that nowhere can be found an explicit solution. I have two problems regarding anchors. The main goal should be to get a nice clean ...
Enamour asked 6/12, 2012 at 2:15

3

Solved

I have this Icon from material UI, I wish to make it clickable and open a new window to www.linkedin.com should I use href="Linkedin.com" ? or add onClick ? I wish it to open a new tab/window aswe...
Intendancy asked 26/12, 2019 at 12:21

13

When I use the HTML <base> tag to define a base URL for all relative links on a page, anchor links also refer directly to the base URL. Is there a way to set the base URL that would still all...
Foamflower asked 13/11, 2011 at 1:16

8

Solved

I have following html+ js code: <!DOCTYPE html> <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> </head> &...
Sucking asked 20/10, 2014 at 20:25

7

Solved

I have an anchor tag that has a local href value, and a JavaScript function that uses the href value but directs it to a slightly different place than it would normally go. The tag looks like <...
Jonas asked 15/3, 2013 at 18:39

3

I want to set a text to the textview which contains href tags as well as normal http links. For ex, text like this "please <a href=/'http://google.com' target='_blank'>click here</a>. o...
Injured asked 22/4, 2011 at 7:3

17

Solved

How do I test to see if links are external or internal? Please note: I cannot hard code the local domain. I cannot test for "http". I could just as easily be linking to my own site with an http a...
Cattegat asked 26/5, 2010 at 7:37

5

Solved

I have a function that replaces anchors' href attribute in a string using Php's DOMDocument. Here's a snippet: $doc = new DOMDocument('1.0', 'UTF-8'); $doc->loadHTML($text); $anchors = $doc-&gt...
Scorekeeper asked 27/4, 2009 at 5:38

2

Solved

What is the url structure to search for an address in Google Maps? I want to offer an address on my website that, when clicked, it will open google maps directly to an address from my script. I wan...
Systematic asked 11/12, 2014 at 9:35

5

I want to set a page's base href attribute in Javascript based off of the current hostname. I have generated HTML pages that can be viewed on different hostnames, which means generating a base href...
Margalit asked 16/8, 2010 at 16:0

11

Solved

How can entire table cell be hyperlinked in html without javascript or jquery? I tried to put href in td tag itself but its not working at least in chrome 18 <td href='http://www.m-w.com/dicti...
Affix asked 9/4, 2012 at 7:28

8

I've checked other posts on here, no results of what I'm looking for. I want to click on <a href="#about">About</a> <div id="about">Content of this..</div> and have it sc...
Protoplast asked 9/6, 2013 at 18:4

7

Solved

If I have this element: <a href="www.mysite.com" onClick="javascript.function();">Item</a> How can I make both href and onClick work, preferably with onClick runnin...
Barkeeper asked 14/2, 2013 at 3:56

3

I would like to hyperlink the image but how do I add a href tag to an image? <div class="laptop"> <img class='report' src="http://testtest/Report1.png"/> When the report shows, you ...
Supertax asked 19/4, 2017 at 16:16

10

Solved

I want to disable Link in some condition: render() { return (<li>{this.props.canClick ? <Link to="/">Test</Link> : <a>Test</a>} </li>) } <Link> m...
Welloiled asked 12/7, 2016 at 6:36

8

I'm trying to link to a local file. I've set href as follows: <a href="file://C:/path/to/file/file.html">Link Anchor</a> In Firefox, when I right click and "open link in new tab", n...
Slurry asked 18/8, 2012 at 19:53

2

Solved

I'm trying to add an external link to the tab panel title in a shiny navbar. The link itself works fine, but it moves the tab with the link into a separate row. How can I include a link and mainta...
Radke asked 16/1, 2023 at 21:11

© 2022 - 2024 — McMap. All rights reserved.