Tagged: x
-
AuthorPosts
-
January 12, 2017 at 5:00 pm #1327872
Hi there,
I was wondering how to get the text on the browser tab (Name of website and description) to scroll through all the text?
Thanks
January 12, 2017 at 10:38 pm #1328272Hi there,
Thanks for writing in! It’s not usually possible but you can achieve with some script. Like here is a site that generate such script – http://www.htmlbasix.com/titlebarmessage.shtml
Cheers!
January 13, 2017 at 4:21 pm #1329244Thanks for that, and where would I paste the script code? As I tried in the Global Script and CSS in the customiser with no change?
January 13, 2017 at 11:52 pm #1329587Hello There,
Thanks for updating in! You can insert the JS code in the customizer, Appearance > Customize > Custom > Javascript
<!-- var Message = "- This is a sample title! -"; var Leftspace = " "; var Rightspace = " "; var message1 = Leftspace + Message + Rightspace; var dir = "left"; var speed = "50"; function bounce(){ if (dir == "left"){ var message2 = message1.substring(2,message1.length) + " "; document.title = message2; setTimeout("bounce()", speed); message1 = message2; if (message1.substring(0,1) == "-") dir="right"; } else{ message2 = " " + message1.substring(0,message1.length-2); document.title = message2; setTimeout("bounce()", speed); message1 = message2; if (message1.substring(message1.length-1,message1.length) == "-") dir="left"; } } bounce(); // -->
Please notice that in the code, I have removed the
<Script LANGUAGE="JavaScript">
and</Script>
because this is no longer necessary.Hope this helps.
January 15, 2017 at 4:52 pm #1331154Hi thanks for the input,, I type the message into the message field and it works, but it is very fast and needs to be slowed down, I have changed the “var speed” field but doesnt seem to make much difference, all when i has stopped it just comes up with the address of the page. Also can you explain what the leftspace and right space are as Im unsure thanks
John
January 15, 2017 at 4:53 pm #1331158Sorry to add into that last comment, I am after the text to continue to stroll over and over.
January 15, 2017 at 11:39 pm #1331500Hello Again,
Thanks for updating in! From the looks of it, you might be having an issue with a third party script. Regretfully, we cannot provide support for third party scripts as our support policy in the sidebar states due to the fact that there is simply no way to account for all of the potential variables at play when using another developer’s script. Because of this, any questions you have regarding setup, integration, or troubleshooting any piece of functionality that is not native to X will need to be directed to the original developer.
Thank you for your understanding.
January 16, 2017 at 1:32 am #1331594All good thanks anyways
January 16, 2017 at 1:49 am #1331613You’re welcome!
Cheers!
-
AuthorPosts