Comments (2)
Thank you, I will try it out.
from halkabox.js.
@mzaidikhlas just add "display: none;" to all the links you don't want to show. and leave the one you want to show. the gallery will start from that image.
CODE:
CSS:
.hidden {
display: none !important;
}
HTML:
<div>
<a href="..." data-hb="gallery1"><img src="..."></a>
<a class="hidden" href="..." data-hb="gallery1"><img src="..."></a>
<a class="hidden" href="..." data-hb="gallery1"><img src="..."></a>
<a class="hidden" href="..." data-hb="gallery1"><img src="..."></a>
</div>
NOTE: Make sure that the "data-hb" attribute of all the links of a single gallery should be of same value.
from halkabox.js.
Related Issues (19)
- Browser scrollbar HOT 2
- Screen width switch bug HOT 4
- Option for Image List HOT 4
- Some callback for onChange HOT 1
- autoplay HOT 3
- Append description of image HOT 6
- Crossdomain
- Can't use as a module HOT 4
- box-shadow HOT 2
- [Feature Request] Add option to destroy instance HOT 5
- light-grey control buttons when resizing window, using dark theme HOT 6
- Gesture to close on touch devices HOT 5
- wheelhandler is too sensitive on desktop HOT 4
- Use html5 data-title instead of native title attribute HOT 3
- Double click/tap to zoom in/out HOT 5
- cursor-issue zoom HOT 1
- Transparent PNG HOT 2
- Create gallery items via JSON array HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from halkabox.js.