Howto make the jQuery fullscreen bg img script work for image.php - Wordpress Solution
[Solved] - Howto make the jQuery fullscreen bg img script work for image.php - Wordpress Solution |
---|
Try following codes |
Can you help me make the [[LINK href="http://papermashup.com/jquery-scalable-fullscreen-background-image/"]]jQuery scalable fullscreen background image script[[/LINK]] work for an image.php call?
Below is my current image.php
Solution - 1I'm not sure what your problem is, since you haven't provided that much information for us. But, you need to add this to your header.php file, just before the tag: If you're not including jQuery in your theme, you should also add this to your functions.php file, on the line after the first And to solve the dynamic image line, I think that something like this might work: Solution - 2Hi, It's not displaying anything with that function in place, but does work with a static image. Could my global call be off?Do this to get the global variable, if that helps. Thanks. Solution - 3can i ask, is the objective.... when a post or page is selected it displays a different image as the background? if so, i recently did this for a site. doesn't use the image.php at all. the user, when in a post or page, selects/uploads via the wordpress 'featured image' function. its using this jquery plugin http://nanotux.com/blog/fullscreen/ a added background div and some php to grab the featured image if this is indeed what you want to achieve, let me know |
Date: 2022-10-21 05:16:49 |
Category: Wordpress |