|
Post by Michael on Oct 16, 2022 20:39:27 GMT
Hi all I'm trying to add a login script to my site, when I try to add the login script in a visual HTML, I have to add to the session, the head, and the body. but for some reason it won't show up. It shows up in a i-Frame, but the problem is after you enter the login info, and hit login button, it try's to load the whole site in the i-frame window. The Visual HTML seems to be the best way do go, but how do I get it to show up on the page? anybody have any ideas here?
Regards Michael
|
|
|
Post by J on Oct 17, 2022 14:21:49 GMT
Hi Michael,
You might be almost there with the I-Frame approach. A couple of ideas come to mind. Is the login button one you created in Antenna (e.g. a Quick Button object or similar) ?
If yes, you can set its Link Target property to _parent - so the link is targeting the I-Frame's parent window, instead of the I-Frame. If the login button is part of the 3rd party script, the same idea applies - but you may need to modify the login script or its accompanying html to target the parent.
Alternatively you can set ALL links in the I-Frame to target the parent, by adding one tag to the page head. You could do that with a Visual-HTML object on the I-Frame page:
<base target="_parent" />
Cheers, J
|
|