Adding client login box (Javascript) to website

SOLVE
sophia-miao
Member

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!

0 Upvotes
1 Accepted solution

Accepted Solutions
Jon_McLaren
Solution
Top Contributor

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.

Messages posted by this account have been preserved for their historical usefulness. Jon has a new profile now.

View solution in original post

1 Reply 1
Jon_McLaren
Solution
Top Contributor

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.

Messages posted by this account have been preserved for their historical usefulness. Jon has a new profile now.

View solution in original post