I'm quite new to this all so sorry for my lack of terminology.
I was looking at this site and I was wondering how I do the content/page change without reloading the page.
Could someone point me in the right direction? What is that JavaScript? CSS transitions? jQuery? Or could you show me some code? Any help would be amazing; I've been looking around for a while can't find anything like it...
That's a simple slider, just instead of slide images, it slide content (nested divs, img, lists). I checked the code for you and is using this jQuery plugin: SudoSlider plugin
Do not reinvent the wheel by writing your own plugin, you can see few demos here, but this one is very close to the example using auto height. This is how you can use it on your site:
<script type="text/javascript" >
$(document).ready(function(){
var sudoSlider = $("#slider").sudoSlider();
});
</script>
<div id="slider" >
<ul>
<li><div> .... </div></li>
<li>Lorem ipsum text + image</li>
<li>List, maps, ...</li>
</ul>
</div>
It's JQuery animation. It's a (very slick, but still) typical carousel effect, where you have a slider div that extends beyond the visible screen, and its left margin is animated to create the effect.
It's straightforward to create the basic effect (but of course a lot of work to create something that looks as good as the link):
overflow-x: hidden
to a container divHere's a really basic example.
Is it good practice to start all JS files with a semi colon to account for any bad scripts included before it? Or don't bother? Thanks ;(function(){ /* my script here */ })();
Is it good practice to start all JS files with a semi colon to account for any bad scripts included before it? Or don't bother? Thanks ;(function(){ /* my script here */ })();
Coming from the backbone side of web development we are trying to find a solution for a request to add visual and sound effects to our task management web application. For starters - we are looking ...
Coming from the backbone side of web development we are trying to find a solution for a request to add visual and sound effects to our task management web application. For starters - we are looking ...
I'm opening up a popup window using javascript. The popup windows contains code that when closed will modify some values on the opener window. something like this... window.opener.jQuery('#...
I'm opening up a popup window using javascript. The popup windows contains code that when closed will modify some values on the opener window. something like this... window.opener.jQuery('#...
I'm using HTML5 and canvas to design a game for which I need a keyboard input element. I do NOT want to use the device's keyboard, but instead, would like to make a custom keyboard that will be "fixed"...
I'm using HTML5 and canvas to design a game for which I need a keyboard input element. I do NOT want to use the device's keyboard, but instead, would like to make a custom keyboard that will be "fixed"...