I want to redirect to a Wix page using my own HTML embed button. but it just shows the page in an iframe.
Method I tried:
target=“_top”
target=“_parent”
These methods doesn’t work.
Any help?
Reference website: https://ongyj8888.wixsite.com/ongyj888bot
J.D
October 10, 2021, 2:27pm
2
Please post the relevant code.
< html >
< head >
< style >
. mcbutton : hover {
[background](background:url(https://i.imgur .) [:](background:url(https://i.imgur .) [url](background:url(https://i.imgur .) [(](background:url(https://i.imgur .) [https://i.imgur .](background:url(https://i.imgur .) com/7owZr5B.png ) no-repeat ;
}
. mcbutton {
display : inline-block ;
[background](background:url(https://i.imgur.) [:](background:url(https://i.imgur.) [url](background:url(https://i.imgur.) [(](background:url(https://i.imgur.) [https://i.imgur.](background:url(https://i.imgur.) com/mMcUPAZ.png ) no-repeat ;
width : 196px ;
height : 40px ;
border : none ;
}
</ style >
</ head >
< body >
< a class = "mcbutton" [href](href="https://ongyj8888.wixsite.) [=](href="https://ongyj8888.wixsite.) ["https://ongyj8888.wixsite.](href="https://ongyj8888.wixsite.) com/ongyj888bot/bot-overview" target = "_top" ></ a >
</ body >
</ html >