Jump to content

link to place in the same site


trudie

Recommended Posts

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

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

<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>

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.