JKG Posted July 11, 2011 Share Posted July 11, 2011 hi guys, im struggling with a site im building. the concept the client wants is for his site to appear within an ipad. here is the link: http://jkgo.co.uk/temp-blu problem with this is i overlay the ipad and another div to act as a mask so scrolling anywhere scrolls the content. is there any way this can work, and i can make my links within the text clickable?? thanks for looking and your help, joe. Quote Link to comment https://forums.phpfreaks.com/topic/241694-z-index-masking-content-area/ Share on other sites More sharing options...
cssfreakie Posted July 11, 2011 Share Posted July 11, 2011 i think the easiest way to so this is to cut the ipad in 4 piece or use a sprite, and form a top left right and bottom div around the text with the image in it. That way you can still select the content. Quote Link to comment https://forums.phpfreaks.com/topic/241694-z-index-masking-content-area/#findComment-1241460 Share on other sites More sharing options...
JKG Posted July 13, 2011 Author Share Posted July 13, 2011 yes! thanks for that. dont know why but it just hadnt occured to me. sprites and bit of z-indexing did the trick. thanks cssfreakie once again! (case your interested: http://jkgo.co.uk/v) Quote Link to comment https://forums.phpfreaks.com/topic/241694-z-index-masking-content-area/#findComment-1242201 Share on other sites More sharing options...
cssfreakie Posted July 13, 2011 Share Posted July 13, 2011 good to see you used the original image (as sprite). Most people would have broken it up in to more than one. Quote Link to comment https://forums.phpfreaks.com/topic/241694-z-index-masking-content-area/#findComment-1242217 Share on other sites More sharing options...
JKG Posted July 13, 2011 Author Share Posted July 13, 2011 less http requests are important, bit more work, but cleaner code too. (as you know!) Quote Link to comment https://forums.phpfreaks.com/topic/241694-z-index-masking-content-area/#findComment-1242221 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.