Image scrolling twice in jquery carouFredSel-5.6.4 - javascript

I am having two issues with my website code.
Link: http://coding.designzzz.com/demos/bakery-site/
First with my slider right arrow click it will scroll 2 images at a time. I only want it to scroll 1 image at a time.
Second- In Chrome my slider does not work properly. It seems to have some height issue and is not properly visible.
Please give me some suggestions that might help fix my problems.

Related

How can I make smooth transitions between webpages of the same website by sliding only part of the screen

In my webpage right now I have three buttons each filling a third of the page width and all the page height. i want to make it so if I click on the first button the second two slide off to the right and the first button remains on the screen, I've done a bit of research and come up with nothing. if you need more information let me know thanks in advance!
You can do this with css and js here is a tutorial from css-tricks

Hamburger menu loads outside viewport, reappears randomly

So I have a website that has a hamburger menu on mobile.
The problem is that whenever the page loads on a small device, the hamburger menu is way outside the view port to the right. This causes side scrolling issues and tons of white space.
I originally assumed I had written some css that was causing this, but after experimenting, I've come to realize that I do not know what is going on at all.
I have Gifs of the problem. I will also provide a URL if needed.
Heres the first gif
https://gfycat.com/GiftedPlaintiveEgret
So heres what is happening. I am inspecting the DOM of the webpage. If you pick any random element on the page, and edit a CSS attribute, then the menu fixes itself. It doesn't matter what element you select or what css attribute you edit; when you make an adjustment the problem is fixed.
Here is the second gif
https://gfycat.com/EasyIllustriousBlackbear
In this gif, the issue is literally fixed just by activating a CSS plugin called pesticide. Pesticide simply adds another external css sheet to the document that outlines everything in blue. Notice that even when I turn off pesiticde, my issue has been fixed.
And finally the third gif
https://gfycat.com/ContentRepentantBeetle
This is the most perplexing issue. It fixes the hamburger icon simply by resizing my browser screen. Obviously mobile users cant do this.
I truly don't understand this issue. I've tried to set a width of 100% on the nav element. I've written some javascript that when the DOM is ready, to add a css attribute to a a DIV in the footer and then remove it after a few seconds. This does not fix my issue. I would happily provide the javascript I wrote if requested.
Has anyone else ever had an issue like this?
EDIT
Here is another example. I use the browser Blisk to test my sites on multiple devices. Look at this
https://gfycat.com/BouncyFlakyGlobefish
When I first load up the site, I have my hamburger menu issue. When I tell the browser to view the site from a different device 'say switching from iphone 5 to iphone 6' it fixes the issue. I am so frustrated with this problem.
The white section's animation is increasing the width of the page (pushing the hamburger which is fixed to the right out of view), I'm not certain why this doesn't update properly after the animation is complete, but it would appear it requires a page re-flow before working correctly.
A possible CSS fix would be to add .bodymargins{overflow:hidden} though this may cause problems to other styling (untested on your site)
If this isn't an option, you could manually trigger a re-flow of the page shortly after loading (this is a slightly nasty option, but is better than it being broken)
Various re-flow options available here
It may be because you are using media queries and your browser width is not yet small enough for them to fire when you test.
If not, make the media queries and don't use the margin-left:auto for the smaller screen size?

Constant scrolling image

I am after some functionality of part of a development site I am working on.
What I want to achieve is a set of 14 images, aligned horizontally, that constantly scroll horizontally so that they are showing 7 images at a time, and pause when you hover over the slider.
I tried using jQuery Cycle to try and get this functionality but I couldn't get the right parameters included.
Any help would be greatly appreciated.
Try this script. I have not used it but it seems to be what you are looking out for.
http://logicbox.net/jquery/simplyscroll/

Why does jCaroussel Lite cut off text in some slides?

I'm using a jQuery plugin called jCarousel Lite to create a vertical scrolling Twitter ticker. Everything works fine, except for the fact that some tweets aren't shown completely. They're cut off before the last line of text. I can't seem to figure out what is causing the problem and it seems to occur more or less randomly too.
The page at http://www.reekx.nl/ shows the Twitter ticker in action (bottom right, titled 'Reekx op Twitter').
Is anybody able to tell me what's going wrong here and how I can fix it?
The Carousel sets a height for the elements, and at the same time you have overflow:hidden in your CSS.
This bascily means you are telling the DIV that it should be 104px heigh, and all overflowing content should be hidden.
Ill try to find if you can disable a fixed height in carousel mean while :)
Could you try playing with the "fit" option?
You can try playing with the options, which can be found here: http://jquery.malsup.com/cycle/options.html
But the 2 which is relevant should be:
$('#stwitterThing').cycle({
fit: 1,
height: auto
});

Carousel are crazy with click many times on button

I have make a carousel with jquery. The carousel have three sections and a large background images. When you click on the right button. The next section is coming and the background image is scrolling -1000 pixels to right.
But now the problem. When i click verry fast of a couple of times on the next button. The hole carousel is going crazy. How can i fix that? When you click on the next button. Then you can not print again. You must wait until he is animated. Thanks for help.
You can see the code on JsFiddle
http://jsfiddle.net/6RJzU/1/
Does this fix it ??
http://jsfiddle.net/6RJzU/2/

Categories