August 6, 201412 yr I'm looking to build a responsive site as a photography portfolio, that would preferably be kept to a single page. I would like to show the 2 styles of photography that I do separately, so I have an idea in which, when the page loads, there are 3 main page elements: • A profile picture that would sit in the centre of the page, which would create a bio/contact form when clicked/pressed. • An image that takes up half of the page height vertically at the top, but 100% width. • An image that takes up half of the page height vertically at the bottom, but 100% width. The images that sit at the top and bottom would act as buttons that would open galleries relating to the type of photography that the images represent, however, ideally, I'd want that process to be as seamless as possible, i.e if the user clicks the image on top, the profile picture in the middle would rise to the top of the page, and the image clicked would open out to 100% height, by sliding the middle point to the bottom, and become a full page gallery, from which users can click or swipe left or right between images. Within this view, a small close (X) button would appear, which when clicked, would return the user to the original page state. At this point, I'm just looking to see if this is possible, and if anyone has any suggestions of the best way to start, I'd really appreciate it. Thanks,
August 7, 201412 yr A graphical representation would explain things better! but anyways from your description .. it seems possible with customized jquery plugin
August 7, 201412 yr First off you'd need to have a reasonable amount of experience writing jquery for this, you'll have to do things like getting the viewport height for those 1/2 screen height images, the contact form visibility can be a single toggle method that you can bind to a click event on your main profile picture. For the gallerys the best bet is to create a modal that will be position fixed. Again like the contact form, the method to toggle the modal would be binded to a click event on one of the thumbnails. within the modal you could have a carousel of all the images for that particular type - I'd recommend you fetch the large images using Ajax otherwise you're gonna have horrendous page load time. There's a lot of stuff going on here so it's not really beginner stuff. For a start I'd try to create each part as a seperate entity so first the toggling of the contact form, that being the easiest, then the toggling of the modal overlay and gradually add functionality from there. Edited August 7, 201412 yr by rbrtsmith
Create an account or sign in to comment