How to add a button to card-view of bootstrap table plugin? - javascript

I am using http://bootstrap-table.wenzhixin.net.cn - plugin for a project of mine and I want to add a bootstrap button to the card view of this plugin which is anchored to an email address retrieved from the database. Though I know how to add the anchor, I am unable to get the button to appear in every card.

Related

Call a javascrip function in a button's link option from Divi (wordpress theme)

First of all, thank you in advance for any help you can give me.
I'm not a coder, at all.
I'm a photographer (https://lucky4shop.pt/portfolio/) that just happens to know a bit about Wordpress websites and can read css/html but I don't know how to code in any language.
That said, here's my problem...
I'm creating a Wordpress website with the Divi theme/builder for a restaurant that has 2 locations.
On the homepage, I created a button that activates a popup using a plugin called "Popups for Divi" that basically takes a section created by Divi Builder and makes it a popup.
The popup shows 2 buttons that come from an online ordering system called GloriaFood, each button for each restaurant.
The buttons are implemented through a shortcode.
When the user clicks one of the buttons, it shows the Menu that is created in GloriaFood but the popup doesn't go away unless the user clicks on the "X" to close it.
I'm trying to find a way for it to close automatically when the user selects one of the restaurants.
Divi Builder has an option to add a link to the code area that is created through the shortcode and I know that the popups plugin has a "hide function but I don't know how to implement that upon the action of a button click.
I'll leave some links here to relevant information:
How the button is added: https://www.gloriafood.com/restaurant-ideas/add-online-ordering-button-wordpress
Functions of the popup plugin: https://divimode.com/divi-popup/ (you have to scroll down to find them)
Screenshot for the shortcodes
Link option on the builder
Advanced options of the "Code" Module, in case this helps

Run a Shortcode from a Button in Visual Composer - Wordpress

This should be a fairly obvious thing to be able to do. I have a plugin that has a modal newsletter signup form. I am very happy with the plugin and it has a number of options for the way it launches (after x seconds, when user reaches bottom of screen etc) it also has a manual launch option which gives me these following codes.
My theme uses Visual Composer. I want to launch the popup manually when a site user clicks a button on the homepage. I thought this would be simple but apparently not. The options I have with the standard VC button is shown below; I have tried numerous options of adding classes to the button but I cannot add a shortcode or class to any of the fields to launch the modal. I know there is a javascript onClick function but I'm not very good with Javascript. There must be a simple way to click a button and open a modal, maybe I am overlooking something completely obvious.
OK after reading back my question I thought about adding a custom css class to the button field Extra Class Name and it works. I thought that the extra class name here was for styling the button itself and did not realise that this would also trigger the pop-up as well. Guess I should have checked that first.

How to open gallery using jQuery or Javascript if image located in table gets clicked?

I have a bootstrap table which contains information about real estates:
Each real estate has many images. I just show one of them in bootstrap table. What I want is when user clicks on the existing image I want to show other related ones as gallery using jQuery or Javascript. Is there any solution for that?

CKEditor button to add table rows

I'm trying to make an add button (NOT a toolbar button), so when you click on it, a new row is added to the bottom of an already existing table.
Any idea how to do this? Should it just be a button that calls a add-row-function or should it be added to the table plugin (not sure how to add it to the plugin)
Just add the 'tabletools' plugin and you'll have this feature for free. You only need to right-click on a table row.
http://ckeditor.com/addon/tabletools

dynamically update page with a users selection?

My question is what language is required if I had a sign up form in a dialog box, and depending on my users input, have the page update with the selection? For instance, a user would sign up and a pop up box asks to upload picture and select a few inputs and the background is dynamically updated with the user's selection. I know jquery and ajax of course has to be involved but is there any others? I have tried to google this but i have no luck.
example: https://twitter.com/signup
As you are signing up they give you a selection and if you choose one it dynamically updates the background. Forgive me if my question is vage.
in adidtion to jQuery you will likely want to use a plugin for a rich lightbox. I recommend the jQuery colorbox plugin
Here are some other options

Categories

Resources