Page 1 of 1

[SOLVED} <a href="#"> brings me to Home Page problem..

Posted: Fri Jun 11, 2010 2:47 pm
by mccor
Hi. I'm using CMSMS 1.6.6( don't think version is related to this problem. Will upgrade if I can get this sorted).  I've tried searching the forum for an answer to my issue, but to no avail.

In my main template, I've inserted some code to allow changing text size on the current page, as required by client.

eg:

Code: Select all

<a href="#" onclick="ChangeFontSize('lyr','14')">+</a>
The above is working with some Javascript between the head tags.

It works as expected, except for the fact that when clicked, the browser brings you back to the Home Page, instead of remaining on the current one.


I'm presuming CMSMS has a different way of doing things, but I can't find it.

Any help would be much appreciated.

:)

Re: <a href="#"> brings me to Home Page problem..

Posted: Fri Jun 11, 2010 2:51 pm
by calguy1000
1.6.6 is unsupported, please upgrade to 1.7.1

Re: <a href="#"> brings me to Home Page problem..

Posted: Fri Jun 11, 2010 3:06 pm
by mccor
I'm sure this is something I am doing wrong, as opposed to the version I'm using.

I will upgrade to the latest version, but I'm confident that won't fix my problem. So I'll try to get the problem sorted first if that's ok.

Re: <a href="#"> brings me to Home Page problem..

Posted: Fri Jun 11, 2010 5:07 pm
by kermit

Re: <a href="#"> brings me to Home Page problem..

Posted: Fri Jun 11, 2010 5:41 pm
by mccor
Kermit, you are the man. 8)

That's what I was looking for. A straight answer, with no conditions attached. Thank you.