i am going mad with this problem now - if u goto http://talll.com and start clicking around on the menu items like news, economics etc., u will find that the page title says "undefined" - i just want to set the page title to some value thats all - HELPPPPPP!!!
+4
A:
Line 124 in script.js
:
document.title = $("input[type='hidden'][name='title']").attr("value");
Apparently $("input[type='hidden'][name='title']").attr("value")
is undefined
.
Daniel Vassallo
2010-05-22 23:07:27
Daniel - that worked !!! I set the title to something manually there and that worked!!
2010-05-22 23:38:07
A:
The problem is on line 159:
$("a.ctip").cluetip({
document.title='Talll.com - Daily Links for Finance Professionals';
You are passing attributes to that function, you cant just throw the document.title="blah"
in there. You need to add the document.title
to an event handler function called when the user clicks on the link.
webdestroya
2010-05-22 23:09:06