meta tags with javascript

can i set meta tags through javascript?

or maybe there is another answer, i was hoping i could so rather than having the long meta string in the code, i could just include a javascript . . . :



plainly i'm looking for a way to edit one string of meta tags in one file and easyly have it effect all files. thanx

fatdan1327@hotmail.com

Comments

  • If your server can run ASP
    this would be the easist way.
    Just save a text file that has just the meta tags on it
    as say. . MetaTags.inc
    then in every page that you want the meta tags to show up in
    put:


    and the page that has the above code must have
    the file extension .asp

    hope this works for ya.

    Otherwise, yes, you would be able to save the meta tag file
    as a .js file and do the include thing the way you said.


    : can i set meta tags through javascript?
    :
    : or maybe there is another answer, i was hoping i could so rather than having the long meta string in the code, i could just include a javascript . . . :
    :
    :
    :
    : plainly i'm looking for a way to edit one string of meta tags in one file and easyly have it effect all files. thanx
    :
    : fatdan1327@hotmail.com
    :

Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

In this Discussion