# Adding client login box (Javascript) to website

**URL:** <https://community.hubspot.com/t/adding-client-login-box-javascript-to-website/11118>\
**Category:** CMS Development\
**Created:** [December 4, 2018, 5:30pm UTC](https://community.hubspot.com/t/adding-client-login-box-javascript-to-website/11118 "2018-12-04T17:30:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sophia-miao](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sophia-miao/32/84489_2.png) [@sophia-miao](https://community.hubspot.com/u/sophia-miao)\
**Post date:** [December 4, 2018, 5:30pm UTC](https://community.hubspot.com/t/adding-client-login-box-javascript-to-website/11118/1 "2018-12-04T17:30:25Z")

</div>

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](http://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/Index.aspx&Error=&noTitle=true&PmServer=//blog.projectmates.com](https://blog.projectmates.com/projectmates/remotelogin/login2V.aspx?PageURL=//blog.projectmates.com/Index.aspx&Error=&noTitle=true&PmServer=//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!

---

<div class="post-metadata">

**Author:** ![Jon\_McLaren](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jon_mclaren/32/8271_2.png) [@Jon\_McLaren](https://community.hubspot.com/u/Jon_McLaren)\
**Post date:** [December 5, 2018, 10:22pm UTC](https://community.hubspot.com/t/adding-client-login-box-javascript-to-website/11118/2 "2018-12-05T22:22:00Z")

</div>

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/Index.aspx&Error=&noTitle=true&PmServer=//blog.projectmates.com](https://blog.projectmates.com/projectmates/remotelogin/login2V.aspx?PageURL=//blog.projectmates.com/Index.aspx&Error=&noTitle=true&PmServer=//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.
