FutureQuest, Inc. FutureQuest, Inc. FutureQuest, Inc.

FutureQuest, Inc.
Go Back   FutureQuest Community > General Site Owner Support (All may read/respond) > General Coding/Development
User Name
Password  Lost PW

Reply
 
Thread Tools Search this Thread Display Modes
Old 07-27-2019, 04:15 PM   Postid: 187330
retroman
Site Owner
 
retroman's Avatar

Forum Notability:
218 pts: Ambassador of Goodwill
[Post Feedback]
 
Join Date: May 2009
Location: Gordonsville, VA
Posts: 71
Simple link does not work

Hi All,
I have a pretty simple website. I wanted to add a link on my website homepage to my blog at googleblogspot.

I used an image for the link. I use Kompozer to code with.

The link did not work on my Firefox browser, or my Safari browser. It did work on my wife's Firefox browser, (clicking on the picture went to my blog) but not her Safari browser. (Different computer).

I do not have the URL is relative to page location box checked. The link works in the home page html file when I open it from my desktop. I can click it and it goes to my blog.

Could https have something to do with the link not working ?

Looking for help.
Code:
<a href="https://13thmass.blogspot.com/"><img style="border: 2px solid ; width: 116px; height: 206px;" alt="Link To Blog" src="blog_button.jpg"></a>

Website home page is 13thmass.org
Thanks
retroman is offline   Reply With Quote
Old 07-27-2019, 04:35 PM   Postid: 187331
 Kevin
Systems Administrator
 
Kevin's Avatar
 
Join Date: Aug 2001
Location: Orlando, FL
Posts: 2,986
Re: Simple link does not work

The code looks right to me and works in my FireFox. What happens when it doesn't work?
__________________
Kevin
Kevin is offline   Reply With Quote
Old 07-27-2019, 07:29 PM   Postid: 187332
 Kevin
Systems Administrator
 
Kevin's Avatar
 
Join Date: Aug 2001
Location: Orlando, FL
Posts: 2,986
Re: Simple link does not work

We did some more digging...

The problem is in the javascript file common/script_2014.js

I wasn't able to reproduce it at first because I normally have js turned off. The first function in that file is for removing links so that is probably where the problem is.
__________________
Kevin
Kevin is offline   Reply With Quote
Old 07-28-2019, 10:24 AM   Postid: 187333
retroman
Site Owner
 
retroman's Avatar

Forum Notability:
218 pts: Ambassador of Goodwill
[Post Feedback]
 
Join Date: May 2009
Location: Gordonsville, VA
Posts: 71
Re: Simple link does not work

Thank you Kevin. I have Script blocker working too. I didn't realized there was java script in that file.

Is there something I can do to remedy this? I'm not too technical.
retroman is offline   Reply With Quote
Old 07-28-2019, 10:31 AM   Postid: 187334
retroman
Site Owner
 
retroman's Avatar

Forum Notability:
218 pts: Ambassador of Goodwill
[Post Feedback]
 
Join Date: May 2009
Location: Gordonsville, VA
Posts: 71
Re: Simple link does not work

To add more information : I think a web designer friend added that java script to my site when he was helping me with code. I just looked at it and saw the first line to remove links.

I'm not sure the purpose of this script. If I remove that line will the rest still work, or could the script be removed entirely? Does it have something to do with making the site appear uniform in all browsers?

I could always write back to my friend to ask him about this if a solution isn't apparent here. (I am not in regular contact with him).
retroman is offline   Reply With Quote
Old 07-28-2019, 10:34 AM   Postid: 187335
retroman
Site Owner
 
retroman's Avatar

Forum Notability:
218 pts: Ambassador of Goodwill
[Post Feedback]
 
Join Date: May 2009
Location: Gordonsville, VA
Posts: 71
Re: Simple link does not work

PS.
"This makes me Veerry Aaaangry." ––Marvin the Martian
retroman is offline   Reply With Quote
Old 07-29-2019, 12:39 PM   Postid: 187336
 Kevin
Systems Administrator
 
Kevin's Avatar
 
Join Date: Aug 2001
Location: Orlando, FL
Posts: 2,986
Re: Simple link does not work

I am not much of a javascript programmer but I don't think that script is doing anything really important. You should be able to just remove the reference to it and the page should still work fine.
__________________
Kevin
Kevin is offline   Reply With Quote
Old 07-29-2019, 12:40 PM   Postid: 187337
retroman
Site Owner
 
retroman's Avatar

Forum Notability:
218 pts: Ambassador of Goodwill
[Post Feedback]
 
Join Date: May 2009
Location: Gordonsville, VA
Posts: 71
Re: Simple link does not work

Thanks, I'll give it a try.
retroman is offline   Reply With Quote
Old 08-20-2019, 08:52 PM   Postid: 187349
retroman
Site Owner
 
retroman's Avatar

Forum Notability:
218 pts: Ambassador of Goodwill
[Post Feedback]
 
Join Date: May 2009
Location: Gordonsville, VA
Posts: 71
Re: Simple link does not work

I wanted to follow up on this although it has been a while since I posted. I contacted the web developer who wrote the java code for me. He explained its purpose was to prevent a link to the page being viewed from being active.

When i pointed out the problem I was having, he wrote a new line of code for me to insert into the java which fixed the bug. (He acknowledged it was a bug in his code).

To try to explain, the java script was reading my website home-page the same way it was reading my blog home-page, thinking they were the same page, because neither of the home-page url's referenced a specific topic. ( designated in code by homepage/"title")

The original code was written to prevent the menu bar on my website from linking to whatever url was currently open in the browser, and the java was equivocating my website homepage the same as my blog homepage.

Too technical for me, but if you check out the new line of code I added to the java script, it might make more sense to you... It was a simple fix. The explanation was harder...
retroman is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 visitors)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 12:22 AM.


Running on vBulletin®
Copyright © 2000 - 2019, Jelsoft Enterprises Ltd.
Hosted & Administrated by FutureQuest, Inc.
Images & content copyright © 1998-2019 FutureQuest, Inc.
FutureQuest, Inc.