![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Programming A discussion forum for programs and programming used in tech-related businesses. |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Sep 2008
Posts: 10
OS: Windows xp service pack 2
|
Move Words using Javascript
Hi
I am using javascript to move word on my web pages and to also swap 4 pictures. Can people see where the error is? <script type="text/javascript"> function placeObjects() ** //W = winWidth()/2; placeIt("computer", 0, 0); //placeIt("repair", 150, 500); placeIt ("logo1", 150, 250); placeIt ("logo2", 150, 250); placeIt ("logo3", 150, 250); placeIt ("logo4", 150, 250); setZ("logo1", 4); setZ("logo2", 3); setZ("logo3", 2); setZ("logo4", 1); moveTitle(); //swapImages(); } function moveTitle() ** var y = yCoord("computer"); if (y <= 260) ** shiftIt("computer", 0, 10); //shiftIt("repair", 0, 10); setTimeout("moveTitle()", 50); } else ** //moveRepair(); swapImages(); } } function moveRepair() ** var x = xCoord("repair"); if (x <= 125) ** shiftIt("title", 10, 0); setTimeout("moveRepair()", 50); } else ** swapImages(); } } function swapImages() ** showIt("logo1"); showIt("logo2"); showIt("logo3"); showIt("logo4"); setInterval('swapIt("logo1", "logo2", "logo3", "logo4")', 2000); } |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
![]() |
| Thread Tools | |
|
|