This is a Hitskin.com skin preview
Install the skin • Return to the skin page
+5
Seven
box lawl
ankillien
notMicElf
~PSYDEX~
9 posters
Marquee code
~PSYDEX~- Forumember
Posts : 322
Reputation : 0
Language : Bulgarian
Location : Bulgaria
- Post n°1
Marquee code
What's the marquee code of Forumotions Announcements?
notMicElf- Forumember
Posts : 377
Reputation : 0
Language : English, HTML, CSS, Java
Location : Not where you are =P
- Post n°2
Re: Marquee code
Well, the HTML marquee code is:
<marquee>your text here</marquee>
You're also able to add attributes if needed, such as a scrollamount, direction, and font attributes (such as color, size, etc).
<marquee>your text here</marquee>
You're also able to add attributes if needed, such as a scrollamount, direction, and font attributes (such as color, size, etc).
~PSYDEX~- Forumember
Posts : 322
Reputation : 0
Language : Bulgarian
Location : Bulgaria
- Post n°3
Re: Marquee code
Exactly, i'm asking because of the atributes of the marquee!
notMicElf- Forumember
Posts : 377
Reputation : 0
Language : English, HTML, CSS, Java
Location : Not where you are =P
- Post n°4
Re: Marquee code
Well, the announcements are customizable. Just tell me, do you want it to go up, down, right to left, or left to right? Also, do you want slow, fast, or very fast?
ankillien- Energetic
- Posts : 5198
Reputation : 129
Language : English, XHTML, CSS, JS, PHP, SQL
- Post n°5
Re: Marquee code
Hello,
Here are some attributes of marquee tag...
width, height, scrollamount, scrolldelay, direction, behavior, loop etc.
Here are some attributes of marquee tag...
width, height, scrollamount, scrolldelay, direction, behavior, loop etc.
notMicElf- Forumember
Posts : 377
Reputation : 0
Language : English, HTML, CSS, Java
Location : Not where you are =P
- Post n°6
Re: Marquee code
This will make a basic right to left marquee. 100% defines width, which will be full page, 20 defines height, and scroll amount defines it's speed.
<marquee direction="left" scrollamount="10" width="100%" height="20">YOUR TEXT HERE</marquee>
<marquee direction="left" scrollamount="10" width="100%" height="20">YOUR TEXT HERE</marquee>
~PSYDEX~- Forumember
Posts : 322
Reputation : 0
Language : Bulgarian
Location : Bulgaria
- Post n°7
Re: Marquee code
Look at this marquee here . I wan't a code for new one with that speed and smooth , bsides it starts in whole width of the screen (if you can understand me) , not from right to left and it starts with blank
~PSYDEX~- Forumember
Posts : 322
Reputation : 0
Language : Bulgarian
Location : Bulgaria
- Post n°8
Re: Marquee code
Bump!
box lawl- New Member
- Posts : 2
Reputation : 0
Language : lol
- Post n°9
Re: Marquee code
Spam content removed, Member banned.
ankillien
ankillien
Seven- Forumember
- Posts : 60
Reputation : 0
Language : English
- Post n°10
Re: Marquee code
I don't get it, you want it to start blank, but you dont want it to come from the left or right... please re-word this, I'm not sure I follow.
notMicElf- Forumember
Posts : 377
Reputation : 0
Language : English, HTML, CSS, Java
Location : Not where you are =P
- Post n°11
Re: Marquee code
The marquee in the page you linked to is just an announcement full of linker pictures, you could just do that? Or are you trying to use the code somewhere else?
~PSYDEX~- Forumember
Posts : 322
Reputation : 0
Language : Bulgarian
Location : Bulgaria
- Post n°12
Re: Marquee code
Exactly i'm trying to put the same thing in other place so it must be with same speed , same start ... everithing.Thats why i need the code but only the marquee (not the pictures and links)notMicElf wrote:Or are you trying to use the code somewhere else?
RoNo- Active Poster
Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California
- Post n°13
Re: Marquee code
jscheuer1's version of the "Cross Browser marquee"
works good when it's edited like I've done *here. Try it.
works good when it's edited like I've done *here. Try it.
- Code:
<center><script language="JavaScript1.2">
//Specify the marquee's width (in pixels)
var marqueewidth="730px"
//Specify the marquee's height
var marqueeheight="150px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=1
//Specify initial pause before scrolling in milliseconds
var initPause=0
//Specify start with Full(1)or Empty(0) Marquee
var full=1
//configure background color:
var marqueebgcolor=""
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1
//Specify the marquee's content (don't delete <nobr> tag)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):
var marqueecontent='<nobr> </nobr>'
////NO NEED TO EDIT BELOW THIS LINE////////////
/*
Cross browser Marquee script-Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com
Modified by jscheuer1 for continuous content. Credit MUST stay intact.
*/
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+marqueecontent+'</span>')
var actualwidth=''
var cross_marquee, cross_marquee2, ns_marquee
function populate(){
if (iedom){
var initFill=(full==1)? '8px' : parseInt(marqueewidth)+8+"px"
actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.left=initFill
cross_marquee2=document.getElementById? document.getElementById("iemarquee2") : document.all.iemarquee2
cross_marquee2.innerHTML=cross_marquee.innerHTML=marqueecontent
cross_marquee2.style.left=(parseInt(cross_marquee.style.left)+actualwidth+8)+"px" //indicates following #1
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.left=parseInt(marqueewidth)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualwidth=ns_marquee.document.width
}
setTimeout('lefttime=setInterval("scrollmarquee()",30)',initPause)
}
window.onload=populate
function scrollmarquee(){
if (iedom){
if (parseInt(cross_marquee.style.left)<(actualwidth*(-1)+8))
cross_marquee.style.left=(parseInt(cross_marquee2.style.left)+actualwidth+8)+"px"
if (parseInt(cross_marquee2.style.left)<(actualwidth*(-1)+8))
cross_marquee2.style.left=(parseInt(cross_marquee.style.left)+actualwidth+8)+"px"
cross_marquee2.style.left=parseInt(cross_marquee2.style.left)-copyspeed+"px"
cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+"px"
}
else if (document.layers){
if (ns_marquee.left>(actualwidth*(-1)+8))
ns_marquee.left-=copyspeed
else
ns_marquee.left=parseInt(marqueewidth)+8
}
}
if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:3px;display:inline;"></div>')
write('<div id="iemarquee2" style="position:absolute;left:0px;top:3px;display:inline;"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee" bgColor='+marqueebgcolor+'>')
write('<layer name="ns_marquee2" left=0 top=3 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
</script></center>
Damzelle Dirtbomb- New Member
- Posts : 15
Reputation : 0
Language : English
- Post n°14
Re: Marquee code
notMicElf wrote:This will make a basic right to left marquee. 100% defines width, which will be full page, 20 defines height, and scroll amount defines it's speed.
<marquee direction="left" scrollamount="10" width="100%" height="20">YOUR TEXT HERE</marquee>
i used the above code. How do I make the text LARGE? like size 26?
Rok- Energetic
Posts : 6823
Reputation : 234
Language : idk
- Post n°15
Re: Marquee code
- Code:
<font size="NUMBER">TEXT</font>
- Code:
<span style="font-family: Arial, Helvetica, sans-serif; color: #ffffff; size: 2px;">TEXT HERE</span>
Damzelle Dirtbomb- New Member
- Posts : 15
Reputation : 0
Language : English
- Post n°16
Re: Marquee code
thanks!
~PSYDEX~- Forumember
Posts : 322
Reputation : 0
Language : Bulgarian
Location : Bulgaria
- Post n°17
Re: Marquee code
I did like you said but nothing showsRoNo wrote:Add your content: var marqueecontent=' Here! '
![Sad](https://2img.net/i/fa/i/smiles/icon_sad.gif)
RoNo- Active Poster
Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California
- Post n°18
Re: Marquee code
Between these: '<nobr></nobr>'
var marqueecontent='<nobr> Here! </nobr>'
Try this example in your Homepage Message
var marqueecontent='<nobr> Here! </nobr>'
Try this example in your Homepage Message
- Code:
<center><script language="JavaScript1.2">
//Specify the marquee's width (in pixels)
var marqueewidth="730px"
//Specify the marquee's height
var marqueeheight="150px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=1
//Specify initial pause before scrolling in milliseconds
var initPause=0
//Specify start with Full(1)or Empty(0) Marquee
var full=1
//configure background color:
var marqueebgcolor=""
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=1
//Specify the marquee's content (don't delete <nobr> tag)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):
var marqueecontent='<nobr><a href="http://psydex.forums1.net/forum-f10/topic-t484.htm"><img src="http://img18.imageshack.us/img18/2019/wonder.png" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t3658.htm"><img src="http://img7.imageshack.us/img7/7148/bubblebash2.gif" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t3302.htm"><img src="http://img35.imageshack.us/img35/8648/r2tmw8ezoaynaoo7reds.gif" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t3176.htm"><img src="http://img9.imageshack.us/img9/2066/grt2splash.gif" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t3258.htm"><img src="http://img34.imageshack.us/img34/4784/nsr2gameloftsmallb.jpg" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t3876.htm"><img src="http://img9.imageshack.us/img9/2852/koral.png" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t3242.htm"><img src="http://img35.imageshack.us/img35/4263/splashk.gif" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t2647.htm"><img src="http://img512.imageshack.us/img512/8231/1238517766terminator.jpg" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t2634.htm"><img src="http://img2.imageshack.us/img2/8382/sonicz.jpg" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t2138.htm"><img src="http://img16.imageshack.us/img16/3076/gogo.gif" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t2257.htm"><img src="http://img9.imageshack.us/img9/8799/hawxg.png" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t1287.htm"><img src="http://img212.imageshack.us/img212/520/apetrushighspeed3d12272.png" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t332.htm"><img src="http://img24.imageshack.us/img24/6765/cnbotp.png" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t182.htm"><img src="http://img18.imageshack.us/img18/7784/mummy.jpg" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t1047.htm"><img src="http://img4.imageshack.us/img4/469/fifa08n.jpg" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t2446.htm"><img src="http://img89.imageshack.us/img89/2593/probaseball2009.png" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t2460.htm#17907"><img src="http://img4.imageshack.us/img4/819/candymania.gif" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t2137.htm"><img src="http://img9.imageshack.us/img9/3189/contrh.gif" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t1880.htm"><img src="http://img9.imageshack.us/img9/7630/pyramid.png" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t582.htm"><img src="http://img9.imageshack.us/img9/4331/towerblox.jpg" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t759.htm"><img src="http://img18.imageshack.us/img18/8664/castle1.jpg" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t1718.htm"><img src="http://img9.imageshack.us/img9/3782/luxor.png" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t936.htm"><img src="http://img9.imageshack.us/img9/8963/tvparty.jpg" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t623.htm"><img src="http://img18.imageshack.us/img18/1594/princezero.png" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t1482.htm"><img src="http://img9.imageshack.us/img9/3198/460951762080.gif" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/topic-t189.htm"><img src="http://img9.imageshack.us/img9/7740/ostitans2.jpg" alt="" border="0"></a> <a href="http://psydex.forums1.net/forum-f10/"><img src="http://img4.imageshack.us/img4/6190/more.png" alt="" border="0"></a></nobr>'
////NO NEED TO EDIT BELOW THIS LINE////////////
/*
Cross browser Marquee script- ÂDynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com
Modified by jscheuer1 for continuous content. Credit MUST stay intact
Reset content: RoNo
*/
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+marqueecontent+'</span>')
var actualwidth=''
var cross_marquee, cross_marquee2, ns_marquee
function populate(){
if (iedom){
var initFill=(full==1)? '8px' : parseInt(marqueewidth)+8+"px"
actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.left=initFill
cross_marquee2=document.getElementById? document.getElementById("iemarquee2") : document.all.iemarquee2
cross_marquee2.innerHTML=cross_marquee.innerHTML=marqueecontent
cross_marquee2.style.left=(parseInt(cross_marquee.style.left)+actualwidth+8)+"px" //indicates following #1
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.left=parseInt(marqueewidth)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualwidth=ns_marquee.document.width
}
setTimeout('lefttime=setInterval("scrollmarquee()",30)',initPause)
}
window.onload=populate
function scrollmarquee(){
if (iedom){
if (parseInt(cross_marquee.style.left)<(actualwidth*(-1)+8))
cross_marquee.style.left=(parseInt(cross_marquee2.style.left)+actualwidth+8)+"px"
if (parseInt(cross_marquee2.style.left)<(actualwidth*(-1)+8))
cross_marquee2.style.left=(parseInt(cross_marquee.style.left)+actualwidth+8)+"px"
cross_marquee2.style.left=parseInt(cross_marquee2.style.left)-copyspeed+"px"
cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+"px"
}
else if (document.layers){
if (ns_marquee.left>(actualwidth*(-1)+8))
ns_marquee.left-=copyspeed
else
ns_marquee.left=parseInt(marqueewidth)+8
}
}
if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:3px;display:inline;"></div>')
write('<div id="iemarquee2" style="position:absolute;left:0px;top:3px;display:inline;"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee" bgColor='+marqueebgcolor+'>')
write('<layer name="ns_marquee2" left=0 top=3 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}
</script></center>
~PSYDEX~- Forumember
Posts : 322
Reputation : 0
Language : Bulgarian
Location : Bulgaria
- Post n°19
Re: Marquee code
i did so but , nothing shows when i put it into widget (to show in the portal)
Jalokim- Energetic
Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland
- Post n°20
Re: Marquee code
you can always check your forums BBCode directory
it has all the bbcodes in it
yourforumaddres.com/faq.htm?mode=bbcode
it has all the bbcodes in it
yourforumaddres.com/faq.htm?mode=bbcode
RoNo- Active Poster
Posts : 1270
Reputation : 135
Language : English
Location : Laguna Beach, California
- Post n°21
Re: Marquee code
There are script limitations when creating forumotion widgets.~PSYDEX~ wrote:i did so but , nothing shows when i put it into widget (to show in the portal)
That's why I suggested using the code in your homepage message.
[ content removed... can't help you any further ]
Last edited by RoNo on August 18th 2009, 7:17 pm; edited 1 time in total
~PSYDEX~- Forumember
Posts : 322
Reputation : 0
Language : Bulgarian
Location : Bulgaria
- Post n°22
Re: Marquee code
Well , sort of...
I'm not that good in codes , so i guess i need some personal help (someone who will do it) ??
![Confused](https://2img.net/i/fa/i/smiles/icon_confused.png)