Solved

wordpress parallax effect plugin

Posted on 2014-04-29
2
564 Views
Last Modified: 2014-04-30
Hi Experts,

I was wondering, do you know if it is possible to add a parallax effect to subpages? I am looking for a plugin that does that but I can´t find it. I know parallax is usually placed on landing pages, but this client wants one on one of his website subpages. I would really appreciate any advice,

Thanks,

Winter
0
Comment
Question by:glepiza
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 15

Accepted Solution

by:
eemit earned 350 total points
ID: 40031601
You can enqueue a jQuery script to any particular page inclusive a subpage.
Try this in your child theme's functions.php.
Assumes your paralax .js file is in a child theme's subfolder 'js':
add_action( 'wp_enqueue_scripts', 'yourprefix_scripts_styles', 11 );
function yourprefix_scripts_styles() {
	if ( is_page( 'yoursubpageslug' )  ) {
		wp_enqueue_script( 'yourprefix-yourscript-js', get_stylesheet_directory_uri() . '/js/yourscript.js', array( 'jquery' ), '20140430', true );
	}
}

Open in new window

0
 

Author Comment

by:glepiza
ID: 40033479
ah!, thank you very much!
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Introduction If you're like most people, you have occasionally made a typographical error when you're entering information into an online form.  And to your consternation, the browser remembers the error, and offers to autocomplete your future entr…
This video teaches users how to migrate an existing Wordpress website to a new domain.
The purpose of this video is to demonstrate how to integrate Mailchimp with WordPress, by placing a Mailchimp signup form on a WordPress Page or Post. This will be demonstrated using a Windows 8 PC. Mailchimp will be used. Log into your Mailchi…

705 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question