Questions tagged [anchor]
An anchor (<a>...</a>) is a HTML element used to define the link between the current element (the anchor) and the destination (URI).
anchor
5,036
questions
-3
votes
0
answers
22
views
URL to specific section of page not working on iPhone? [closed]
I have a link that's supposed to anchor to the 'leave a review' form (indicated by #review_form_wrapper at the end of the URL):
https://mousemesh.com/product/air-brick-covers-mousemesh/#...
1
vote
1
answer
152
views
anchor-spl v0.30.1 solana-spl 1.18.17 error[E0308]: mismatched types
I'm building solana smart contract with anchor.
anchor version is 0.30.1
solana-cli version is 1.18.17
first time, I built and deploy smart contract without any issue.
But after I add this two lines, ...
-1
votes
0
answers
39
views
WPF UI class button which provides anchor points
I have to draw several arrows between buttons and the UI shall be able to recalculate its position during resizing.
For this I built a custom shape class which is able to draw an arrow between two ...
0
votes
0
answers
23
views
How to create a link to an anchor on the main page from an iframe embedded in the main page?
With HTML, how to create a link to an anchor on the main page from an iframe embedded in the main page?
The iframe is called and inserted and from the main page ( iframe is hosted in Github with a ...
0
votes
1
answer
96
views
How to add onTapGesture on a mesh?
I'm encountering a slight problem with my current setup. The tracking code operates effectively in isolation; I'm able to detect and draw a sphere on the tracked object. My goal is when my Apple ...
0
votes
0
answers
64
views
anchor deploy program has an error write transactions failed
In localnet solana, i always deploy program successfully. But in devnet, i am getting a error when deploying the program in devnet solana. Help me !. Thank you so much !
I am trying to deploy program ...
1
vote
1
answer
49
views
How to avoid XSS issues when clicking HTML link to retrieve file from database and display it in new tab?
In the success callback of an AJAX request, I need to append a link to a modal. The link's href attribute points to an API route, which calls a Spring Boot controller method that writes the PDF file ...
1
vote
0
answers
49
views
New CSS Anchor Positioning API and `::selection` CSS pseudo-element: Using selection as anchor?
I am looking at the new CSS Anchor Positioning API. Can I use the CSS anchor positioning API to place a tooltip over the currently selected text?
I tried to achieve this with the ::selection CSS ...
0
votes
1
answer
44
views
How to : button/link that display specific slide in slider [Vanilla Javascript]
for a portfolio website purpose, I've created a (very simple) carousel.
Thing is :
I want my slider/carousel to be usable with a menu (in addition to Next and Prev buttons).
To be more precise, each ...
0
votes
0
answers
22
views
How to stop tag from showing in Jupyter Lab TOC
I am not sure what happened, but previously the table of contents for my ipynb files did not show the tags in the table of contents, meaning that if the following markdown cell was in the notebook:
# ...
0
votes
0
answers
25
views
Open anchor links in a new tab / window of a PDF embedded on an HTML page
I'm using mPDF to create a PDF from HTML via PHP.
<object id="pdfObject" class="pdf" data="<?php echo $pdf ?>"></object>
But when I click on an anchor ...
0
votes
0
answers
17
views
how can i transfer 10% to vault wallet and rest to winner anchor solana
I am trying to send 10% of winning to liquidity vault of the winning amount during claim prize and rest of 90% to winner.
Here is the anchor function
pub fn claim_prize(ctx: Context<ClaimPrize>, ...
0
votes
0
answers
22
views
Anchor invoke transfer query
key is pubkey hard coded
let key = Pubkey::from_str("7ErNjJnJySrLQVuScmgxA6xsaw9sxfihXy8necaSBt6h").unwrap();
invoke(
&transfer(&buyer.key(), &key.key(), lottery....
0
votes
0
answers
50
views
Deploying on Anchor
Devs and computer gurus, help me with this. I have been battling with this all day, and I don't seem to be getting anywhere. How do i resolve the error below? I am trying to deploy a token on anchor; ...
1
vote
1
answer
36
views
Jasmine test anchor element click without opening tab
In my Angular 17 application, I have some anchor element that has both an href for navigation and a click handler. I'm not worried about testing the href, but I'm trying write a simple "should ...