Marquee code Hitskin_logo Hitskin.com

This is a Hitskin.com skin preview
Install the skinReturn to the skin page

The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.
+5
Seven
box lawl
ankillien
notMicElf
~PSYDEX~
9 posters

    Marquee code

    ~PSYDEX~
    ~PSYDEX~
    Forumember


    Male Posts : 322
    Reputation : 0
    Language : Bulgarian
    Location : Bulgaria

    Marquee code Empty Marquee code

    Post by ~PSYDEX~ August 14th 2009, 3:52 pm

    What's the marquee code of Forumotions Announcements?
    notMicElf
    notMicElf
    Forumember


    Male Posts : 377
    Reputation : 0
    Language : English, HTML, CSS, Java
    Location : Not where you are =P

    Marquee code Empty Re: Marquee code

    Post by notMicElf August 14th 2009, 4:42 pm

    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).
    ~PSYDEX~
    ~PSYDEX~
    Forumember


    Male Posts : 322
    Reputation : 0
    Language : Bulgarian
    Location : Bulgaria

    Marquee code Empty Re: Marquee code

    Post by ~PSYDEX~ August 14th 2009, 5:07 pm

    Exactly, i'm asking because of the atributes of the marquee!
    notMicElf
    notMicElf
    Forumember


    Male Posts : 377
    Reputation : 0
    Language : English, HTML, CSS, Java
    Location : Not where you are =P

    Marquee code Empty Re: Marquee code

    Post by notMicElf August 14th 2009, 6:05 pm

    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
    ankillien
    Energetic


    Posts : 5198
    Reputation : 129
    Language : English, XHTML, CSS, JS, PHP, SQL

    Marquee code Empty Re: Marquee code

    Post by ankillien August 14th 2009, 7:24 pm

    Hello,

    Here are some attributes of marquee tag...
    width, height, scrollamount, scrolldelay, direction, behavior, loop etc.
    notMicElf
    notMicElf
    Forumember


    Male Posts : 377
    Reputation : 0
    Language : English, HTML, CSS, Java
    Location : Not where you are =P

    Marquee code Empty Re: Marquee code

    Post by notMicElf August 14th 2009, 7:35 pm

    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>
    ~PSYDEX~
    ~PSYDEX~
    Forumember


    Male Posts : 322
    Reputation : 0
    Language : Bulgarian
    Location : Bulgaria

    Marquee code Empty Re: Marquee code

    Post by ~PSYDEX~ August 15th 2009, 6:40 am

    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~
    ~PSYDEX~
    Forumember


    Male Posts : 322
    Reputation : 0
    Language : Bulgarian
    Location : Bulgaria

    Marquee code Empty Re: Marquee code

    Post by ~PSYDEX~ August 16th 2009, 4:52 pm

    Bump!
    avatar
    box lawl
    New Member


    Posts : 2
    Reputation : 0
    Language : lol

    Marquee code Empty Re: Marquee code

    Post by box lawl August 16th 2009, 4:56 pm

    Spam content removed, Member banned.

    ankillien
    avatar
    Seven
    Forumember


    Posts : 60
    Reputation : 0
    Language : English

    Marquee code Empty Re: Marquee code

    Post by Seven August 16th 2009, 6:11 pm

    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
    notMicElf
    Forumember


    Male Posts : 377
    Reputation : 0
    Language : English, HTML, CSS, Java
    Location : Not where you are =P

    Marquee code Empty Re: Marquee code

    Post by notMicElf August 16th 2009, 11:08 pm

    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~
    ~PSYDEX~
    Forumember


    Male Posts : 322
    Reputation : 0
    Language : Bulgarian
    Location : Bulgaria

    Marquee code Empty Re: Marquee code

    Post by ~PSYDEX~ August 16th 2009, 11:10 pm

    notMicElf wrote:Or are you trying to use the code somewhere else?
    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)
    RoNo
    RoNo
    Active Poster


    Male Posts : 1270
    Reputation : 135
    Language : English
    Location : Laguna Beach, California

    Marquee code Empty Re: Marquee code

    Post by RoNo August 17th 2009, 12:16 am

    jscheuer1's version of the "Cross Browser marquee"
    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>
    Add your content: var marqueecontent='<nobr> Here! </nobr>'
    avatar
    Damzelle Dirtbomb
    New Member


    Posts : 15
    Reputation : 0
    Language : English

    Marquee code Empty Re: Marquee code

    Post by Damzelle Dirtbomb August 17th 2009, 1:29 am

    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
    Rok
    Energetic


    Male Posts : 6823
    Reputation : 234
    Language : idk

    Marquee code Empty Re: Marquee code

    Post by Rok August 17th 2009, 1:37 am

    Code:
    <font size="NUMBER">TEXT</font>
    Or you can just use a <span> code to set the color, text size, etc. all in one:
    Code:
    <span style="font-family: Arial, Helvetica, sans-serif; color: #ffffff; size: 2px;">TEXT HERE</span>
    Just edit the pixel size with the number of your choice.
    avatar
    Damzelle Dirtbomb
    New Member


    Posts : 15
    Reputation : 0
    Language : English

    Marquee code Empty Re: Marquee code

    Post by Damzelle Dirtbomb August 17th 2009, 1:41 am

    thanks!
    ~PSYDEX~
    ~PSYDEX~
    Forumember


    Male Posts : 322
    Reputation : 0
    Language : Bulgarian
    Location : Bulgaria

    Marquee code Empty Re: Marquee code

    Post by ~PSYDEX~ August 17th 2009, 12:15 pm

    RoNo wrote:Add your content: var marqueecontent=' Here! '
    I did like you said but nothing shows Sad
    RoNo
    RoNo
    Active Poster


    Male Posts : 1270
    Reputation : 135
    Language : English
    Location : Laguna Beach, California

    Marquee code Empty Re: Marquee code

    Post by RoNo August 17th 2009, 1:16 pm

    Between these: '<nobr></nobr>'

    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~
    ~PSYDEX~
    Forumember


    Male Posts : 322
    Reputation : 0
    Language : Bulgarian
    Location : Bulgaria

    Marquee code Empty Re: Marquee code

    Post by ~PSYDEX~ August 17th 2009, 2:20 pm

    i did so but , nothing shows when i put it into widget (to show in the portal)
    Jalokim
    Jalokim
    Energetic


    Male Posts : 6113
    Reputation : 223
    Language : English,Polish,CSS,HTML
    Location : Poland

    Marquee code Empty Re: Marquee code

    Post by Jalokim August 17th 2009, 4:44 pm

    you can always check your forums BBCode directory
    it has all the bbcodes in it

    yourforumaddres.com/faq.htm?mode=bbcode
    RoNo
    RoNo
    Active Poster


    Male Posts : 1270
    Reputation : 135
    Language : English
    Location : Laguna Beach, California

    Marquee code Empty Re: Marquee code

    Post by RoNo August 17th 2009, 11:22 pm

    ~PSYDEX~ wrote:i did so but , nothing shows when i put it into widget (to show in the portal)
    There are script limitations when creating forumotion widgets.
    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~
    ~PSYDEX~
    Forumember


    Male Posts : 322
    Reputation : 0
    Language : Bulgarian
    Location : Bulgaria

    Marquee code Empty Re: Marquee code

    Post by ~PSYDEX~ August 18th 2009, 12:56 pm

    Well , sort of... Confused I'm not that good in codes , so i guess i need some personal help (someone who will do it) ??