|
Post by turtleman on Feb 23, 2004 22:31:18 GMT -5
JJ you might not know but on the side menu the links to viper-resource go to another domain name now,, and its got alot of pop ups to! LOL you might want to update the links www.viper-resource.com/
|
|
|
Post by nita on Feb 28, 2004 21:33:56 GMT -5
Speaking of the side menu, I like how you have made it smaller.. or was it that my screen use to be smaller??? I have a bigger monitor now, brand new one.. maybe that's what it is. In any which way, it's great and I love it!! ;D
|
|
|
Post by «ººÐè©èÞ†âkóñ™ on Apr 19, 2004 0:32:55 GMT -5
Does anyone know how to make this side menu bar slide down the page when you scroll? Headers <style> <!-- #slidemenubar, #slidemenubar2{ position:absolute; border:10px solid brown; background-color:#030101; layer-background-color:#030101; font:bold 12px Tahoma; line-height:20px; } --> </style> Footers <script language="JavaScript1.2"> /*********************************************** * Sliding Menu Bar Script- © Dynamic Drive (www.dynamicdrive.com) * Visit www.dynamicdrive.com/ for full source code * This notice must stay intact for use ***********************************************/ var slidemenu_width=160 //specify width of menu (in pixels) var slidemenu_reveal=12 //specify amount that menu should protrude initially var slidemenu_top=170 //specify vertical offset of menu on page var ns4=document.layers?1:0 var ie4=document.all&&navigator.userAgent.indexOf("Opera")==-1 var ns6=document.getElementById&&!document.all?1:0 if (ie4||ns6) document.write('<div id="slidemenubar2" style="left:'+((slidemenu_width-slidemenu_reveal)*-1)+'; top:'+slidemenu_top+'; width:'+slidemenu_width+'" onMouseover="pull()" onMouseout="draw()">') else if (ns4){ document.write('<style>\n#slidemenubar{\nwidth:'+slidemenu_width+';}\n<\/style>\n') document.write('<layer id="slidemenubar" left=0 top='+slidemenu_top+' width='+slidemenu_width+' onMouseover="pull()" onMouseout="draw()" visibility=hide>') } var sitems=new Array() ///////////Edit below///////////////////////////////// //siteitems[x]=["Item Text", "Optional URL associated with text"] sitems[0]=["<big><font face='Papyrus'>Support Links</font></big>", ""] sitems[1]=["", ""] sitems[2]=["", ""] sitems[3]=["", ""] sitems[4]=["", ""] sitems[5]=["", ""] sitems[6]=["", ""] sitems[7]=["", ""]] sitems[8]=["", ""] sitems[9]=["", ""] //If you want the links to load in another frame/window, specify name of target (ie: target="_new") var target="_blank" ///////////////////////////////////////////////////////// if (ie4||ns4||ns6){ for (i=0;i<sitems.length;i++){ if (sitems [1]) document.write('<a href="'+sitems[1]+'" target="'+target+'">') document.write(sitems[0]) if (sitems[1]) document.write('</a>') document.write('<br>\n') } }
function regenerate(){ window.location.reload() } function regenerate2(){ if (ns4){ document.slidemenubar.left=((slidemenu_width-slidemenu_reveal)*-1) document.slidemenubar.visibility="show" setTimeout("window.onresize=regenerate",400) } } window.onload=regenerate2
rightboundary=0 leftboundary=(slidemenu_width-slidemenu_reveal)*-1
if (ie4||ns6){ document.write('</div>') themenu=(ns6)? document.getElementById("slidemenubar2").style : document.all.slidemenubar2.style } else if (ns4){ document.write('</layer>') themenu=document.layers.slidemenubar }
function pull(){ if (window.drawit) clearInterval(drawit) pullit=setInterval("pullengine()",10) } function draw(){ clearInterval(pullit) drawit=setInterval("drawengine()",10) } function pullengine(){ if ((ie4||ns6)&&parseInt(themenu.left)<rightboundary) themenu.left=parseInt(themenu.left)+10 else if(ns4&&themenu.left<rightboundary) themenu.left+=10 else if (window.pullit){ themenu.left=0 clearInterval(pullit) } }
function drawengine(){ if ((ie4||ns6)&&parseInt(themenu.left)>leftboundary) themenu.left=parseInt(themenu.left)-10 else if(ns4&&themenu.left>leftboundary) themenu.left-=10 else if (window.drawit){ themenu.left=leftboundary clearInterval(drawit) } } </script>
I hope someone does. I have been trying but to no avail. Perhaps I need to get another type of side menu bar like the one here on Viper Central
|
|
|
Post by Armstrong on Apr 19, 2004 13:54:49 GMT -5
I'll give you an example:
// ssmItems[...]=[name, link, target, colspan, endrow?] - leave 'link' and 'target' blank to make a header ssmItems[0]=["Menu"] //create header ssmItems[1]=["Main Viper Section", "http://vpc.proboards12.com/index.cgi?#IDvnc", ""] ssmItems[2]=["Components", "http://vpc.proboards12.com/index.cgi?#IDcom",""] ssmItems[3]=["General", "http://vpc.proboards12.com/index.cgi?#general", ""] ssmItems[4]=["General Computing", "http://vpc.proboards12.com/index.cgi?#IDgcp", ""] ssmItems[5]=["Grafix", "http://vpc.proboards12.com/index.cgi?#IDfx", ""] ssmItems[6]=["Programming", "http://vpc.proboards12.com/index.cgi?#IDp", ""]
ssmItems[7]=["Tutorials", "http://vpc.proboards12.com/index.cgi?board=IDa&action=display&thread=1036510447", "", 1, "no"] //create two column row ssmItems[8]=["FeedBack", "http://vpc.proboards12.com/index.cgi?board=IDffb", "",1]
ssmItems[9]=["Viper Central", "http://vipercentral.vze.com/", "_new"]
ssmItems[10]=["External Sites", "", ""] //create header ssmItems[11]=["TechGear 007", "http://www.techgear007.net/", "_new"] ssmItems[12]=["Viper Resource", "http://www.viper-resource.com/", "_new"] ssmItems[13]=["Viper Resource Canada", "http://www.fortunecity.com/skyscraper/powercable/53/index.htm", "_new"] ssmItems[14]=["XYZ Resource", "http://www.xyzresource.com/", "_new"]
buildMenu();
|
|
|
Post by Armstrong on Apr 19, 2004 13:57:09 GMT -5
|
|
|
Post by «ººÐè©èÞ†âkóñ™ on Apr 20, 2004 5:56:43 GMT -5
Tnx JJ for the download links, very helpful they are. ;D
|
|
|
Post by Armstrong on Apr 20, 2004 11:38:53 GMT -5
Here is a code to add it to a page (just replace www.macaroni.it/vpc/js/ ) : <SCRIPT SRC="http://www.macaroni.it/vpc/js/ssm.js" language="JavaScript1.2">
//Dynamic-FX slide in menu v6.5 (By maXimus, maximus@nsimail.com) //Site: http://maximus.ravecore.com/ //For full source, and 100's more DHTML scripts, visit http://www.dynamicdrive.com
</SCRIPT>
<SCRIPT SRC="http://www.macaroni.it/vpc/js/ssmItems.js" language="JavaScript1.2"></SCRIPT>
|
|
|
Post by Webagent007 on Apr 20, 2004 12:47:34 GMT -5
I can't edit headers or footers lol
<SCRIPT SRC="http://www.webagent007.org/viper/ssm.js" language="JavaScript1.2">
//Dynamic-FX slide in menu v6.5 (By maXimus, maximus@nsimail.com) //Site: http://maximus.ravecore.com/ //For full source, and 100's more DHTML scripts, visit http://www.dynamicdrive.com
</SCRIPT>
<SCRIPT SRC="http://www.webagent007.org/viper/ssmItems.js" language="JavaScript1.2"></SCRIPT>
I edited external sites, added ViperPit and Deathwatchers site changed Yahoo's link to a direct one (my security has metarefresh disabled lol) and took off the no longer viper related links.
|
|
|
Post by «ººÐè©èÞ†âkóñ™ on Apr 20, 2004 17:03:01 GMT -5
Tnx guys for all the help ;D ;D
|
|