Copy link to clipboard
Copied
I'd like to use an ID (used to be anchor) on a page for a precise QR code link. If possible, how do I do that?
Copy link to clipboard
Copied
Although your question is clear, there are two inaccuracies...
Firstly, if you'd like clarification on the url to be transmitted to generate a QRCode pointing to a specific location in the document, simply indicate this anchor in the URL as you would for a link... so all you have to do is generate a QRCode pointing to, for example, https://www.the_web_server.com/the_page.ext#the_anchor
And secondly, would you like to understand how to generate the QRCode itself?
Therein lie two underlying questions :
Please don't hesitate if you need further explanations.
Copy link to clipboard
Copied
Thank you for your response. I don't understand the "two inaccuracies" statement, however.
My intent was to ask how the ID/anchor is "written" so when I create a QR code to link directly to this specific location on a page, it will work. I still am unclear as to how to actually write the link. Does it (#newlink) immediately follow the page url or is there a different naming convention? page.html#newlink. I'm sorry, I cannot understand your example with underscores. We don't use underscores in our web files.
My university has a QR code generator that we use.
Copy link to clipboard
Copied
https: // Example.com/pagename.html/#QRLink1
https: // Example.com/pagename.html/#QRLink2
pagename.html/#QRLink1
pagename.html/#QRLink2
Content on page:
<div id="QRLink1">
Your QR Code here
</div>
<div id="QRLink2">
Your QR Code here...
</div>
Hope that makes sense.
Copy link to clipboard
Copied
I'm sorry, certainly the word “inaccuracies” is probably a bit too strong in English (I'm from France, and English isn't my usual language)... in fact I wasn't sure whether you wanted to ask about the url itself or the QRCode generation.
Now that it's clearer to me, as I was saying earlier, use a URL as you would a simple link, except that the url must be absolute, otherwise your QRCode printout won't know where to start.
The underscores used are simply to allow you to read the sentence in a human way... the url is purely arbitrary and just allows you to understand its construction 🙂
https ://www.the_web_server.com/the_page.ext#the_anchor
or
https ://www.the_web_server.com/an_eventual_folder/the_page.ext#the_anchor
Copy link to clipboard
Copied
I confess I don't understand your approach?
On the one hand,
https: // Example.com/pagename.html/#QRLink1
By @Nancy OShea
The links you give as an example use a slash between the page and the anchor, which will cause a syntax error. there shouldn't be a slash between the page extension and the anchor... just the hash symbol #.... well, that's how it's worked since we've been providing this service for our customers here at the https://qrcodes.epsyllum.net/ studio.
And on the other hand,
Content on page:
<div id="QRLink1">
Your QR Code here
</div>
Hope that makes sense.
By @Nancy OShea
Why would you want to insert the QRCode within the web page itself... generally, the QRCode will be placed on a medium other than the web, precisely to link this medium (paper, video...) to the web...
Copy link to clipboard
Copied
You're right about the stray slash /.. That was my bad. 🤕
It should be Example.com/pagename.html#QRLink1 (where QRLink1 is the target content).
Dreamweaver is web authoring software. In that context, I assume this question is about creating a website.
Without more information to go on, like the site's file structure, this is mostly guesswork. I'm afraid my Crystal Ball isn't working. There's too much interefence from the #ParisOlympics. 😍