34 posts
  • 7 Years of Membership
  • Author Level 2
  • Collector Level 3
  • Exclusive Author
+2 more
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
  • 6 Years of Membership
  • Affiliate Level 1
  • Author Level 8
  • Collector Level 2
+4 more
celtathemes
says

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

76 posts
  • 6 Years of Membership
  • Author Level 3
  • Collector Level 1
  • Exclusive Author
+1 more
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
  • 6 Years of Membership
  • Australia
  • Beta Tester
  • Collector Level 1
+1 more
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