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

Link to comment
Share on other sites

<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
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.