Header

From Wikibbyo

(Difference between revisions)
 
(142 intermediate revisions not shown)
Line 1: Line 1:
-
  <style type="text/css">
+
  <style type="text/css" >
-
<nowiki><xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v"/>
+
 
-
<style type="text/css">
+
 
-
v\\:* { behavior: url(#default#VML); }
+
-
</style></nowiki>
+
-
<style>
+
   /*
   /*
       Notes:  
       Notes:  
Line 11: Line 8:
       -if you want your code to look nice on this page, put a space at the beginning of each line
       -if you want your code to look nice on this page, put a space at the beginning of each line
       -This is the default style sheet that you can override : http://editthis.info/wiki/skins/monobook/main.css  
       -This is the default style sheet that you can override : http://editthis.info/wiki/skins/monobook/main.css  
-
       http://acbbyo.org/wiki/main2.css
+
        
       For example uncomment this next section to turn all the text green:
       For example uncomment this next section to turn all the text green:
   */
   */
-
   /*
+
    
 +
#content {
 +
    margin: 2.2em 0 0 12.2em;
 +
    padding: 0em 0.5em 0em 0.5em;
 +
   
 +
    border: 1px solid #aaaaaa;
 +
    border-right: none;
 +
    line-height: 1.5em;
 +
    position: relative;
 +
    z-index: 2;
 +
}
 +
 
 +
#p-cactions {
 +
    position: absolute;
 +
    top: 2.0em;
 +
    left: 10;
 +
    margin: 0;
 +
    white-space:nowrap;
 +
    width: 76%;
 +
    line-height: 1.1em;
 +
    overflow: visible;
 +
    background: none;
 +
    border-collapse: collapse;
 +
    padding-left: 1em;
 +
    list-style: none;
 +
    font-size: 95%;}
  body {
  body {
-
    color: green;
 
-
}
 
-
  */
 
-
</style>
 
-
<script type="text/javascript">
+
    font: x-small sans-serif;
-
 
+
-
 
+
-
<nowiki>/***********************************************
+
-
* 3D Spinning Message Script- By Copyright (c) 2003 Peter Gehrig
+
-
* Website: http://www.24fun.com
+
-
* Script available at/modified by Dynamic Drive (http://www.dynamicdrive.com)
+
-
* This notice must stay intact for use
+
-
***********************************************/
+
-
 
+
-
 
+
-
// Add as many messages as you like
+
-
var message=new Array("Dynamic Drive", "#1 DHTML site online", "Visit us for free scripts", "Enjoy")
+
-
 
+
-
// Set the outline-color. Add as many colors as you like
+
-
var outlinecolor=new Array("black", "black")
+
-
 
+
-
// Set fillcolors 1. Add as many colors as you like
+
-
var fillcolor1=new Array("gray", "green", "white", "green")
+
-
 
+
-
// Set fillcolors 2. Add as many colors as you like
+
-
var fillcolor2=new Array("blue", "olive", "black", "lime")
+
-
 
+
-
// Set the letter marking the circle
+
-
var circlemark=new Array("-")
+
-
 
+
-
// Set the width of the outline
+
-
var strkweight=2
+
-
 
+
-
// Set the waiting time between the messages (seconds)
+
-
var pause=2
+
-
 
+
-
// Set the strength of the opacity (transparency of letters)
+
-
var strengthopacity="60%"
+
-
 
+
-
// Set the size of the circle (values range from 0.1 to 1)
+
-
var circlesize=0.5
+
-
 
+
-
// Always keep messages in view even if page is scrolled? (DD added option)
+
-
var keepinview="yes"
+
-
 
+
-
// Do not edit below this line
+
-
 
+
-
mytruebody=(!window.opera && document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body //Dynamicdrive added object
+
-
 
+
-
var outerwidth=mytruebody.clientWidth
+
-
var outerheight=mytruebody.clientHeight
+
-
 
+
-
var innerwidth=Math.floor(circlesize*outerwidth)
+
-
var innerheight=Math.floor(circlesize*outerheight)
+
-
 
+
-
var posleft=(outerwidth-innerwidth)/2
+
-
var postop=(outerheight-innerheight)/2
+
-
 
+
-
var path=new Array()
+
-
var i_message=0
+
-
var i_outlinecolor=0
+
-
var i_fillcolor1=0
+
-
var i_fillcolor2=0
+
-
var i_messagelength=0
+
-
var longestmessage=0
+
-
pause*=1000
+
-
 
+
-
var ie=document.getElementById&&document.all?1:0
+
-
for (i=0;i<=message.length-1;i++) {
+
background: #3366cc url("http://www.editthis.info/images/wikibbyo/5/57/WikiBackground1.jpg") 0.8em 0px ;;
-
if (message[i].length>longestmessage) {
+
   
-
longestmessage=message[i].length
+
    color: black;
-
}
+
    margin: 0;
-
longestmessage+=4
+
   
}
}
 +
 +
/*navbar style: black background, gray line items, white text... */
-
for (i=0;i<=message.length-1;i++) {
+
.portlet h6,h5,h4 {color:white;}
-
 
+
a:visited { color:#9966CC ; }
-
var emptyspace=""
+
.pBody {
-
var i_emptyspace=(longestmessage-message[i].length)/2
+
    font-size: 95%;
-
for (ii=0;ii<=i_emptyspace;ii++) {
+
    background: #000099  ;
-
emptyspace+=circlemark
+
    border-collapse: collapse;
-
}
+
    border: 5px solid #B9D3EE;
-
message[i]=emptyspace+" "+message[i]+" "+emptyspace
+
    padding: 0 0.8em 0.3em 0.5em;
}
}
-
 
+
.portlet li {
-
function changeform() {
+
    padding: 0;
-
if (keepinview=="yes") //DD added
+
    margin: 0;
-
document.getElementById("roofid").style.top=mytruebody.scrollTop //DD added
+
    background: #000099 ;
-
if (i_outlinecolor >= outlinecolor.length) {i_outlinecolor=0}
+
-
if (i_fillcolor1 >= fillcolor1.length) {i_fillcolor1=0}
+
-
if (i_fillcolor2 >= fillcolor2.length) {i_fillcolor2=0}
+
-
document.getElementById('strokeid').color=outlinecolor[i_outlinecolor]
+
-
document.getElementById('fillid').color=fillcolor1[i_fillcolor1]
+
-
document.getElementById('fillid').color2=fillcolor2[i_fillcolor2]
+
-
if (i_message < message.length) {tick()}
+
-
else {document.getElementById('textpathid').string=""
+
-
document.getElementById("roofid").style.display="none" //DD added
+
-
}
+
}
}
 +
.portlet a {color:#B9D3EE;}
-
function tick() {
+
#p-search .pBody {
-
if (i_messagelength <= message[i_message].length) {
+
    text-align: center;
-
var messagestringend=""
+
    background: #104E8B;
-
var messagestring=message[i_message].substring(0, i_messagelength)+messagestringend
+
-
document.getElementById('textpathid').string=messagestring
+
-
var timer=setTimeout("tick()",50)
+
-
i_messagelength++
+
-
}
+
-
else {
+
-
clearTimeout(timer)
+
-
i_messagelength=0
+
-
i_message++
+
-
i_outlinecolor++
+
-
i_fillcolor1++
+
-
i_fillcolor2++
+
-
var timer=setTimeout("changeform()",pause)
+
-
}
+
-
+
}
}
-
if (ie) {
+
</style>
-
document.write('<div id="roofid" style="position:absolute;left:0px;top:0px;width:'+outerwidth+'px;height:'+outerheight+'px;overflow:hidden;">')
+
<html>
-
document.write('<v:oval id="tc" style="position:absolute;top:'+postop+'px;left:'+posleft+'px;width:'+innerwidth+'px;height:'+innerheight+'px">')
+
 
-
document.write('<v:shadow on="t" opacity="'+strengthopacity+'"/>')
+
 
-
document.write('<v:stroke id="strokeid" weight="'+strkweight+'pt" color="blue"/>')
+
<script type="text/javascript">
-
document.write('<v:fill id="fillid" on="True" color="'+fillcolor1[0]+'" color2="'+fillcolor2[0]+'" opacity="'+strengthopacity+'" opacity2="'+strengthopacity+'" type="gradient"/>')
+
 
-
document.write('<v:path textpathok="t"/>')
+
</script><p align="right"><img src="http://www.editthis.info/images/wikibbyo/f/f0/Headerimage2.jpg" width=30%></p>
-
document.write('<v:textpath id="textpathid" on="t" id="mytp" style="font-family:\'Arial Black\'; " fitpath="t" string=""/>')
+
<!-- /noscript--></html>
-
document.write('</v:oval></div>')
+
-
if (window.attachEvent) //DD added code
+
-
window.attachEvent("onload", changeform) //DD added code
+
-
else
+
-
window.onload=changeform
+
-
}</nowiki>
+
-
</script>
+

Current revision as of 04:54, 16 August 2007

<style type="text/css" >


  /*
     Notes: 
      -You must log as admin to edit this page
      -Whatever you enter in this page will be added to the html in the header after the standard style sheet, so you can override styles. 
      -if you want your code to look nice on this page, put a space at the beginning of each line
      -This is the default style sheet that you can override : http://editthis.info/wiki/skins/monobook/main.css 
      
      For example uncomment this next section to turn all the text green:
  */
 
#content {
   margin: 2.2em 0 0 12.2em;
   padding: 0em 0.5em 0em 0.5em;
   
   border: 1px solid #aaaaaa;
   border-right: none;
   line-height: 1.5em;
   position: relative;
   z-index: 2;

}

  1. p-cactions {
   position: absolute;
   top: 2.0em;
   left: 10;
   margin: 0;
   white-space:nowrap;
   width: 76%;
   line-height: 1.1em;
   overflow: visible;
   background: none;
   border-collapse: collapse;
   padding-left: 1em;
   list-style: none;
   font-size: 95%;}
body {
   font: x-small sans-serif;

background: #3366cc url("WikiBackground1.jpg") 0.8em 0px ;;

   color: black;
   margin: 0;
   

}

/*navbar style: black background, gray line items, white text... */

.portlet h6,h5,h4 {color:white;} a:visited { color:#9966CC ; } .pBody {

   font-size: 95%;
   background: #000099   ;
   border-collapse: collapse;
   border: 5px solid #B9D3EE;
   padding: 0 0.8em 0.3em 0.5em;

} .portlet li {

   padding: 0;
   margin: 0;
   background: #000099 ;

} .portlet a {color:#B9D3EE;}

  1. p-search .pBody {
   text-align: center;
   background: #104E8B;

}

</style>

<html>


<script type="text/javascript">
  
</script>

<img src="Headerimage2.jpg" width=30%>

</html>

Personal tools