Page 1 of 1
bug in forums
Posted:
April 6th, 2013, 7:25 am
by wohermiston
just found an interesting bug.
was reading through the diaper forum and clicked the top of page link and it blew me out to the welcome page!
Re: bug in forums
Posted:
April 6th, 2013, 11:00 am
by EMG
wohermiston wrote:just found an interesting bug.
was reading through the diaper forum and clicked the top of page link and it blew me out to the welcome page!
Can you give me a little more information as to which forum, which link, etc so I can see if I can reproduce/fix it.
Posted:
April 6th, 2013, 12:42 pm
by demigraff
The "Back to top" link next to every forum post, under the avatar and so on. You've got href="#top" ... which should work, but for some reason my browser is behaving as if it said href="/#top". Does chrome not understand links like that, or is there a script somewhere making it behave oddly?
Posted:
April 8th, 2013, 6:14 am
by dark_wolf49
I clicked on the "Back to top " button and it threw me back to the "Enter " (front page)Page,but I was still sign in.
Posted:
April 8th, 2013, 12:31 pm
by EMG
Ahh, I see, I suspect that can be repaired as it's a relatively simple bug.
Posted:
May 11th, 2013, 8:30 am
by wohermiston
the current code for that link is: http://www.warpmymind.com/#top
it should be: #top
it is the http://www.warpmymind.com/ that is pointing the browser back to the home page. simple change i would think
Posted:
May 11th, 2013, 11:56 am
by demigraff
wohermiston wrote:the current code for that link is: http://www.warpmymind.com/#top
it should be: #top
it is the http://www.warpmymind.com/ that is pointing the browser back to the home page. simple change i would think
So where do you remove the page name from?
The page source clearly says '<a href="#top">', as it should. But somewhere in between (javascript? Browser second-guessing?) the link is coming to point to an absolute URL.
Ah; it's the base URL in the head. Does that actually serve any purpose?
Posted:
May 12th, 2013, 1:23 pm
by wohermiston
Hi,
I had not actually looked at the source code. Not sure if the Base tag is actually neccessary. but, here is one such solution for the top of page code: <a href="javascript:;" onclick="document.location.hash='#top';">Top of Page</a>