a href="#" loads index page - how turn it off?

For discussion and questions related to CMS Specific templates and stylesheets (CSS), and themes. or layout issues. This is not a place for generic "I don't know CSS issues"
Post Reply
lone
Forum Members
Forum Members
Posts: 71
Joined: Mon Feb 27, 2006 1:36 pm

a href="#" loads index page - how turn it off?

Post by lone »

I´m using the new version 1.0.6.

Hi - I am working on a javascript image gallery, with the javascript code placed directly into the content area, and would like to use the '#' in
c
as an easy way to get the pointer turned into a hand....

The javascript function is hide/show layers on click, and what I would like to happen is:
I want the curser turned into a hand, and to load a certain layer on click.
For some reason this loads the index page of the site and I´m whisked away to the index page... :)

Is there some way to turn this off?

regards, Lone
rtkd
Forum Members
Forum Members
Posts: 126
Joined: Tue Dec 12, 2006 3:57 pm

Re: a href="#" loads index page - how turn it off?

Post by rtkd »

Link


var doSomeThing = function () { alert('Hello World'); }
KO
Power Poster
Power Poster
Posts: 562
Joined: Mon Nov 06, 2006 7:55 pm

Re: a href="#" loads index page - how turn it off?

Post by KO »

You can do the hand with css by {cursor:pointer;} for the element style.
lone
Forum Members
Forum Members
Posts: 71
Joined: Mon Feb 27, 2006 1:36 pm

Re: a href="#" loads index page - how turn it off?

Post by lone »

Hi - thank you for your replies. I got the result I wanted with: <a style="cursor:pointer" ...................etc.
regards, Lone
Post Reply

Return to “Layout and Design (CSS & HTML)”