Jump to content
Sign in to follow this  
davemoppert

Modal shortcode tweak

Recommended Posts

davemoppert

I am loving the extra shortcodes provided by pagelines. I especially enjoy the modal shortcode, but was wondering if there was a way to have the modal window open from an image instead of a label? For example: I am adding this shortcode: [pl_modal title="Support Gary Johnson" type="btn" colortype="important" label="Join Us"] Information [/pl_modal] Instead of 'Join Us' for the button text, I would like to add an image instead. Is there a way to do this either by adding the image url in the "Label" attribute or change the "Type" attribute from button to image?

Share this post


Link to post
Share on other sites
Danny

Hi Dave, Unfortunately, no, it has been suggested quite a few times in the comments area of Twitter's Bootstrap page but the developer has stated that this is not something they will be adding in the near future. If you wish this kind of functionality, you will need to use a LightBox/FancyBox plugin.


Please search our forums, before posting!

Share this post


Link to post
Share on other sites
davemoppert

Bummer. Thanks Danny.

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  

×