push down navigator like win8 metro - javascript

everybody who has worked with widows 8 metro panel knows that when clicking on the arrow appeared on the left bottom of the screen, it will navigate to the applications page which is totally different from the first page.
i wanna do that on my webpage. when user clicks a block it pushes him down to the element related to that block.
is there any Jquery or JavaScript code for that? FYI i searched a lot and find nothing!

If JS/CSS is in any way similar to XAML - you'd probably want to run some translation animations on two overlaid views as described here: Activate css animation/translation with javascript

Related

Link to section on page without using #

I am a novice at the moment & learning a few things along the way but I am stuck with this small issue.
Here is the page in question http://www.theremotedoctor.co.uk/accvolvo.html
I am looking to click on my item selection as shown on the page and scroll to the page of which is the loaded upon a click.
Desktop works fine so this is for IOS device where picture loaded is off the screen,hence the scroll of the item.
I have supplied a before & after code to show what happened.
BEFORE CODE WITH WORKING PICTURE LOADED
<li>Remote uncut key</li>
AFTER CODE PICTURE LOADING NOT HAPPENING BUT SCROLL IS WORKING
<li>Remote uncut keyRemote uncut key</li>
I am now not sure how to rectify this.
If the above code of which I have applied is incorrect I am willing to use a different code that will allow the link to be clicked,pictured loaded & also the scroll to the picture working.
I understand its down to the # being used so already but now confused.
Many thanks for your time.

Web Navigation loads last

This problem refers to this site:
http://kittysitting.com.au/contact-us-for-cat-sitting-brisbane-northside/
The problem I'm experiencing is that the navigation menu visually shows last. Usually taking a few seconds after the rest of the page has loaded. The site is loading fine but this makes it appear slow.
My debugging so far:
Disabling Typekit fonts - makes no difference. Fonts load super quick but the whole menu still takes ages to visibly appear even when using 'sans-serif' font.
Disabling Wordpress Dynamic Menu - I tried inserting a purely static menu and it still won't appear for a few seconds after page load. Ruling out anything wrong with Wordpress/PHP.
My guess is it is a Javascript issue or CSS.
My Question for Stack Overflow is:
What is the best way to debug this issue. I'm familiar with Chrome developer tools, but I need to see what exactly is holding it up for the few seconds before the navigation appears.
UPDATE:
Found that a Javascript for responsive navigation is the cause. (If I disable the script it works fine). Have contacted js library owner on github to ask for further assistance as to why its doing it....

BBC slider works even if javascript off, how they do that?

BBC slider works even if javascript off, how they do that? http://www.bbc.co.uk/ - you will see that it still works if you turn off javascript
Thanks
They're using progressive enhancement. The left and right arrows on the main carousel are normal links with a CSS hover class:
<a id="dz-arrow-previous" href="?dzf=default&focusedpane=center">...</a>
<a id="dz-arrow-next" href="?dzf=default&focusedpane=left">...</a>
If JavaScript isn't enabled, clicking them moves you to the next page by following the link (without a sliding effect, at least on Chrome; CSS transitions could probably be used). If JavaScript is enabled, they hook clicks on the elements and do the nifty carousel thing.
There's nothing clever going on - it just falls back to sending a request to the server if Javascript is unavailable. If you click a link with Javascript unavailable, you're effectively getting a new page from the server - watch the URL change as you do it.

How do I make content load when the user scrolls down to it? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How to load the web page content based on user scrolling
I'm making a single page website and I'm hoping to achieve the effect that you can see on http://www.talentgarden.it/it/#!/home where the content loads as you scroll down. Can anyone tell me how to do this, and how to achieve some of the different fade-in effects that are used on that site.
i use Lazyload plugin for it.See for more details.
http://www.appelsiini.net/projects/lazyload
In your example there the page doesn't actually load when the user scrolls. The content is actually hidden, and then is shown when the user scrolls.
Anyway, it is all about reading the difference in height of the content, and the browser window itself. For the scrolling mechanism of for example Twitter – Google "Twitter Infinite Scroll".
For an example like the one you show there – check out this JS Bin demo (click render and then check the top right corner, you get the idea). Also, I believe the plugin used for that specific site is "Lazyload" plugin for jQuery. Quite easy to work with I believe; http://www.appelsiini.net/projects/lazyload It delays the rendering of images, witch makes the initial load time a bit faster.
While lazy load may help. I suspect the site you linked to is actually using something closer to Scrollorama
Scrollorama is designed to alter (including show/hide) content as you scroll down to it.

jQuery not working on this page in any browser. I can't figure out why!

http://www.fireviews.com/testing/tabs_and_toggles.html
The buttons with + signs are supposed to be drop-down toggles, and the mini-tabs below them should function as tabs. And at the bottom, the sample images should load (not just the spinning loader) and when clicked they should magnify the image, not go to another page. Also the magnifying glass in the top right should pop up a search bar when moused over. But none of this is working!
I think it may have something to do with the directory the js files are in (as I had to move them from their original location) but I thought I changed all the paths properly.
Can anyone help me identify where the errors/problems are?
You need to use debugging tools that will reveal JavaScript errors to you. Just by opening your page in Firefox, I get:
Error: jQuery("a[rel^='prettyPhoto'], a[rel^='lightbox']").prettyPhoto is not a function
Source File: http://www.fireviews.com/design/js/custom.js
Line: 239
And if I look at your JavaScript files, I see that http://www.fireviews.com/design/js/prettyPhoto//design/js/jquery.prettyPhoto.js is not actually JavaScript. That's your problem.
See: What is a good Javascript debugging tool?
Your prettyphoto.js is actually a HTML file.

Categories