Jump to content
Sign in to follow this  
Keith Vaugh

external URL in modal window

Recommended Posts

Keith Vaugh+    14
Keith Vaugh

Hi all

 

Is it possible to open an external URL in an modal window?

 

Tried searching the forum, but have not had any success. I tried pasting this

<a href="https://data.fei.org/Horse/Performance.aspx?p=2B2DBBBACA2247D439D8201BFE3BA0E8">

between the [pl_modal .....] [/pl_modal] short code but no success.

 

Thanks in advance

Share this post


Link to post
Share on other sites
James B    436
James B

Hi there,

 

I've checked online for you and from what I can find it's against bootstrap's orgin policy so it's not coded to allow it. Have you tried loading an iframe inside the modal instead?


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
Keith Vaugh+    14
Keith Vaugh

No I didn't try loading an iFrame inside the modal. Will dod some digging and see if I can get it working.

Share this post


Link to post
Share on other sites
greenfly    230
greenfly

Hello Keith 

 

Let us know how you got on with this. 


The answer to many issues can be found by searching in the forum before posting as someone else  may very well have had the same problem before you have.  Also, reading the documentation can help you gain a good understanding of how everything works. 

 

Please do not send me private messages. Occam's razor - The principle states "Keep things simple!"

Share this post


Link to post
Share on other sites
Keith Vaugh+    14
Keith Vaugh

I haven't managed to resolve this. I have managed to get the page opening in a modal window however the modal will not allow the page to be displayed porperaly on a mobile device. The code I have used is and I have adjusted the size of the modal with CSS

[pl_modal title="FEI Results" type="btw" colortype="success" label="FEI Results"]
<iframe src="http://www.horsetelex.de/horses/family/212313" width="700px" height="550px"></iframe>
[/pl_modal]

In the past I had these pages opening in a lightbox (lightbox plus Colorbox plugin) However this no longer is functioning. I really need to find a solution to display external pages on this site. A light box would be ideal if one exists but alas I have searched high and low and found none yet... 

Share this post


Link to post
Share on other sites
James B    436
James B

I've asked around for you, the only ones I've had suggested so far to try are

 

http://wordpress.org/plugins/shadowbox-js/ or http://wordpress.org/plugins/lightbox-plus/


Kindly search the forum and read the documentation before posting. It will help you resolve many issues.

For CSS help be sure to check out W3Schools first and be sure to download FireBug for FireFox for troubleshooting.

James B

Share this post


Link to post
Share on other sites
Keith Vaugh+    14
Keith Vaugh

Thanks James

 

Lightbox plus is one have been using but can't seem to get working now...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×