5

How to turn on PhotoSwipe without clicking?

 3 years ago
source link: https://www.codesd.com/item/how-to-turn-on-photoswipe-without-clicking.html
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

How to turn on PhotoSwipe without clicking?

advertisements

I use the the mobile PhotoSwipe gallery. My problem is that I need to load it not by click on image, but on clicks on the others elements on the page. May be there is some suggestions on ti?


You can add the "click" function on any element as long as you code a link properly around the element with rel="external", and as long as the link is contained inside of an element with the gallery class. If you have questions, I can post some example code.

Related Articles

How to load the data without clicking the link?

I am developing a MVC app. I am trying to develop a comment box. I have already written a code , in this code , I have written the process like, When user click on Show Comment link comments get appeared. Now, I want to change the functionality, With

How to delete all notifications without clicking the notification in Android

Plz don't mark this as duplicate. I am working on notification and it is working fine. But what I want is that when notification appears, can we clear all the notification without clicking on the notification, means that suppose if I get 5 notificati

React-native: How to display the tooltip without clicking on the marker in reac-native-maps

I am using react-native-maps module.I have given lat and long values and i have used MapView.Marker to show the Marker and tooltip when clicking on the marker. But, Now I want to show the tooltip with out clicking on the marker when the map loads ini

How do I create a Bootstrap calendar without clicking the input file, this calendar will show when rendering any HTML page

I want to show a calendar view in a html page but I do not have any idea how to do this one. Actually in my college project, I have to integrate a bootstrap calendar in a page, where in this page the first section will be a calendar and other two sec

How do I remove my control from the action sheet without clicking on the buttons in the iPhone?

how to remove my control from the actionsheet without click on actionsheet's buttons in iphone ?i think you want to dismiss the Action Sheet without tapping any buttons from Action Sheet. am i right or not ? You can do it by putting a CancelButton in

How to highlight a selectable item without clicking it (by code)?

How to select(highlight) an item in selectable without clicking on it (By code)? Such that I give it the index of which box to select/higlight I create them dynamically like that <div class="demo"> <ol id="selectable"> <

How to update DATA in real time without clicking or sending

I need update data in table without a action send click or submit. For example, when i change input value, i would like save in real time this changes in the database. My question is, how i can compare if have changes in the form? I read this post, S

How to display a big button without clicking the button (by clicking the area around this button) in iOS

I made many buttons for keyboard. When I click a button, it is shown as big button. Without clicking button, can it be shown as big button ?(like iPhone) Could you give some example codes ? Like you see in this picture (the default one), I just click

How can you launch the Button Click event without clicking the button?

I am trying to fire the Button Click event without clicking the actual button. Is there a way to invoke that? I want to call the Cancel event and here is what I have so far: protected void Cancel(object sender, EventArgs e) { this.BindGridView(); } Y

How to call my logout feature when the user closes the browser without clicking the logout button

I am working on an MVC+Jquery application. I want to execute a specific functionality which deletes some records when the user logs out. I want to call the same action method if the user closes the browser without clicking on logout. Is there a way t

how to get value in the text box without clicking the button

am using as follows <input type="text" value="<?php echo empty($this->session->store['actual_info']['actual_total_marketing_budget']) ? '' : $this->session->store['actual_info']['actual_total_marketing_budget']; ?>"

How to block text selection without text input and select items

How to block text selection without input textarea and select items i actually have the script that works in IE but not in other browsers, here it is: var omitformtags=["input", "textarea", "select"] omitformtags=omitformtags

How can we consume Odataservice without generating proxy

I am planning to OData service to built entrprise data bus which will be getting consumed by Business service. Business service then will be having services to various clients like web site, smart phones,etc To start with I am looking to consume Odat

Is it possible to prevent a contextual menu useful? Or: how to get a callback by clicking on a cell, returning the line & amp; index column?

For an user interface I'm programming an uitable. The user chooses an option A,B or C in the first column and the suboption in the second column depends on what was chosen in the first, either A.1,A.2 or A.3 or B.1,B.2 or B.3 or the same for C The co

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK