Jump to content


Photo
- - - - -

modal with textlink shortcode

modal shortcode

Best Answer Rob , 31 January 2013 - 02:06 AM

Hi,

 

Try the modal code without type="btn" colortype="info". That may work.

Go to the full post


  • Please log in to reply
2 replies to this topic

#1 evert100

evert100

    Super Member

  • Members
  • 156 posts
  • Framework Version:2.3.8.
  • Country: Country Flag

Posted 31 January 2013 - 01:38 AM

Hi,

 

The modal function rocks. I can put everything in it like video and images.

 

There is one thing left i need.

 

Can you provide me with a simple piece of code where i can click from TEXT a modal window.

 

Best would be to provide me with a shortcode for this like

  1. [pl_modal title="Title" type="btn" colortype="info" label="Click Me!"]
  2. Some content here for the cool modal pop up. Labels, badges, and buttons can open them!
  3. [/pl_modal]

    Only now from text. Would be great!

    Thanks, Evert


#2 Rob

Rob

    One Smart Egg

  • Members
  • 13575 posts
  • LocationEast Coast, USA
  • Framework Version:The Latest, of course
  • Country: Country Flag

Posted 31 January 2013 - 02:06 AM   Best Answer

Hi,

 

Try the modal code without type="btn" colortype="info". That may work.



#3 evert100

evert100

    Super Member

  • Members
  • 156 posts
  • Framework Version:2.3.8.
  • Country: Country Flag

Posted 31 January 2013 - 03:03 AM

Rob, you rock! So simple, it works. I just left out the type="btn" so i still got the blue color. Wish all life was so simple. It works perfectly with video and or images. I changed some css. Now the modal has more space, less paddings and margins and is 100px more width. Perfect. I dropped it at 10% instead of 30% because then prevent dropping to low.

 

 

 

Thanks man!







Also tagged with one or more of these keywords: modal, shortcode