Jump to content

Adding content to supersize template


consultantsindesign2
 Share

Recommended Posts

Hi all,

We are looking to add a box to our website that shows a link to a particular page. If you look at:

www.intarya.com

After the initial splash page you get to the homepage which is a slideshow and a menu. At the bottom we want a box with an image and link that will take you to a particular page. The html and css is wasy enough but we need someone to put it in the right place so that it is called at the write time and appears in the right place. I am comfortable with html and css but cannot work out the integration with processwire. This is a freelance opportunity so please feel free to reply with approx costs and time.

Regards

Link to comment
Share on other sites

very nice site... if you want to try it yourself, here is one idea:

in PW, create 2 fields for the homepage template, 1 for the image and 1 for the link (then upload your image and select the page for the link)

then add a div to the homepage template (maybe with id of "homepage-box") with the basic markup, and echo the fields from PW;

in the css, get the div to position where you want it, size, placement etc.., then set it to display:none in the css

then use jquery delay and optionally fade in to get it to appear when needed;

this might be a start:

<script type="text/javascript">
$(document).ready(function() { 
$('#homepage-box').delay(9000).fadeIn(1500);
});
</script>
Link to comment
Share on other sites

I went to the web site and see a "box with an image and a link" at the bottom, so am thinking you already got this figured out? On the other hand, if that box is currently static, and you are trying to figure out how to make it dynamic in PW, then let us know too.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...