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

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
mccor
Forum Members
Forum Members
Posts: 12
Joined: Fri Jun 11, 2010 2:35 pm

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

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

:)
Last edited by mccor on Fri Jun 11, 2010 5:42 pm, edited 1 time in total.
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

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

Post by calguy1000 »

1.6.6 is unsupported, please upgrade to 1.7.1
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
mccor
Forum Members
Forum Members
Posts: 12
Joined: Fri Jun 11, 2010 2:35 pm

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

Post 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.
User avatar
kermit
Power Poster
Power Poster
Posts: 693
Joined: Thu Jan 26, 2006 11:46 am

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

Post by kermit »

eternity (n); 1. infinite time, 2. a seemingly long or endless time, 3. the length of time it takes a frozen pizza to cook when you're starving.
4,930,000,000 (n); 1. a very large number, 2. the approximate world population in 1986 when Microsoft Corp issued its IPO. 3. Microsoft's net profit (USD) for the quarter (3 months) ending 31 March 2007.
CMSMS migration and setup services | Hosting with CMSMS installed and ready to go | PM me for Info
mccor
Forum Members
Forum Members
Posts: 12
Joined: Fri Jun 11, 2010 2:35 pm

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

Post by mccor »

Kermit, you are the man. 8)

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

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