Live Chat & Podcast at 1:00PM Eastern on Sunday!
There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
Search
Web Design & Development
Tag Cloud
access acer asus bios bsod computer crash desktop drive driver drivers error ethernet excel freeze gaming hard drive hardware hdmi internet laptop malware memory missing monitor motherboard network printer problem ram random registry router slow software sound trojan ubuntu 11.10 uninstall usb video virus vista wifi windows windows 7 windows 7 32 bit windows 7 64 bit windows xp wireless
Search
Search for:
Tech Support Guy Forums > Internet & Networking > Web Design & Development >
Solved: scrolling marquee loop code

Reply  
Thread Tools
Duckman69's Avatar
Computer Specs
Senior Member with 860 posts.
 
Join Date: Jun 2007
20-Nov-2009, 10:17 AM #1
Solved: scrolling marquee loop code
<MARQUEE WIDTH="98%" BEHAVIOR="scroll" SCROLLAMOUNT="4" DIRECTION="left" BGColor="transparent" OnMouseOver="this.stop()" OnMouseOut="this.start()">

<a href="http://www.google.com" target="_blank"><img src="/1.jpg" border="0"></a>
<a href="http://www.google.com" target="_blank"><img src="/2.jpg" border="0"></a>
<a href="http://www.google.com" target="_blank"><img src="/3.jpg" border="0"></a>
<a href="http://www.google.com" target="_blank"><img src="/4.jpg" border="0"></a>
<a href="http://www.google.com" target="_blank"><img src="/5.jpg" border="0"></a>
</MARQUEE>

lets say my page only fits 3 of these images,
i want so that when the last image is showed it loops back to the 1st image without ending the cycle otherwise i get a no image scroll for a few seconds
Duckman69's Avatar
Computer Specs
Senior Member with 860 posts.
 
Join Date: Jun 2007
22-Nov-2009, 09:02 AM #2
bump, maby some1 can suggest an alternate way to do this if no1 knows an answer, or a program that would add the pictures & write the script for me, anything...
emopoops's Avatar
emopoops has a Photo Album
Computer Specs
Member with 195 posts.
 
Join Date: Jan 2009
Location: america c- ountry
Experience: pretty experinced ;]
23-Nov-2009, 12:02 AM #3
wrap or something
Duckman69's Avatar
Computer Specs
Senior Member with 860 posts.
 
Join Date: Jun 2007
23-Nov-2009, 12:48 AM #4
do you think i could use something like
var timer = setTimeout("update()", 2000);

i mean if i put a timeout like this at after the last picture scrolled & somehow set the update to repeat the loop ? anyone know what im talking about or if its possible ?

Last edited by Duckman69; 23-Nov-2009 at 07:29 AM..
Duckman69's Avatar
Computer Specs
Senior Member with 860 posts.
 
Join Date: Jun 2007
23-Nov-2009, 01:59 AM #5
also if theres a way to use a warp command that i dont know about that could achieve this please let me know
Duckman69's Avatar
Computer Specs
Senior Member with 860 posts.
 
Join Date: Jun 2007
23-Nov-2009, 07:29 AM #6
well couldnt achieve what i wanted but i've settled for less & decided to just bounce the images back & forth within my preset borders ... and all i had to do was change the behavior for that easy fix 2 achieve a close alternative

<MARQUEE WIDTH="98%" BEHAVIOR="ALTERNATE" SCROLLAMOUNT="2" DIRECTION="left"

BGColor="transparent" OnMouseOver="this.stop()" OnMouseOut="this.start()">
<a href="http://www.google.com" target="_blank"><img src="/fp_pie.jpg" border="0"></a>&nbsp;&nbsp;
<a href="http://www.google.com" target="_blank"><img src="/fp.jpg" border="0"></a>&nbsp;&nbsp;

</MARQUEE>
Reply

THIS THREAD HAS EXPIRED.
Are you having the same problem? We have volunteers ready to answer your question, but first you'll have to join for free. Need help getting started? Check out our Welcome Guide.

Search Tech Support Guy

Find the solution to your
computer problem!




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
WELCOME TO TECH SUPPORT GUY! Are you looking for the solution to your computer problem? Join our site today to ask your question -- for free! Our site is run completely by volunteers who want to help you solve your computer problems. See our Welcome Guide to get started.
Thread Tools



Facebook Facebook Twitter Twitter TechGuy.tv TechGuy.tv Mobile TSG Mobile
You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 03:19 AM.
Copyright © 1996 - 2011 TechGuy, Inc. All rights reserved.

Powered by Cermak Technologies, Inc.