almightyegg Posted February 17, 2008 Share Posted February 17, 2008 I got a script from DynamicDrive.com and it works fine. I'm just wondering if it be possible to adapt it slightly. (Not asking you to write anything for me just need a few pointers) It's this script: http://www.dynamicdrive.com/style/csslibrary/item/css-popup-image-viewer/ Basically I want the image to pop up in the exact same place on the page no matter what picture you hover upon. I think it should be something to do with position-absolute?? Thanks in advance Quote Link to comment https://forums.phpfreaks.com/topic/91520-adapting-a-script/ Share on other sites More sharing options...
AndyB Posted February 17, 2008 Share Posted February 17, 2008 You do know that that script loads all the LARGE images so your page download time might be brutally long. Quote Link to comment https://forums.phpfreaks.com/topic/91520-adapting-a-script/#findComment-468805 Share on other sites More sharing options...
almightyegg Posted February 17, 2008 Author Share Posted February 17, 2008 Yes, I am going to paginate it so only 10-20 thumbs and large images are loaded. Unless you can suggest another way to do it that does it dynamically so you don't have to click every image and wait for each page to load??? Quote Link to comment https://forums.phpfreaks.com/topic/91520-adapting-a-script/#findComment-468842 Share on other sites More sharing options...
bronzemonkey Posted February 17, 2008 Share Posted February 17, 2008 Use a div with an id or class to contain all the thumbnails, remove the {position:relative;} from .thumbnail and add it to the id/class of the container div. Then fiddle around with the values for the top/left properties of the span elements to get the large images appearing in the position you want. Quote Link to comment https://forums.phpfreaks.com/topic/91520-adapting-a-script/#findComment-468879 Share on other sites More sharing options...
almightyegg Posted February 17, 2008 Author Share Posted February 17, 2008 Thanks Bronzemonkey, is there anyway I could make it show up in a specific <td> section?? Quote Link to comment https://forums.phpfreaks.com/topic/91520-adapting-a-script/#findComment-468882 Share on other sites More sharing options...
AndyB Posted February 17, 2008 Share Posted February 17, 2008 Yes, I am going to paginate it so only 10-20 thumbs and large images are loaded. So why load the thumbs? Just resize the large images to show a small version. I hope your viewers aren't on dial-up Quote Link to comment https://forums.phpfreaks.com/topic/91520-adapting-a-script/#findComment-468899 Share on other sites More sharing options...
almightyegg Posted February 17, 2008 Author Share Posted February 17, 2008 They become all pixelated though... I'm going to scrap this idea anyway because there's a few issues with it which won't work with my ideas :-( Thanks for the help guys Quote Link to comment https://forums.phpfreaks.com/topic/91520-adapting-a-script/#findComment-468956 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.