Jump to content
  • 0

Details Page/https links


Rudy123

Question

Please find Details Page at : https://intraining.app/search-videos

Solution Needed:
For our details page:

We have a field which is a ( http link)  that gets submitted by our clients from a submission page we developed . 

We are searching for a solution for when the http link is clicked ... the https page stays ( within)  our details page  as a popup  or  any other way... to keep the viewer within our app and not redirected to another website

 

All help is appreciated !!
Rudy 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Hi @Rudy123 - since you have external links, I suggest using a pop-up window to show it within your page. You can use this sample code in the HTML Block:

<a href="#" onClick="OpenPopupCenter('FIELDNAME_OF_URL', '', 800, 600);"> View Film</a>


<script language="javascript" type="text/javascript">
        function OpenPopupCenter(pageURL, title, w, h) {
            var left = (screen.width - w) + 1350;
            var top = (screen.height - h) / 10;  
            var targetWin = window.open(pageURL, title, 'toolbar=no, location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, copyhistory=no, width=' + w + ', height=' + h + ', left=' + left +', top=' + top);
        }

</script>

Change the FIELDNAME_OF_URL with the correct field name in your DataPage using the field picker. Make sure to disable first the HTML Editor on the Advanced tab before pasting the code. Here's another forum post for reference and sample testing

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...