trudie Posted March 26, 2007 Share Posted March 26, 2007 Hi, I want to make a site with html, php and css. I want to make three different parts in the site, a meny, a text block and a scroll block (all the different parts in their own div tags), In the scrollpart I want to have links (like thumbnails). I want these thumbnails to behave like this; when clicked, a larger picture (or other link) has to open in the text block. This without opening a new site, all has to happen in the same html. Can somebody help me here? - ps. I am a newb, please use 'easy explanations. Link to comment https://forums.phpfreaks.com/topic/44374-link-to-place-in-the-same-site/ Share on other sites More sharing options...
anthonydamasco Posted March 26, 2007 Share Posted March 26, 2007 As much as I hate frames, maybe frames would be the best bet, or javascript Link to comment https://forums.phpfreaks.com/topic/44374-link-to-place-in-the-same-site/#findComment-215498 Share on other sites More sharing options...
blui Posted March 26, 2007 Share Posted March 26, 2007 I am pretty new to php, but have more experience with html & Dreamweaver. This is just an idea but can't you use the onmousedown behaviour, if someone clicks on a link the onmousedown beaviour automatically inserts some text in to your text box - should also be completely do-able with standard HTML and maybe some basic Javascript. Suggest you look at the likes of www.dynamicdrive.com for ideas or pointers. I certainly dont think you need php for this, hope it helps Link to comment https://forums.phpfreaks.com/topic/44374-link-to-place-in-the-same-site/#findComment-215554 Share on other sites More sharing options...
per1os Posted March 26, 2007 Share Posted March 26, 2007 Javascript is what you are after, take a look at the dynamicdrive.com or javascript.internet.com or webmonkey.com Link to comment https://forums.phpfreaks.com/topic/44374-link-to-place-in-the-same-site/#findComment-215556 Share on other sites More sharing options...
desithugg Posted March 26, 2007 Share Posted March 26, 2007 <div width='150' height='500' overflow='scroll'> link 1 link 2 link 3 </div> the above will always show a scroll bar the one below will only show a scroll bar when necessary <div width='150' height='500' overflow='auto'> link 1 link 2 link 3 </div> Link to comment https://forums.phpfreaks.com/topic/44374-link-to-place-in-the-same-site/#findComment-215562 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.