TOPIC:

How to create hover effect (newbie here!) 6 months 4 weeks ago #239077

  • Topic Author
  • guitrldy
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 30
  • Thanks: 0
Hello! I'm just starting out with Breezing Forms.

I'd like to create a hover effect on items within a "checkbox group".

When my users hover over a selection, I need them to see a photo and a short text description.

How would I get started with this?

Thanks in advance!
Lisa W.

Please Log in or Create an account to join the conversation.

How to create hover effect (newbie here!) 6 months 4 weeks ago #239089

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 414
Hello,

What you are asking is not a default BreezingForms feature.
BreezingForms offers the hover effect, but on the element label and not on each item inside for example Checkbox group element.

Here is a guideline on how to make this as you want.

Go to the Advanced properties of the checkbox group element and in the "Initscript" section set Type to Custom. Furthermore, check the "Form Entry" checkbox and in the code area that appears below put code like this:
function ff_checkboxgroupname_init(element, condition)
{
    jQuery('#bfGroupLabel14074').attr('title', 'This is the hover-over text');
    jQuery('#bfGroupLabel14074_1').attr('title', 'This is the hover-over second item text');
    jQuery('#bfGroupLabel14074_2').attr('title', 'This is the hover-over third item text');
} // ff_checkboxgroupname_init
NOTE: In the code above you have to replace bfGroupLabel14074, bfGroupLabel14074_1 and bfGroupLabel14074_2 with the ID's of the checkbox group options in your checkbox group.
You can get them by previewing the form and Inspecting the element.

This will show text on hower, but this will not display an image.

There must be a similar way to display the image here is well so I would suggest is to try Googling it.

Let me know whether this helped.

Regards,

Mihaela

Please Log in or Create an account to join the conversation.

How to create hover effect (newbie here!) 6 months 4 weeks ago #239099

  • Topic Author
  • guitrldy
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 30
  • Thanks: 0
Thank you for this! I will give it a try and then Google info on displaying an image. I'll post here what I find for others...

Lisa W.

Please Log in or Create an account to join the conversation.

How to create hover effect (newbie here!) 6 months 3 weeks ago #239111

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 414
Hi again,

Great!
Good luck.

Regards,

Mihaela

Please Log in or Create an account to join the conversation.

How to create hover effect (newbie here!) 6 months 3 weeks ago #239135

  • Topic Author
  • guitrldy
  • Offline
  • Junior Breezer
  • Junior Breezer
  • Posts: 30
  • Thanks: 0
Just FYI, this code worked! Now I'm looking online for tips displaying an image on hover.

One last question: what type of code is this? Java, php...? I'm not familiar with it.
(I am an old time coder, but still learning!)

Thanks!
Lisa W.

Please Log in or Create an account to join the conversation.

How to create hover effect (newbie here!) 6 months 3 weeks ago #239150

  • mihaela
  • Offline
  • Developer
  • Developer
  • Posts: 3128
  • Karma: 105
  • Thanks: 414
Hello again,

Great! I'm glad that it worked. :)

This is a JavaScript code, to be specific jQuery is being used in the code that I have provided.

Regards,

Mihaela

Please Log in or Create an account to join the conversation.

Last edit: Post by mihaela.
  • Page:
  • 1
Moderators: ForumSupport
Time to create page: 0.048 seconds

BreezingForms Pro 1.4.7 for WordPress Released!

Available in the membership section.

Summer Sale!

Massive discounts on all subscriptions!

Get Your Subscription Here

Quick Links

Downloads

BreezingForms

ContentBuilder

BreezingCommerce

Templates

Documentation

BreezingForms

ContentBuilder

BreezingCommerce

Apprendre BreezingForms (French Community)

Apprendre et maîtriser BreezingForms par des tutoriels et exemples, le tout en français

breezingforms.eddy-vh.com

Questions et réponses sur les forums de l'AFUJ

AFUJ

Special Offer

Summer Sale! All subscriptions at a special price!

Includes prio support, all of our current and future Joomla!® extensions and Joomla!® templates for the duration of your membership.

Get it from here

3rd Party Discount - 25% Off

We help you to keep your costs under control. If you are a new member and purchased a form building tool from a different form vendor, then you'll get a 25% discount on our subscription plans.

How to receive the discount:

Send us a quick email to sales@crosstec.org with a proof of purchase (for example a paypal receipt), await payment instructions and enjoy your membership!