Jump to content


Photo
- - - - -

external URL in modal window


Best Answer James B , 25 June 2013 - 10:21 PM

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

 

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

Go to the full post


  • Please log in to reply
6 replies to this topic

#1 keithmagvacom

keithmagvacom

    Advocate

  • Members



  • 361 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 24 June 2013 - 09:15 PM

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

Please Login or Register to see this Hidden Content

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

 

Thanks in advance



#2 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 25 June 2013 - 12:24 AM

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?



#3 keithmagvacom

keithmagvacom

    Advocate

  • Members



  • 361 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 25 June 2013 - 09:05 AM

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



#4 greenfly

greenfly

    Advocate

  • Members

  • 3268 posts
  • LocationManchester, England
  • Framework Version:latest
  • Country: Country Flag

Posted 25 June 2013 - 03:41 PM

Hello Keith 

 

Let us know how you got on with this. 



#5 keithmagvacom

keithmagvacom

    Advocate

  • Members



  • 361 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 25 June 2013 - 08:38 PM

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

Please Login or Register to see this Hidden Content

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... 



#6 James B

James B

    Advocate

  • Members

  • 5126 posts
  • LocationSurrey - UK
  • Country: Country Flag

Posted 25 June 2013 - 10:21 PM   Best Answer

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

 

Please Login or Register to see this Hidden Content

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



#7 keithmagvacom

keithmagvacom

    Advocate

  • Members



  • 361 posts
  • Framework Version:2.4
  • Country: Country Flag

Posted 26 June 2013 - 01:44 PM

Thanks James

 

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