34 posts
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 6-7 years
  • Sold between 100 and 1 000 dollars
  • United States
ChordsofLife says

I have an entire site on index.php that changes content via jQuery. The order goes like this:

title, navigation, div a, div b, div c

Logically, I hide what I don’t need and show what I do. My issue is that I want to be able to change the title (i.e specify the “page”). How would I go about doing that? Thanks.

380 posts
  • Bought between 10 and 49 items
  • Elite Author
  • Exclusive Author
  • Has been a member for 4-5 years
  • Referred between 1 and 9 users
  • Sold between 100 000 and 250 000 dollars
celtathemes says

You might search for a jQuery plugin. I do not know exactly what you want, Tabs or Slides maybe.

76 posts
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • New Zealand
  • Sold between 1 000 and 5 000 dollars
duane_ashworth says

when you change the div thats shown also alter the title tag.

$('a').click(function(){ show your div $('title').html('page title'); });

this should work , look into it in the jquery docs , you should be able to work it out from there

78 posts
  • Australia
  • Beta Tester
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 4-5 years
fredwu says

If your title tag is <h2 id="title">Title of the Page</h2>, then:

$("h2#title").text("New Title")
by
by
by
by
by
by