Parašė Prometėjas· 2009 Lie. 7 17:07:29
#18
Peacemaker parašė:
Nepatingėjau paieškot - kūrėjas -
http://www.dynamicdrive.com
Konkrečiai sukūrė Graeme Robinson (me@graemerobinson.co.uk)
Štai pilnas kodas:
2. Document title scroller
Copy and paste betwen <head></head>
<title>Welcome to Dynamic Drive, your source for DHTML scripts. </title>
<script>
//Document title scroller- By Graeme Robinson (me@graemerobinson.co.uk)
//Exlusive permission granted to Dynamic Drive to include this script in their DHTML archive.
//For full source code, terms of use visit http://www.dynamicdrive.com
var repeat=0 //enter 0 to not repeat scrolling after 1 run, othersise, enter 1
var title=document.title
var leng=title.length
var start=1
function titlemove() {
titl=title.substring(start, leng) + title.substring(0, start)
document.title=titl
start++
if (start==leng+1) {
start=0
if (repeat==0)
return
}
setTimeout(”titlemove()”,140)
}
if (document.title)
titlemove()
</script>
Tai sakai tu kūrei? ;)
Konkrečia nuoroda iki šito failo prašyčiau.