Log In · Register

 
A little tiny script help?
Jamesisgsnap
post Apr 14 2009, 11:58 PM
Post #1


Senior Member
****

Group: Member
Posts: 164
Joined: May 2008
Member No: 647,219



Well, I was looking through createblog scripts, and there was this cute little one that I liked.

http://www.createblog.com/javascripts/887-...ion-w-keywords/

I use header and footer for my site, Now, The guy says to paste in your index section only, but there is only one code in the index section and that is the header class
CODE
<div class="mainheader">Like so</div>


So, idk if I put it in index or no?
 
 
Start new topic
Replies
newkidontheblock
post Apr 16 2009, 08:47 AM
Post #2


Offline.
*****

Group: Official Designer
Posts: 609
Joined: Mar 2007
Member No: 507,591



You can create a page called index.html and placed the code provided by divergent in it.

What script says to place the code into an the head tag it means; in valid html pages there are different parts such as the head and body.

CODE

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html lang="en" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title> Website - Title </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
</head>

<body>
<p> Content to be displayed in the browser window.
</body>
</html>

the red section is the head section. and that where you place the code form the script.

CODE
<head>
<title> Website - Title </title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<META name="Description" content="SITE DESCRIPTION">
<META name="keywords" content="keywords,go,here,separate,by,commas">

</head>
 

Posts in this topic
Gippersnap   A little tiny script help?   Apr 14 2009, 11:58 PM
Gippersnap   So put ^-That code in my header page?   Apr 15 2009, 12:28 AM
Gippersnap   Gah :(   Apr 15 2009, 09:52 PM
Fawaz   You can create a page called index.html and placed...   Apr 16 2009, 08:47 AM
fixtatik   it doesn't go inside a div named "header....   Apr 16 2009, 11:28 PM


Closed TopicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members: