/    Sign up×
Community /Pin to ProfileBookmark

Could Some help me?

COuld someone help me out with my homepage i hate that stupid green color and i just dont want a bgcolor at all i want to see that flashy thingy on the entire wepage.

to post a comment
HTML

3 Comments(s)

Copy linkTweet thisAlerts:
@spufiMay 24.2004 — Actually, the green and the changing background color are both annoying.
Copy linkTweet thisAlerts:
@NorskMay 24.2004 — First of all, you are doing great! I started doing html the exact same way, by trial and error. Keep up the good work.

Ok, here's a few tips. Your page has a lot of coding errors and to be honest, I was unable to get it working because I'm not exactly sure what it is supposed to look like. Lets do this first.

Here's some things we are going to try to fix

1) you have <body> and <head> tags within your document and I think this may be messing it up.

2) you have JavaScripts that need to be in the <head></head> of your page - not under the <body> tags.

3) you have cascading styles in your page that need to be in the <head></head>

So, it appears you are grabbing javascripts from javascriptsource.com and pasting them in your page. Here's what you need to do. View your code and you will see this.

<HTML><HEAD><TITLE>order of the chalice :: neo abcaa's homepage</TITLE>

<META content="" name=Keywords>

<META content="" name=Description>

<META content="MSHTML 6.00.2800.1400" name=GENERATOR></HEAD>

see the code between the <head> and the </head>??? This is where those script need to go. Does that make sense? When you are pasting the code into your page, you need to follow those instructions and when it says "paste this into the head, they want you to put the code in between those tags.

The same applies with the <style> tags. Unfortunately, there is a lot of script and things going on and so it was very confusing for me to sort out. It might be easier to start over and build the page and then add the scripts later. I will be glad to help you more.

Otherwise, this is an example of how the code might appear.

<HTML>

<HEAD>

<TITLE>order of the chalice :: neo abcaa's homepage</TITLE>

<style>

a:link, a:visited, a:active {

color: #012a60;

text-decoration: underline;

}

a:hover {

text-decoration: none;

}

body {

margin: 0px;

padding: 0px;

font-family: verdana, arial, helvetica, sans-serif;

color: #90bdfe;

font-size: 11px;

}

.spanstyle {

position:absolute;

visibility:visible;

top:-50px;

font-size:10pt;

font-family:Verdana;

font-weight:bold;

color:crimson;

}

</style>

<SCRIPT LANGUAGE="JavaScript">

var Color= new Array(9);

Color[1] = "ff";

Color[2] = "ee";

Color[3] = "dd";

Color[4] = "cc";

Color[5] = "bb";

Color[6] = "aa";

Color[7] = "99";

Color[8] = "88";

Color[9] = "77";

Color[10] = "66";

Color[11] = "55";

Color[12] = "44";

Color[13] = "33";

Color[14] = "22";

Color[15] = "11";

Color[16] = "00";

