RSS Feed/News Page Node with HTML / Java Script - Absolute vs Relative Links

Status
Not open for further replies.

ENXF NET

Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
Joined
Nov 13, 2018
Messages
28,419
Points
823

Reputation:

I have a page node with HTML and JS. There are many links but I can only get absolute links to work. I would much rather use relative. Here is a code snippet. Will relative links work? Thanks.

JavaScript:

Code:
document.getElementById("lblYear7174").innerHTML= "<a href=\"https://jeep-cj.com/community/wiki/civilian/#-cj5-1972-1975\" target=\"_blank\">" + value + "</a>";
document.getElementById("imgYear7174").innerHTML= "<a href=\"https://jeep-cj.com/community/wiki/civilian/#-cj5-1972-1975\"...

Read more

Continue reading...
 
Status
Not open for further replies.
Top