cweems
Forum Replies Created
-
Forum: Plugins
In reply to: [Alligator Popup] Change Default Popup size and locationSo, I assume that if I am to USE the extra data-attributes, in either a regular link or short code, they will override the defaults? I will have to try this a little later.
Forum: Plugins
In reply to: [Alligator Popup] Change Default Popup size and locationYESSSS!
That looks to be working for me:
https://www.virtually-anywhere.com/popuptest/Thanks so much!
Forum: Plugins
In reply to: [Alligator Popup] Change Default Popup size and locationoops. I meant for that to paste as code, but I am not sure how to do that! Let me try again;
<a href="https://www.virtually-anywhere.net/tour/universityofchicago/comer" class="popup" data-height="850" data-width="1250" data-scrollbars="0"><img src="https://www.virtually-anywhere.com/v3/wp-content/uploads/2016/08/U-Chicago-Comer.jpg" width="400" height="250" class="aligncenter wp-image-2046 size-full" alt="U-Chicago-Comer" /></a> <p style="text-align: center;"><a href="https://www.virtually-anywhere.net/tour/universityofchicago/comer" class="popup">Link with height, width, and scrollbar params removed</a></p>
Forum: Plugins
In reply to: [Alligator Popup] Change Default Popup size and locationThat is what was there… I copy/pasted it back in just to be sure and same behavior.
https://www.virtually-anywhere.com/popuptest/Now, I have not tried this using short code however. Only syntax changed in the links:
<p style=”text-align: center;”>Link with height, width, and scrollbar params removed</p>any other ideas?
Forum: Plugins
In reply to: [Alligator Popup] Change Default Popup size and locationThanks for the quick response…
“Oooching” it up works perfectly.
But I replaced the default values in the php file, and I did not get what I was after. If I leave out the height, width, and scroll parameters from the class, it now opens full height. Her is an example (image uses those params, and text link does not:
https://www.virtually-anywhere.com/popuptest/I guess then my real question is can I leave those extra params off the class definition and let it use default values?