Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 5 years ago.
Improve this question
I'm looking for a way to generate a kind of a "progressive" page loading effect that you can see when reloading for example Linkedin :
It loads instantly, and is replaced by real content when it loads.
I've seen it already on a lot of web sites, so I'm guessing there's a name for it and a right approach / js framework that does that :)
The problem in here it's the transition between your "Not loaded content" and your "real content".
For your "Not loaded content" you can simply put some empty divs, thumnails, or even just images. Even more easy but risk, an entire image of your website "not loaded at all".
But then you have to find the way to disapear that stuff and fade in your "real content".
You can practice, with the jquery animate functions "fadein" and "fadeout" or use some libraries like Animate.cc, but the difficult thing is put the 2 contents in the same place (index-z css property).
Instead of all this search for a library that do this.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 6 years ago.
Improve this question
I'm trying to create a loading bar, that I'll use when I'll open links or images. I mean, while the page/image isn't loaded yet, a would like to show a loading bar like the one I shown you.
I know how to create the bar in fact, but I don't know how to get the status of the load of the page/image. I imagine that I need to use JavaScript or jQuery, but if you know any way to do this in PHP it would help me.
Thanks!
Loading bar like the above will only work if you are running a php script using ajax. You should understand that php is a server side language, so only when the the server runs the script and shows the output to browser it has already done 100%.
However you can use various libraries https://github.com/verlok/lazyload, http://github.hubspot.com/pace/docs/welcome/
Play with the above two libraries. Ideally pace would be used to show page and lazy load for images
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I'm trying to create a site like this on WordPress where you have multiple slides (the navigation on top call the different slides) that fade in/out based on which link is clicked by the user. I'm looking for some input as to how I should go about it in an efficient way. Would I be calling these separate slides through Ajax? Should I just preload all of the images together and include them all in one html file? Advice would be appreciated.
Some questions you need to ask yourself that may impact the best way to do things.
How fast are slides going to be navigated? How "big" are the slides data-wise. How many slides are there?
If there are many, large slides it would probably be in your best interest to lazy load some of the later content.
If there are few, small slides the opposite might be true.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
I had a meeting with our president this morning who was wanting to have our team page function similar to the following app for her Ipad:
http://itunes.apple.com/us/app/appstream-for-ipad/id375288393?mt=8
There is a lot of movement and I am not sure where to really begin. In our case the thumbnails would be pictures of our people and when you clicked the photo a pop up box with description and contact information would be available for the user. I am wondering if anyone has seen a JQuery plugin I could use to simulate this affect or something else I could build on.
Any help would be greatly appreciated.
For anyone that is interested, here is what I wound up doing.
I used a JQuery plugin called "quicksand" for the animation part of it, then set up some an AJAX request on a timer to call a php page with a list of all employees in random order. Give a similar effect to what we were looking for, thanks for all the help.
One way i could think is to just have the thubnail images and then load the appropriate profiles in a fancy box
http://fancybox.net/
Or do it all manually, by having a hidden, absolute positioned Overlay and then present it on click
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 3 years ago.
Improve this question
I am after jscript SlideShow, not based on JQuery etc. as I am pretty sure you can't reference external
javascript library in Ebay listings?
Ideally not just switching images, but one for layers. That will slide a bunch of divs or html data, where I can put images and text etc. Also having it work in IE6 and failing gracefully for anyone with js off would be a plus.
This one here is what I am after, does not use any library
but unfortunately still does not work in Ebay.Tiny SlideShow
Thanks..
If javascript is allowed on the page, you could include the slide-show images on the page, something like this:
<img src="slide1" onclick="showslide(2)">
<img src="slide2" onclick="showslide(3)">
<img src="slide3" onclick="showslide(1)">
Then include a simple script to change the picture, for example:
<script>
function showslide(number) {
document.getElementById("slide1").style.display="none"
document.getElementById("slide2").style.display="none"
document.getElementById("slide3").style.display="none"
document.getElementById("slide"+number).style.display="block"
}
</script>
JavaScript is not allowed in eBay item description. But you can use an official eBay application such as Flash Gallery. It will create a Flash gallery and insert it into your listing. You can also use other Flash galleries that do not require JavaScript.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 4 years ago.
Improve this question
The url is like below.
http://www.tumblr.com/
On the main page, you can see 3 images keep rotating, which I first thought was a swf, actually is not. They are the images each in <li> tag.
Is there any script out there that can do this? If then, what is it?
Not sure about the Tumblr but you can use jQuery Cycle plugin to create a lot of effects if you want.
In the source they import the file prototype_and_effects.js so they are most likely using the Prototype Framework (a popular alternative to jQuery) and script.aculo.us for the rotating banner effect, which is also included in that file.
Check out their effects demo page for examples and documentation.