At my day job, we use a cms that generates really terrible <title></title> tags that are killing our SE rankings.
Instead of taking the title of the piece of content and putting it in the title tags, it uses the name of the page template.
I first attempted this with jquery, but i'm looking for something that will basically just take <title>template name</title> and replace it with something friendlier.
This page: [URL] seems to indicate that it's possible, but it looks like it also pops up an alert window which would be annoying as hell. Is there a way to, say, once every minute change the title bar text?
You see I have a text file of rotating slogans that appear each time you reload a page on my site and someone suggested that having them change even when the page is already open might be fun. I thought I'd look into it and see if it's possible. The site is [URL]
I don't know enough about javascript to know if this is possible. I am fairly good at implementing and installing other people's code, though, and can usually make minor changes to tweak things.
<span class="date" title="May 14, 2009">14 May 2009</span> and I'd like JQuery script to output it as this:<span class="date" title="">May 14, 2009</span> Basically, I'm checking the browser language and I want to display all dates in US date format to all users with EN-CA and EN-US browser language (and UK format to all other users). Please let me know if there is a better way of doing it, I couldn't find anything.
I need different definitions of tooltip on one page: 1/ Replace the default tooltip of all title elements
$('*[title]').tooltip({ delay: 500 });
AND
2/ Replace only Title elements within class "fast" (e.g. <a class="fast" href="..." title="fast tooltip">Fast</a> )
$('*[title].fast').tooltip({ delay: 0 });
But first definition overrides the second one all the time. I moved "general" definition 1/ on the first position of js and the "class based" 2/ on the last one but no success.
If there a way to have all title attributes become qtips? Right now I'm just going through and finding all the tags that need to be done but this is slow and not reliable.
so the story is that i using and IFRAME in my web site , and i want the main title of the document (which appears in the browser title bar) to be the title from the iframe 'page' . my English is not so good so i 'll give an example .
I am looking to use a similar method as facebook chat does, where it alternates between the original title text and 'friendsName has sent you a message!...'
I was having difficulties storing text in the title attribute when it contained special characters.My workaround was to use escape/unescape.Is this the best way to resolve this?Why is it okay to include special characters in the alert function (i.e. Doesn't work), but not in the title attribute?
I'm creating a pop-up (it's a timer for hotel guest broadband access) with all attributes turned off. But becasue I have location set to 0 the damn url keeps appearing in the title bar. This causes a major problem as the pop-up displays a countdown in the titlebar that the user should be able to see even when minimised and at present cannot because the url takes up all the room. Code:
How do I use Javasript to get the <TITLE> element of a web page? If anyone can supply a cross browser way (IE 5.5+, Firefox 1+), it is most appreciated.
i am bringing up a pop-up using window.open("popupurl","popupname",details);
now when i use this both in IE and FF, the title of the pop up includes my ip address as http://1.1.1.1:8080 - Popup title - Microsoft Internet Explorer.
so my question is how can i hide my host information showing up....
That dosn't work. I'm just using the title attribute as a place to hold the information I need. Maybe there is another attribute that would work better for this? How can I get the contents of the attribute?
Im using the code below to pop up a window: It works fine except for that in the titlebar, my domain name is listed before the page title like below:
http://mydomain.com - MyPopupwindowname - Microsoft Internet Explorer
Is there any way to remove this or otherwise control what is displayed in the titlebar? I just want it to display the page title - thats it. I dont really care about the MSIE but I mainly dont want the domain to display.
<SCRIPT LANGUAGE="JavaScript"> <!-- Begin function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,men ubar=0,resizable=1,width=520,height=500,left = 245,top = 262');"); } // End --> </script>
I don't know if it was some kind of "upgrade" in a recent Windows SP but, I now have a problem...When ever I have JavaScript open a new window the URL is displayed in the title bar prior to the title, this is really just an aesthetic problem but seems to be fixed if I set the new window property of location to yes, but I then get an ugly url title bar in my new window. Does anyone know how to disable that "feature" or even what I am talking about. It just annoys me.
i am changing the title of a span. what i want to also do is, as soon as i change the title of the span, i want to display that title without moving my mouse over it. i am trying to do this through javascript.
I want to be able to get title of a document that is presented within an Iframe with the id "popupFrame". There may be more than 1 instance of the iframe in the page.
var elementCount = document.all("popupFrame").length; for (var i = 0 ; i < elementCount ; i++) { alert("src = " + document.all("popupFrame",i).src); alert("title = " + document.all("popupFrame",i).document.title); }
But the wierd thing is that the title is always the title of the document that contains the Iframe. NOT the title of the document conatined within the Iframe. At least in IE7 which is all that I have tested it with so far.
I know javascript has no local or server based access to the disk however I was wondering if one can read a remote page and take its html <TITLE> value...
My guess is no but thought I'd check/ask anyway...