- This topic has 4 replies, 3 voices, and was last updated 10 years, 4 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- You must be logged in to reply to this topic.
Support site for Tips and Tricks HQ premium products
by
Tips and Tricks HQ Support Portal › Forums › WP Lightbox Ultimate › Lightbox External Page Shortcode Width/Height Question
Hello – When using a shortcode like this:
[wp_lightbox_anchor_text_display_external_page link=”http://form.jotformpro.com/form/42075761″ width=”90%” height=”90%” title=”DINER ONSITE FORM” text=”POPUP OPENS FORM 2″]
Is it possible to use: width=”90%” height=”90%” instead of actual pixel sizes?
When my lightbox opens I want it to take up 90% of the window space regardless of what type of device it is opened on…
If not, do I have another option besides entering in actual pixel sizes?
Thank you for your time in answering my post…
– Ellie
So, what happened when you tried it?
It doesn’t work….LOL
It opens the link in a whole new page…as opposed to when I put in actual pixel dimensions, it opens in the popup with said dimensions.
THIS WORKS:
[wp_lightbox_anchor_text_display_external_page link=”http://form.jotformpro.com/form/42075761645963″ width=480″ height=”600″ title=”DINER ONSITE FORM” text=”POPUP with Pixels”]
THIS OPENS IN A NEW PAGE:
[wp_lightbox_anchor_text_display_external_page link=”http://form.jotformpro.com/form/42075761645963″ width=”90%” height=”90%” title=”DINER ONSITE FORM” text=”POPUP With %”]
So, I need the 2nd one … but in the Popup “fashion” instead of opening in the new page.
@ellie, currently the shortcode doesn’t work like that. It needs to be customized. I have sent you an email. Let me know if you don’t receive it.