rafaelbotazini / floating-whatsapp

This is a simple floating WhatsApp button plugin for jQuery.
MIT License
268 stars 218 forks source link

Any chance to make this work without jquery? #11

Open NaturalDevCR opened 4 years ago

NaturalDevCR commented 4 years ago

This plugin looks awesome, i'm just wondering if there is any chance to get the Vanilla Javascript version of this... would be great!

Thanks in advance

senter-logistics commented 4 years ago

is it really wrong to include JQuery in your project?

NaturalDevCR commented 4 years ago

is it really wrong to include JQuery in your project?

I'm using vue, and there is nothing on my project requiring jquery, so i don't want to add jQuery only for one single feature, in any case if there is no chance to get the vanilla version, no problem, just wanted to know...

As i said, amazing job with this one looks pretty much the same as the official whatsapp

Rabin-collab commented 4 years ago

Is it possible to share the complete code for Avada Theme? I am new to this and I am facing issue with my website while adding the code. I tried to make it work but it messed up with all other Slider and some more areas on the website. I thought it is jquery issues. After reading the thread I see you have a solution.

Will you be able to share the complete code that I need to place? Example:

  1. CSS
  2. JQUERY Minified
  3. Javascript
  4. Call Function.

Thank you

``

rafaelbotazini commented 4 years ago

@LaravDev

This plugin looks awesome, i'm just wondering if there is any chance to get the Vanilla Javascript version of this... would be great!

Thanks in advance

I initially wrote this plugin just to use it on a couple jQuery projects I was workint at the moment.

I don't know if this is still relevant to you right now, but I am probably going to need similar functionality for another project I working on right now (not a jQuery one), so I might rewrite this with vanilla JS soon.

Thanks for the suggestion!

rafaelbotazini commented 4 years ago

@Rabin-collab, is it the Wordpress theme?

If thats the case, I can't help you fix an issue with a specific theme, especially a paid one, without more details.

If this is of any help, I think you should read the Wordpress documentation on how to include javascript files to your theme. There are some Wordpress plugins that can do that too, though. In that case you should consult the documentation for the plugin you are using.

You could also try to read this issue to learn how to solve some incompatibilities due to jQuery noconflict in Wordpress, and see if it applies to your case.

NaturalDevCR commented 4 years ago

@LaravDev

This plugin looks awesome, i'm just wondering if there is any chance to get the Vanilla Javascript version of this... would be great!

Thanks in advance

I initially wrote this plugin just to use it on a couple jQuery projects I was workint at the moment.

I don't know if this is still relevant to you right now, but I am probably going to need similar functionality for another project I working on right now (not a jQuery one), so I might rewrite this with vanilla JS soon.

Thanks for the suggestion!

Wow! Great to hear that! I'll be watching for it! Thanks in advance for the great job in any case!

Rabin-collab commented 4 years ago

Dear Rafael, I am looking forward for a new updated plugin. For the meantime I have found a plug-in a lighter version. Looking forward for your new plugins. Thanks,Rabin On Friday, September 18, 2020, 09:45:47 AM GMT+7, Rafael Botazini notifications@github.com wrote:

@Rabin-collab, is it the Wordpress theme?

If thats the case, I can't help you fix an issue with a specific theme, especially a paid one, without more details.

If this is of any help, I think you should read the Wordpress documentation on how to include javascript files to your theme. There are some Wordpress plugins that can do that too, though. In that case you should consult the documentation for the plugin you are using.

You could also try to read this issue to learn how to solve some incompatibilities due to jQuery noconflict in Wordpress, and see if it applies to your case.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub, or unsubscribe.