Jump to content

Lucifrex

Members
  • Posts

    8
  • Joined

  • Last visited

Lucifrex's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. This is supposed to make "HELLO" bounce around. It's not working though. What's wrong with it? <html> <head> <script type="text/javascript"> <!-- var y = 1 var x = 1 var ud = true var lr = true function scroll() { if(y > 1300) ud = false if(y < 0) ud = true if(x > 700) lr = false if(x < 0) lr = true if(ud == true)?y=y+1:y=y-1 if(lr == true)?x=x+1:x=x-1 document.getElementById('head').innerHTML="<h1 style=\"position:absolute; left:"+x+"px; top:"+(y+150)+"px; z-index:-1\"><b>HELLO</b></h1>" t = setTimeout('scroll()',20) } //--> </script> </head> <body> <div id="head"> <script type="text/javascript"> <!-- scroll() //--> </script> </div> </body></html>
  2. Lucifrex

    Total PHP noob

    I already downloaded the Apache thing. I want to know how to put it to use. I'm not worried about hosting on a site yet, I just want to be able to use it on my PC so I can learn PHP.
  3. Lucifrex

    Total PHP noob

    Ok, I'm just starting the PHP learning process and so far I've downloaded everything the tutorial told me to. My question is: now what? How do I utilize these things I have downloaded? If you have an answer for me, PM it to me, just in case I forget I made this topic. I check back to see what ya'll have said tomorrow.
  4. You know how some websites have that little image next to the URL in your address bar, and when you add the site to your favorites, the little image is there? How does one do that?
  5. Nevermind. I figured it out . My Webpage
  6. I want to make something like this: <div onmouseover="style.color='red'"> But to where it changes the filter to 'invert()'. How does one do that?
  7. I figured it out. I didn't quite use that method, but it works none the less. I put it on my website, so now I have a thing that says "Hello" scrolling down the page. Once I take out the <span>s and put a {cursor:crosshair} in the body style it will be done. The <span>s make my gifs freeze for some reason. My Webpage
  8. Ok, here be code: <html><head><script type="text/javascript"><!--var x = 0function scroll(){document.getElementById('head').style.posTop=xx=x+1t = setTimeout('scroll()',100)}//--></script></head><body><h1 id="head">Hello</h1></body></html> I think that one of the main problems is that I have no idea what posTop does... lol. Please help. I'm trying to make the text go move downwards.
×
×
  • Create New...