0
Welcome Guest! Login
0 items Join Now

btn class not working with mailto:

    • Houston's Avatar
    • Houston
    • Elite Rocketeer
    • Posts: 1077
    • Thanks: 2

    btn class not working with mailto:

    Posted 12 years 2 weeks ago
    • If I use the .btn class that comes with several of the RT for a link like www.somewebsite.com it works fine. But if the link is for an email address, the button will not show up.
      <a class="btn btn-info" href="mailto:bob@emailaddress.com">Contact Slip Rentals</a></div>
      Does not work. Am I missing something?

      Many thanks,
      Houston
    • Houston Brown - www.splitlightdesigns.com
      Apache Version = 2.2.2 / PHP Version = 5.2.17 or 5.3.15 (dual)
      mySQL Version = 5.5.21
      Joomla Version = 2.5.8 / Web Servers OS Version = CentOS 6
    • Henning's Avatar
    • Henning
    • Preeminent Rocketeer
    • Posts: 29362
    • Thanks: 954
    • Volunteer

    Re: btn class not working with mailto:

    Posted 12 years 2 weeks ago
    • you could try this

      {emailcloak=off}
      <button class="btn btn-info" type="button " onClick="parent.location='This email address is being protected from spambots. You need JavaScript enabled to view it.'">
      Contact Slip Rentals
      </button>
      {emailcloak=on}
    • Houston's Avatar
    • Houston
    • Elite Rocketeer
    • Posts: 1077
    • Thanks: 2

    Re: btn class not working with mailto:

    Posted 12 years 2 weeks ago
    • I really do not want to turn off emailcloak. That is not an option. I guess that is the problem. Arghhhh
    • Houston Brown - www.splitlightdesigns.com
      Apache Version = 2.2.2 / PHP Version = 5.2.17 or 5.3.15 (dual)
      mySQL Version = 5.5.21
      Joomla Version = 2.5.8 / Web Servers OS Version = CentOS 6
    • Houston's Avatar
    • Houston
    • Elite Rocketeer
    • Posts: 1077
    • Thanks: 2

    Re: btn class not working with mailto:

    Posted 12 years 2 weeks ago
    • I just went ahead with a form in a popup as apposed to a link to an email.

      I appreciate the help.
    • Houston Brown - www.splitlightdesigns.com
      Apache Version = 2.2.2 / PHP Version = 5.2.17 or 5.3.15 (dual)
      mySQL Version = 5.5.21
      Joomla Version = 2.5.8 / Web Servers OS Version = CentOS 6

Time to create page: 0.060 seconds