Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2009-03-13 18:22:42

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

Javascript localScroll in a Div ... Anchor problems

I’m trying to get anchor scrolling in an overflow:hidden div.

I’ve now got the scrolling working but I’m having problems with the anchors.

Its the link under the pretty pink graphic :-)

Gibraltar site

It scrolls and then reloads the page …

I’ve tried various different <a href … and <txp:adi_link anchor combinations with no luck

Any Ideas …?

Thanks Geoff

Last edited by geoff777 (2009-03-13 18:23:27)


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

#2 2009-03-13 20:05:12

geoff777
Plugin Author
From: Benarrabá Andalucía Spain
Registered: 2008-02-19
Posts: 282
Website

Re: Javascript localScroll in a Div ... Anchor problems

One of those things that took hours instead of minutes …

It was a reference to hash in the javascript.


There are 10 types of people in the world: those who understand binary, and those who don’t.

Offline

Board footer

Powered by FluxBB