freeheader Posted September 5, 2008 Share Posted September 5, 2008 first it's about 4 pictures in one.. a things that when you refresh the pages, it choose one of the 4 automaticly randoms... then its not everytime the same... but.. it need to have the 4 pics in very little just below the big one... i want that if you click on 'little_pic1' it change the big image to pic1... and same for all the others.. anyone can me help?? i have search everywhere and i don't know how this technique is suposed to be called.. then that is impossible to find something... or simply the name how it is called..? Link to comment https://forums.phpfreaks.com/topic/122913-just-need-a-basic-code-about-pictures/ Share on other sites More sharing options...
Ken2k7 Posted September 5, 2008 Share Posted September 5, 2008 The selecting part is PHP, but if you have the code for that, then I suggest you ask this question in the JavaScript forum because the other part requires JavaScript. Link to comment https://forums.phpfreaks.com/topic/122913-just-need-a-basic-code-about-pictures/#findComment-634805 Share on other sites More sharing options...
freeheader Posted September 5, 2008 Author Share Posted September 5, 2008 well i heard that is possible in simple html or php ---> visual exemple ____________ |.................| |.................| |___________| ___ ___ ___ ___ |___| |___| |___| |___| Link to comment https://forums.phpfreaks.com/topic/122913-just-need-a-basic-code-about-pictures/#findComment-634817 Share on other sites More sharing options...
Ken2k7 Posted September 5, 2008 Share Posted September 5, 2008 But doesn't the clicking and expanding part of the image require JavaScript? I'd love to see how you can do those with just PHP and HTML. Link to comment https://forums.phpfreaks.com/topic/122913-just-need-a-basic-code-about-pictures/#findComment-634820 Share on other sites More sharing options...
freeheader Posted September 5, 2008 Author Share Posted September 5, 2008 well i dont think it "expand" the images.. it just replace the pictures, something like Big_Object object1 object2 object3 object4 then when you click by exemple on object2 it change big-object for "object2.jpg" but bigger exactly like in ebay, random link from there: http://cgi.ebay.com/Sony-PSP-Slim-Lite-Handheld-game-system-piano_W0QQitemZ330265638453QQihZ014QQcategoryZ139971QQssPageNameZWDVWQQrdZ1QQcmdZViewItem just watch in the middle of the pagescroll well... if i find i'll post the code heres Link to comment https://forums.phpfreaks.com/topic/122913-just-need-a-basic-code-about-pictures/#findComment-634826 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.