Adding client login box (Javascript) to website

SOLVE
New Contributor

Hello all,

 

I am trying to add some javascript into the global header of our blog template to match on our company's website, www.projectmates.com. On our website, we use the same javascript to allow users to login into the software when you hover over Client Login in the header. Here is the javascript just in case:

<script type="text/javascript" src="https://blog.projectmates.com/projectmates/remotelogin/login2V.aspx?PageURL=//blog.projectmates.com/..."></script>

There is a "Header Contact Number Area" under custom modules for our website under design tools. I tried to place this script in the JS area, but I don't know how to get the script to show up upon hovering over "Client Login". Any suggestions would be greatly appreciated!

Reply
0 Upvotes
1 Accepted solution

Accepted Solutions
Top Contributor | Platinum Partner

There isn't a file at the SRC for your script. Therefore it doesn't do anything.
https://blog.projectmates.com/projectmates/remotelogin/login2V.aspx?PageURL=//blog.projectmates.com/...

Script tags with a src load a file and execute it. Yours wont work because there's no javascript at that URL.

1 Reply
Top Contributor | Platinum Partner

There isn't a file at the SRC for your script. Therefore it doesn't do anything.
https://blog.projectmates.com/projectmates/remotelogin/login2V.aspx?PageURL=//blog.projectmates.com/...

Script tags with a src load a file and execute it. Yours wont work because there's no javascript at that URL.