Need web hosting which one to choose?
GoDaddy, Bluehost, JaguarPC or else?
Is there any cost effective cloud hosting option available?
Tips, Expertise, Articles and Advice from the Pro's for Your Website or Blog to Succeed
Need web hosting which one to choose?
GoDaddy, Bluehost, JaguarPC or else?
Is there any cost effective cloud hosting option available?
Need help to scroll when mouse wheel is used. Scroll Up or Down as per mouse action.
I'm trying to create moveDown()
& moveUp()
function, to scroll according mouse wheel action
On scroll, remove class of current div :- .active
and add class :- .active
to scrolled div(div in viewport), by default first div has class .active
.
Following is my code structure.
HTML
<div class="wrap">
<div class="pane active"><h1>pane_1</h1></div>
<div class="pane"><h1>pane_2</h1></div>
<div class="pane"><h1>pane_3</h1></div>
<div class="pane"><h1>pane_4</h1></div>
<div class="pane"><h1>pane_5</h1></div>
<div class="pane"><h1>pane_6</h1></div>
</div>
CSS
.wrap {
height: 100vh;
width: 100vw;
position: absolute;
display: inline-block;
margin: 0 auto;
top: 0;
left: 0;
background: #D88C2A;
overflow:hidden
}
.pane {
height: 100vh;
width: 100vw;
position: relative;
margin: 0 auto;
}
Script
$(document).bind('mousewheel DOMMouseScroll MozMousePixelScroll', function(event) {
event.preventDefault();
var delta = event.originalEvent.wheelDelta || -event.originalEvent.detail;
});
Working on fullscrfeen slider.
Need help to count slides inside main slider container & create navigation <ul class="Nav"><li><a></a></li></ul>
. Need help to add scroll effect Vertically or Horizontally
Add class .active to active slide
Display tooltip on navigation hover
Need help to write function ,
$('main').slider({ //It may be main or .slider or #slider
sectionSelector: '.slide',
navigation: true,
navigationPosition: 'right',
navigationTooltips: true,
scrollHorizontally: true
});
**HTML**
<main class="slider" id="slider">
<section class="slide" data-tooltip="tooltip-info">
<h1>slide 1</h1>
</section>
<section class="slide" data-tooltip="tooltip-info">
<h1>slide 2</h1>
</section>
<section class="slide" data-tooltip="tooltip-info">
<h1>slide 3</h1>
</section>
<section class="slide" data-tooltip="tooltip-info">
<h1>slide 4</h1>
</section>
</main>
**CSS**
main {
width: 100vw !important;
height: 100vh !important;
position: absolute !important;
display: inline-block;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: 0;
overflow: hidden;
}
section {
width: 100%;
height: 100%;
background: #EF8D24;
overflow: hidden;
position: relative;
top: 0;
left: 0;
right: 0;
bottom: 0;
margin: 0;
/*visibility: hidden;*/
}
section.active {
visibility: visible;
}
how to scroll to target ?
Need help to create scrolling using custom data- attribute
Got Client with need of "online print shop"
Client is providing paper printing (like business cards, flyers), printing on cloths, office stationary, logo embroidery on any type of clothing.
Client provided some examples.
Links
Where do I start?
Which platform should I choose?
Is there any plugin or script that should I go for???