Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I'm working on a long scrolling website that features a number of full background hi res images. It's currently taking too long to load since all the images are loaded in parallel by default.
So before I custom write something to load first what comes first and later what comes later (this way the first scroll will load almost instantly and the user will wait for the remaining part while reading the first part :P), is there any script that will do this out of the box?
I'm thinking on some existing code that will read each img tag or background-image property/style-attribute and load the images sequentially depending on their appearance on HTML or a some extra attribute.
I prefer vanilla JS or jQuery. If I can't find it, I'll write a plugin myself, votes/encourages accepted!
I would try using a plugin like LazyLoad:
http://www.appelsiini.net/projects/lazyload
There is a threshold value that will start to load images a certain number of pixels off screen. That way as visitors start scrolling down, it'll begin loading the next few sections.
I created a jQuery plugin to achieve this. Check it out! It's a work in progress so you're welcome to comment and suggest! I took a lot from Lazy Load.
https://github.com/mspivak/sequencial_load
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I was browsing through random websites when i came across this site called canva.com and its homepage interested me a lot. It has a blurred background and when you hover through it, it becomes sharp. I tried to check out its source code but, could not figure out how they did it?
I tried to check the background image when the mouse is hovered and every time i check it, it is a different background image for different position. I don't think that the designer made all possible images and uploaded, that would not be efficient perhaps. I think that the images are dynamically generated.
Anyone else have any idea as to how it can be done?? Please check it out.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question appears to be off-topic because it lacks sufficient information to diagnose the problem. Describe your problem in more detail or include a minimal example in the question itself.
Closed 8 years ago.
Improve this question
I have one problem, I am working with angularJS, but i am using sliders by other in a library. The sliders start with $(document).ready(...
The page is within a routeprovider and is divided into two other parts that turn on and off with ng-show. If the first one is the slider starts, no problem.
However, if you first load the other and pressing the button of an active slider that did not load well (I guess $(document).ready no longer works).
Any solutions?
This is very tough to answer without some examples, but my guess is that since you're using full-blown jQuery in addition to angular, its scope is getting clobbered when done out of order. Your best bet is to use an angular-based slider, or create one using angular. Crossing the js-framework streams rarely ends well.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 8 years ago.
Improve this question
I have a Mindtouch powered website that seems to hate jQuery. If I load it up it comes in conflict site some CMS native JavaScript and makes my site navigation stop functioning.
I have been looking for days for a nice lightbox written in JavaScript not jQuery that will automatically lightbox all links to images that have an image as content.
<a href='someimage.jpeg,jpg,png,gif'><img src='thumb.jpeg,jpg,png,gif'/></a>
If anyone can point out at least one plese.
Google was not good help for me as all results are jQuery based except some ancient ones that just look terrible.
Shutter Reloaded
Not very animated but very nice lightbox.
I made some changes to the bottom buttons but I love the real full-screen feature.
More importantly it's small compact and no jQuery required.
http://www.laptoptips.ca/javascripts/shutter-reloaded/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I want to make a website which provides news stories in the form of cell bubbles. As news stories become more popular, the bubbles rise from the bottom towards the top of the webpage. Please see this link for a rough prototype: https://www.fluidui.com/editor/live/preview/p_yPy7q7EccTK7TE1Xhb9MRlVtp54v24E5.1374716630665
I was wondering what front-end language(s)/framework(s) I should use to accomplish this. The bubble text and position will be updated in real-time from a server. I want these bubbles to have fluid animations when they shrink, expand, and even "bump" into each other.
Thanks for your help!
You should use, of course, HTML, CSS and JavaScript.
Optionally, you can use a JavaScript library (like jQuery) to make things easier.
And then you need a server language. There are lots of them, such as PHP or node.js
Probably, you will also need a database, like SQLite or MySQL.
To sum up, you have lots of possibilities because you can do the same thing with different languages. Then, you should choose the language that appeals most to you, or that you know more.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I know some things in HTML5 and jQuery, but I don't know where to start so I can create a landing page like this one: http://www.getblogo.com/
Can you give me tips or suggest articles so I can do the same?
PS: I don't want anyone to do a search at Google for me. I just don't know what to search (how this feature is called, to be more specifically).
I think the search term you are looking for is "parallax scrolling" , or "parallax scrolling with animation".
You can find some tutorials here: http://inspiretrends.com/parallax-scrolling-tutorials/
In order to build a website you need to know some basic things:
CSS
HTML
Javascript
Some server side language like PHP
a Content management system like wordpress (not a must but most sites use it)
these are the basics you must have.
The site was made with Adobe Muse without writing code
A Quick Demo of Parallax Scrolling in Adobe Muse CC