Senior Member
Join Date: Mar 2005
Location: Londontown
|
My programming and developing skills are pretty minimal, so do bear with me...
I know you're able to have a link on a page that will take you to another section of the same page – and when you're taken to that new section, it's usually displayed flush with the top of the browser window (see this page from BBC News for example, scroll to the section labelled 'The Men's Suits' and click on the 'style notes' caption). Nothing unusual there. But this excellent portfolio seems to be able to control how far down the screen each "new section" begins at. When you're taken to a new section, it doesn't start flush at the top of the page, but a good distance down from there, and I can't figure out how it's done. If anyone's able to help or has any ideas? Helvetica is my bitch. System: 27" iMac i7, 2TB, 8GB RAM, Mac OS X Snow Leopard |
quote |
Senior Member
Join Date: May 2004
Location: Chicago
|
Unless you're talking about something else, you should just need anchors.
At the point where you want the link to scroll to, add: Code:
<a name="yourNameHere"></a> The link to that anchor looks like:Code:
<a href="#yourNameHere">Go to there!</a> Don't forget the # in the href! |
quote |
Senior Member
Join Date: Mar 2005
Location: Londontown
|
Anchors, that's the term I was looking for; thank you.
I'm aware of the method you posted, but my point is when you click to scroll to that specific point of the page, it's displayed flush to the top of the browser window. The example site I gave (http://www.letskiosk.com) doesn't show this behaviour – and looking through the source code I can't figure out how they do it. If you or anyone could spare a few minutes, then that really would be much appreciated. Helvetica is my bitch. System: 27" iMac i7, 2TB, 8GB RAM, Mac OS X Snow Leopard |
quote |
Posting Rules | Navigation |
|
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
yellow (middle) window button: can I change behaviour? | malcolm | Genius Bar | 6 | 2009-01-03 23:30 |
Weird iTunes Behaviour | onlyafterdark | Genius Bar | 15 | 2005-08-15 04:23 |