/* Do not display text on a fading background. Instead, let it

fade in and out once or twice, then load a new page. *
/

function fadeIn(where) {

if (where >= 1) {

document.bgColor="#" + Color[where] +"0000";


where -= 1;

setTimeout("fadeIn("+where+")", 15);

} else {

setTimeout('fadeOut(1)', 15);

}

}

function fadeOut(where) {

if (where <=16) {

document.bgColor="#" + Color[where] +"0000";

where += 1;

setTimeout("fadeOut("+where+")", 15)

} else {

setTimeout("fadeIn(16)", 15);

// window.location.href="http://www.netscape.com/";

}

}

</SCRIPT>

<SCRIPT LANGUAGE="JavaScript">

var nDots = 7;

var Xpos = 0;

var Ypos = 0;

var DELTAT = .01;

var SEGLEN = 10;

var SPRINGK = 10;

var MASS = 1;

var GRAVITY = 50;

var RESISTANCE = 10;

var STOPVEL = 0.1;

var STOPACC = 0.1;

var DOTSIZE = 11;

var BOUNCE = 0.75;

var isNetscape = navigator.appName=="Netscape";

var followmouse = true;

var dots = new Array();

init();

function init() {

var i = 0;

for (i = 0; i < nDots; i++) {

dots[i] = new dot(i);

}

if (!isNetscape) {

// I only know how to read the locations of the

// <LI> items in IE

//skip this for now

// setInitPositions(dots)

}

for (i = 0; i < nDots; i++) {

dots[i].obj.left = dots[i].X;

dots[i].obj.top = dots[i].Y;

}

if (isNetscape) {

startanimate();

} else {

// let dots sit there for a few seconds

// since they're hiding on the real bullets

setTimeout("startanimate()", 3000);

}

}

function dot(i) {

this.X = Xpos;

this.Y = Ypos;

this.dx = 0;

this.dy = 0;

if (isNetscape) {

this.obj = eval("document.dot" + i);

} else {

this.obj = eval("dot" + i + ".style");

}

}

function startanimate() {

setInterval("animate()", 20);

}

function setInitPositions(dots) {

var startloc = document.all.tags("LI");

var i = 0;

for (i = 0; i < startloc.length && i < (nDots - 1); i++) {

dots[i+1].X = startloc[i].offsetLeft

startloc[i].offsetParent.offsetLeft - DOTSIZE;

dots[i+1].Y = startloc[i].offsetTop +

startloc[i].offsetParent.offsetTop + 2*DOTSIZE;

}

dots[0].X = dots[1].X;

dots[0].Y = dots[1].Y - SEGLEN;

}

function MoveHandler(e) {

Xpos = e.pageX;

Ypos = e.pageY;


return true;

}

function MoveHandlerIE() {

Xpos = window.event.x + document.body.scrollLeft;

Ypos = window.event.y + document.body.scrollTop;


}

if (isNetscape) {

document.captureEvents(Event.MOUSEMOVE);

document.onMouseMove = MoveHandler;

} else {

document.onmousemove = MoveHandlerIE;

}

function vec(X, Y)

{

this.X = X;

this.Y = Y;

}



// adds force in X and Y to spring for dot[i] on dot[j]

function springForce(i, j, spring)

{

var dx = (dots[i].X - dots[j].X);

var dy = (dots[i].Y - dots[j].Y);

var len = Math.sqrt(dx*dx + dy*dy);

if (len > SEGLEN) {

var springF = SPRINGK * (len - SEGLEN);

spring.X += (dx / len) *
springF;

spring.Y += (dy / len) * springF;

}

}

function animate() {

var start = 0;

if (followmouse) {

dots[0].X = Xpos;

dots[0].Y = Ypos;

start = 1;

}

for (i = start ; i < nDots; i++ ) {

var spring = new vec(0, 0);

if (i > 0) {

springForce(i-1, i, spring);

}

if (i < (nDots - 1)) {

springForce(i+1, i, spring);

}

var resist = new vec(-dots[i].dx *
RESISTANCE, -dots[i].dy * RESISTANCE);

var accel = new vec((spring.X + resist.X)/ MASS, (spring.Y + resist.Y)/ MASS + GRAVITY);

dots[i].dx += (DELTAT *
accel.X);

dots[i].dy += (DELTAT * accel.Y);

if (Math.abs(dots[i].dx) < STOPVEL &&

Math.abs(dots[i].dy) < STOPVEL &&

Math.abs(accel.X) < STOPACC &&

Math.abs(accel.Y) < STOPACC) {

dots[i].dx = 0;

dots[i].dy = 0;

}

dots[i].X += dots[i].dx;

dots[i].Y += dots[i].dy;

var height, width;

if (isNetscape) {

height = window.innerHeight + document.scrollTop;

width = window.innerWidth + document.scrollLeft;

} else {

height = document.body.clientHeight + document.body.scrollTop;

width = document.body.clientWidth + document.body.scrollLeft;

}

if (dots[i].Y >= height - DOTSIZE - 1) {

if (dots[i].dy > 0) {

dots[i].dy = BOUNCE *
-dots[i].dy;

}

dots[i].Y = height - DOTSIZE - 1;

}

if (dots[i].X >= width - DOTSIZE) {

if (dots[i].dx > 0) {

dots[i].dx = BOUNCE * -dots[i].dx;

}

dots[i].X = width - DOTSIZE - 1;

}

if (dots[i].X < 0) {

if (dots[i].dx < 0) {

dots[i].dx = BOUNCE *
-dots[i].dx;

}

dots[i].X = 0;

}

dots[i].obj.left = dots[i].X;

dots[i].obj.top = dots[i].Y;

}

}

// End -->

</script>

</head>

<body onLoad="fadeIn(16)">







===============================================================================================================================================================================================================



You will need to go into your code and strip out the head tags, style tags and javascript tags that are under the <body..> tag.



This is what you will need to remove:
===============================================================================================================================================================================================================















<html>

<head>

<title>Mouse Trail Script</title>

<!-- START MOUSE TRAIL SCRIPT -->

<!-- This part of the script goes between your HEAD tags. -->

<!-- This script is courtesy of Bravenet Web Services. www.bravenet.com -->

<!-- Bravenet.com is the webs top rated site for FREE Webmaster Tools! -->

<!-- This is where you set all of the font attributes. Vedana or Times New Roman is suggested. -->

<style>

.spanstyle {

position:absolute;

visibility:visible;

top:-50px;

font-size:10pt;

font-family:Verdana;

font-weight:bold;

color:crimson;

}

</style>

<!-- THREE STEPS TO INSTALL BACKGROUND FADER:



  • 1. Put the specified code into the HEAD of your HTML document

  • 2. Add the onLoad event handler to the BODY tag

  • 3. Paste the last code into the BODY of your HTML document -->


  • <!-- STEP ONE: Copy this code into the HEAD of your HTML document -->

    <HEAD>




    <!-- STEP TWO: Add the onLoad event handler to the BODY tag -->

    <BODY onLoad="fadeIn(16)">

    <!-- STEP THREE: Copy this code into the BODY of your HTML document -->

    <BODY>

    <!-- TWO STEPS TO INSTALL SNOW:

  • 1. Copy the coding into the BODY of your HTML document

  • 2. Save the snow.gif image to your web site directory -->


  • <!-- STEP ONE: Paste this code into the BODY of your HTML document -->

    <BODY>

    <!-- ONE STEP TO INSTALL ELASTIC BULLETS:

  • 1. Copy the coding into the BODY of your HTML document -->


  • <!-- STEP ONE: Paste this code into the BODY of your HTML document -->

    <BODY>







    ===============================================================================================================================================================================================================

    So here's the bad news, you have some other things going on as well like you have table that are not opened or closed correctly. So, when I "fixed" the the above items, I still could not get your page to render correctly.

    Ok, I will check back this I hope this at least gets you on the right track..

    Timmy
    Copy linkTweet thisAlerts:
    @spufiMay 24.2004 — @ Timmy

    You still left numerous errors in the code and that's probably why you could not get it to perform.
    ×

    Success!

    Help @Neo_Abcaa spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.21,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...