I'm trying to embed a hyperlink to an intranet site (site only works on local area network at our organization). When I use the regular adding hyperlink for web address section, it does not recognize the intranet site address and renders a red exclamation mark and greyed out "Done" button instead of a green checkmark and clickable "Done" button. I contacted Wix help desk and after exchanging back and forth, was met with "its not possible to achieve what you are looking for," which is basically a bypass/override to that greyed out "Done" button so I can embed the intranet site address. Now, Microsoft Word basic HTML page builder and amateur google sites page builder are able to embed my intranet address hyperlinks, but Wix is supposedly more advanced, but cannot do this? A majority of my links are intranet only addresses. I found out that you can add code on text clicking, so I wanted to embed the intranet address via manual coding. Can this be done? How should the syntax be set up to manually embed a hyperlink upon clicking the text?
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
![feature fixed.png](https://static.wixstatic.com/media/3bfa8a_f845e1016b8a49758acdd6edd6610c3b~mv2.png/v1/crop/x_0,y_2,w_852,h_508/fill/w_104,h_62,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/feature%20fixed.png)
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
You cannot embed HTML directly in Wix Code. WixCode understands all of Javascript, except for anything that accesses the DOM. This keeps the user from inadvertently "breaking" something. Therefore, the window DOM element cannot be accessed.
Sorry, but I don't know what you mean by: "the regular adding hyperlink for web address section".
There are a couple of ways you can embed a link:
The $w.Text component allows HTML - including a link.
You can also use the $w.HtmlComponent to embed HTML as an iFrame.
Set the .link property of a $w.Button.
I tried:
window.open(url);
But it states: 'window' is not defined.