Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

do you have any idea how to achieve such effect with wordpress? http://www.papajastudio.pl/ http://soulwire.co.uk/

I mean the navigation. i want to have simple cms to edit website content + such sliding effect. An ideas?

share|improve this question

closed as off topic by Michael, Wyck, Chris_O, toscho Aug 12 '12 at 3:26

Questions on WordPress Development Stack Exchange are expected to relate to WordPress within the scope defined by the community. Consider editing the question or leaving comments for improvement if you believe the question can be reworded to fit within the scope. Read more about reopening questions here.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

2 Answers 2

This is what came to mind though there could be some easy implementations as well:

jQuery(document).ready(function(){

jQuery(document).scroll(function(){
    if(jQuery(document).scrollTop()>0){
        jQuery('#first-header').hide();
        jQuery('#second-header').show();
    }
    else{
        jQuery('#second-header').hide();
        jQuery('#first-header').show();
    }
})

})

share|improve this answer
    
You can also add animate effect of jquery in conjunction with the hide and show or may be slow down the show and hide statements with timeouts so as to get the desired effects –  Gagan Aug 11 '12 at 12:01
add comment

Note - Sliding effects has nothing to do with Wordpress. (or any CMS)

Wordpress is a server side structure, uses php and MySQL database to generate content for site ( Like other CSM does ), Uses the themes to show them. You have to use JavaScript and CSS to achieve those visual ( sliding ) effects.

Or you can head to Wordpress plugin Directory, and search for a plugin to do this for you.

Note -

Those sliders, you are referring to needs some basic html structure, that can be achieved by customizing your theme.

share|improve this answer
    
Its better to answer this in a comment, because it will very likely be closed. –  Wyck Aug 11 '12 at 22:54
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.