|
|
#1 (permalink) |
|
Senior Member
Join Date: Nov 2006
Posts: 225
|
Hey guys, i decided that for my gaming site i want to have i row of 600pizels width * 80 height Of rotating Pictures of games- The pics are lined up and are moving right, and when clicking a specific image it takes you to a diffrent web page. DO you guys know where i can learn how to make that? do u know what i even mean by my description? can someone help me with that, i will throw in 10 BK $ Thanks !
roy77 |
|
|
|
|
|
#2 (permalink) |
|
co-admin
Join Date: Oct 2006
Location: Belgium
Posts: 666
|
<marquee height="80" direction="right" scrolldelay="90" scrollamount="6" behavior="scroll" align="middle" loop="0">Text</marquee>
And you just replace the "Text" by your images, between <a> tags .
|
|
|
|
|
|
#3 (permalink) |
|
Senior Member
Join Date: Nov 2006
Posts: 225
|
army thanks for the code man but im having a problem, Can you give me an example of how i should write my image in there, is it something like this for example:
<marquee height="80" direction="right" scrolldelay="90" scrollamount="6" behavior="scroll" align="middle" loop="0"><a>logo1.jpeg</a></marquee> ??? please help!! thanks - roy77 |
|
|
|
|
|
#4 (permalink) | |
|
co-admin
Join Date: Oct 2006
Location: Belgium
Posts: 666
|
Quote:
...[HTML]<marquee height="80" direction="right" scrolldelay="90" scrollamount="6" behavior="scroll" align="middle" loop="0"><a href="yoursite.com" target="_blank">logo1.jpeg</a></marquee>[/HTML] I set the target to open in a new window . If you want it open in the same window, just change the "_blank" by "_self" .
|
|
|
|
|
|
|
#5 (permalink) |
|
Senior Member
Join Date: Nov 2006
Posts: 225
|
k got it thanks! now here comes the more complicated version: in my gaming site i want to have rotating images of games (as you may know) and so i would like to make more than one image in my script - i want to have like 10-15 images, close together in a row moving from the left to righ - and than when the visitors click the image it links to the game page. as well (im not sure if this is java or flash) but when the mouse is over the moving images, if it could stop the rotation. If you can help me with that i will love u even more! peace
roy77 |
|
|
|
|
|
#6 (permalink) |
|
co-admin
Join Date: Oct 2006
Location: Belgium
Posts: 666
|
It is something like this:
Note, the source code below doesn't work! Lol, at least, it doesn't do what it has to do . There is somewhere a fault, but I can't find it. Quite some time ago I wrote a JavaScript .[html]<html> <HEAD> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin function writeMarquee() { var height = 80 var scrolldelay = 90 var scrollamount = 1 var loop = 0 document.write("<marquee height='+height+' direction='right' scrolldelay='+scrolldelay+' scrollamount='+scrollamount+' behavior='scroll' align='middle' loop='+loop+'><a href='yoursite.com' target='_blank'>logo1.jpeg</a></marquee>"); } // End --> </script> </HEAD> <BODY> <SCRIPT LANGUAGE="JavaScript"> <!-- Begin document.write("<span onmouseove='scrollamount = 0' onmouseout='scrollamount = 1'>"); writeMarquee() document.write("</span>"); // End --> </script> </body> </html>[/html] |
|
|
|
|
|
#7 (permalink) |
|
co-admin
Join Date: Oct 2006
Location: Belgium
Posts: 666
|
You also can try to combine it with PHP:
PHP Code:
. So, don't shoot me if you get an error .
|
|
|
|