Web Design Forum  
 
Go Back   Web Design Forum > Web Software > Scripts

Reply
 
LinkBack Thread Tools Display Modes
Old 10-18-2005, 02:55 PM   #1 (permalink)
New Member
 
Join Date: Oct 2005
Posts: 7
Default JavaScript problem.

I'm pretty new to JavaScript, but I don't know why this script isn't working. I know it's probably my own JS ignorance, but could someone help me? I'm not worried about the CSS or anything. I know CSS and HTML very well, so if there is something that needs done with either of those, feel free to tell me what you think needs done, the code is as follows.

<html xmlns="http://www.w3.org/1999/xhtml" lang="EN">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"/>

<script type="text/javascript">
function indexMessage(){
alert("Welcome to the Kittys Head Cradle: Your Home for VampireFreaks Layouts")

function tableMouseOver(){
"onmouseover="style.backgroundColor='#D1DCEB'; " onmouseout="style.backgroundColor='#DDDDDD'" bgcolor="#DDDDDD"}

</script>


<title>
VampireFreaks Layout Support
</title>
</head>

<body onLoad="indexMessage">

<img src="title.jpg">

<table class="nav" align="left">
<tr>
<td onMouseOver="tableMouseOver()">
<a href="index.htm">Home</a>
</td>
</tr>

<tr>
<td onMouseOver="tableMouseOver()">
<a href="about.htm">About This Site</a>
</td>
</tr>

<tr>
<td onMouseOver="tableMouseOver()">
<a href="http://www.vampirefreaks.com">VampireFreaks</a>
</td>
</tr>

<tr>
<td onMouseOver="tableMouseOver()">
<a href="vfrules.htm">VampireFreaks Rules</a>
</td>
</tr>

<tr>
<td onMouseOver="tableMouseOver()">
<a href="myrules.htm">My Rules</a>
</td>
</tr>

<tr>
<td onMouseOver="tableMouseOver()">
<a href="templates.htm">Profile Templates</a>
</td>
</tr>

<tr>
<td onMouseOver="tableMouseOver()">
<a href="contact.htm">Contact Me</a>
</td>
</tr>
</table>


</body>
</html>


I cannot get either of the functions to work when I call on them, even the simple alert function, witch was only a test to see if I could even call it right. Thanks for any help.
citrus_cyanide is offline   Reply With Quote
Old 12-23-2005, 03:46 PM   #2 (permalink)
Bronze Member
 
BaldEagle's Avatar
 
Join Date: Dec 2005
Location: Lisbon, CT
Posts: 38
Default

I am new to the forum, so I am not certain what goes on around here. Hopefully by now you have gotten this all straightened out, but in the event you haven't let me know and I'll give you some help. Judging by a few things I have read here the forum seems to be a little slow going, but I like what I see so far so I'll hang around and see how it pans out.

Again, let me know if you still require some help.

BaldEagle
BaldEagle is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 12:16 PM.


Computer Forum - Internet Business - Webpage Design

 
Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0 ©2008, Crawlability, Inc.