CMS Development

sophia-miao
メンバー

Adding client login box (Javascript) to website

解決

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 いいね!
1件の承認済みベストアンサー
Jon_McLaren
解決策
トップ投稿者 | Platinum Partner
トップ投稿者 | Platinum Partner

Adding client login box (Javascript) to website

解決

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.

元の投稿で解決策を見る

1件の返信
Jon_McLaren
解決策
トップ投稿者 | Platinum Partner
トップ投稿者 | Platinum Partner

Adding client login box (Javascript) to website

解決

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.