Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Web Programming > JavaScript > Javascript
|
Javascript General Javascript discussions.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Javascript section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old November 3rd, 2004, 07:18 AM
Authorized User
 
Join Date: Oct 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default Comments in my javascripts 4

With the help of some good people from this community I've (or they) made 6 javascripts for me.
I'm in an emergency situation now I have to comment those codes.
I could have done it by myself but.....I can't.....
So if someone can help me please fell free!!!!
And here comes the 4th one!

<html>
<head>
<link href="css.css" rel="stylesheet">
<script language="Javascript1.2">
var objRef, steg=6; position=10
function Init() {
    if (document.layers)
        objRef = document.layers.bild;
    else
        objRef = document.all.bild.style;
    setInterval("Flytta()",80);
}
function Flytta() {
    if (position>900)
        steg=-6;
    else if (position<10)
        steg=6;
    position+=steg;
    objRef.left = position;
}
</script>
<Style type="text/css">
#bild{
position:absolute;
left:10px;
top:100px;
}

</style>
</head>
<body onLoad="Init()">
<div class="back"><a href="links.html">Tillbaka</a></div>
<div id="bild">
    <img src="moose.gif">
    Christina/Sara
</div>

</body>
</html>





A big thanxs to all of you who helped me a lot!!!!
Thanxs!!!!!!
 
Old November 4th, 2004, 10:31 AM
Authorized User
 
Join Date: Oct 2004
Posts: 22
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Wrong codes...

A big thanxs to all of you who helped me a lot!!!!
Thanxs!!!!!!





Similar Threads
Thread Thread Starter Forum Replies Last Post
IIS ->Javascripts, any clue? justboomit General .NET 1 July 2nd, 2007 08:32 AM
Comments in my javascripts 6 xristina Javascript 5 November 4th, 2004 04:08 PM
Comments in my javascripts 5 xristina Javascript 1 November 4th, 2004 10:31 AM
Comments in my javascripts xristina Javascript 2 November 4th, 2004 10:30 AM
Comments in my javascripts 2 xristina Javascript 1 November 3rd, 2004 09:17 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.