View Full Version : bulleted lists...again :P


twix2006
07-10-2003, 03:36 PM
ok..i got the square bullets right now..only the part between "quizzes i've taken" and "meet my friends" has a space between it...kinda like as if i put <br><br>. how can i fix that while still keeping how it looks the way it is? if u want to c how it actually looks on the web, go to http://www31.brinkster.com/twix2006/girlmenu.html (http://)

code:

<UL type="square">
<li><a href="http://www31.brinkster.com/twix2006/aboutme.html" style="font face=verdana">about me</a>
<li><a href="javascript:xanga()">xanga</a>
<li><a href="http://www31.brinkster.com/twix2006/contact.html" style="font face=verdana">contact me</a>
<li><font face=verdana size=1>quizzes i've taken</a>
<UL type="square">
<li><a href="http://www31.brinkster.com/twix2006/quiz1.html" style="font face=verdana">01</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz2.html" style="font face=verdana">02</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz3.html" style="font face=verdana">03</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz4.html" style="font face=verdana">04</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz5.html" style="font face=verdana">05</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz6.html" style="font face=verdana">06</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz7.html" style="font face=verdana">07</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz8.html" style="font face=verdana">08</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz9.html" style="font face=verdana">09</a>
</ul>
</UL>
<UL type="square">
<li><font face=verdana size=1>meet my friends</a>
<UL type="square">
<li><a href="http://www31.brinkster.com/twix2006/gfriends.html" style="font face=verdana">girls</a>
<li><a href="http://twix2006.home.icq.com/guys.html" style="font face=verdana">guys</a>
</uL>
</UL>

stargrl329
07-10-2003, 07:16 PM
i played with it a bit and couldn't come up with a solution using html... it seems to be happening because you are closing two unordered lists at a time. my suggestion would be to place the second chunk of the list in a transparent table and use CSS absolute positioning to move it directly under the other part of the list. sorry i couldn't find a different way tho ~

pb&j
07-11-2003, 04:45 AM
put this in the UL tags for the first section... quizes
style="border-bottom:0px;"
put this in the UL tag for the second section... friends
style="border-top:0px;"

<UL type="square" style="margin-bottom:0px;">
<li><a href="http://www31.brinkster.com/twix2006/aboutme.html" style="font face=verdana">about me</a>
<li><a href="javascript:xanga()">xanga</a>
<li><a href="http://www31.brinkster.com/twix2006/contact.html" style="font face=verdana">contact me</a>
<li><font face=verdana size=1>quizzes i've taken</a>
<UL style="margin-bottom:0px;" type="square">
<li><a href="http://www31.brinkster.com/twix2006/quiz1.html" style="font face=verdana">01</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz2.html" style="font face=verdana">02</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz3.html" style="font face=verdana">03</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz4.html" style="font face=verdana">04</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz5.html" style="font face=verdana">05</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz6.html" style="font face=verdana">06</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz7.html" style="font face=verdana">07</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz8.html" style="font face=verdana">08</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz9.html" style="font face=verdana">09</a>
</ul>
</UL>
<UL type="square" style="margin-top:0px;">


as a side note, your page coding is in serious need of help. there are multiple errors that may cause page viewing problems. such as misplaced tags, multiple body tags, and so forth. not condemming, just a note.

twix2006
07-11-2003, 08:07 AM
really? sorri, but i don't kno what u mean :P..

btw tnx for the code :0)..

stargrl329
07-11-2003, 03:51 PM
yes pb&j is right... what she meant is that the tag which says <body> shows up twice; I also found that you had a CSS stylesheet in your body tag, but it belongs in the head. try this code instead:

<html>

<head>
<title>= webmistress =</title>


<SCRIPT LANGUAGE="JavaScript1.2">
<!-- Begin
var ver = navigator.appVersion;
var dom = document.getElementById ? 1 : 0;
var ie5 = (ver.indexOf("MSIE 5") > -1 && dom) ? 1 : 0;
var n = (document.layers);
var ie = (document.all);

var sparksAflyin = 0;
var totalSparks = 0;
var sparksOn = 1;
function initMouseEvents() {
document.onmousedown = mouseDown;
if (n) document.captureEvents(Event.MOUSEDOWN | Event.MOUSEMOVE);
}
function mouseDown(e) {
if (sparksOn) {
var mou^^^ = (n) ? e.pageX : event.x+document.body.scrollLeft;
var mousey = (n) ? e.pageY : event.y+document.body.scrollTop;
if (!sparksAflyin) {
for (var k = 0; k <= 6; k++)
eval('SHOW("sDiv'+k+'")');
sparksAflyin = 1;
totalSparks = 0;
for(i = 0;i <= 6; i++)
eval('moveTo('+i+',0,'+mou^^^+','+mousey+')');
}
}
}
function moveTo(i,j, mou^^^, mousey){
if (j < eval('anim_'+i+'_x.length') ){
var tempx = eval('anim_'+i+'_x[j]+mou^^^');
var tempy = eval('anim_'+i+'_y[j]+mousey');
if (ie) {
if(tempy+30 > (document.body.offsetHeight+document.body.scrollTo p))
tempy = document.body.offsetHeight+document.body.scrollTop-30;
if(tempx+30 > (document.body.offsetWidth+document.body.scrollLef t))
tempx = document.body.offsetWidth+document.body.scrollLeft-30;
eval('document.all.sDiv'+i+'.style.left = tempx;');
eval('document.all.sDiv'+i+'.style.top = tempy;');
}
if (n) {
eval('document.layers.sDiv'+i+'.left = tempx;');
eval('document.layers.sDiv'+i+'.top = tempy;');
}
j++;
// timeout: 60 = fireworks speed, larger number = slower speed
setTimeout("moveTo("+i+","+j+","+mou^^^+","+mousey+")",50)
}
else {
eval('HIDE("sDiv'+i+'")');
totalSparks++;
}
if (totalSparks == 7) {
sparksAflyin = 0;
totalSparks = 0;
}
}
function SHOW(divName){
if (document.all)
eval('document.all.'+divName+'.style.visibility = "visible";');
else if (document.layers)
eval('document.layers["'+divName+'"].visibility = "visible";');
}
function HIDE(divName){
if (document.all)
eval('document.all.'+divName+'.style.visibility = "hidden";');
else if (document.layers)
eval('document.layers["'+divName+'"].visibility = "hide";');
}
anim_0_x=new Array(20,20,10,0,0,0,0,0,0,0,0,0);
anim_0_y=new Array(-20,-40,-60,-80,-60,-40,-20,0,20,40,60,80);
anim_1_x=new Array(20,20,17,36,60,78,90,92,93,98,108,120,133,15 2,181);
anim_1_y=new Array(-20,-20,-33,-38,-38,-27,-2,25,51,84,113,141,162,212,253);
anim_2_x=new Array(20,20,2,3,4,5,6,7,8,9,10,12,13,15,18);
anim_2_y=new Array(-20,-20,-33,-38,-38,-27,-2,25,51,84,113,141,162,212,253);
anim_3_x=new Array(-20,-20,-2,-1,7,10,18,35,60,102,94,94,93,97,108,111,117,127);
anim_3_y=new Array(-20,-25,-64,-89,-104,-150,-173,-197,-213,-199,-151,-101,-66,-17,27,87,140,189);
anim_4_x=new Array(-20,-20,-10,-39,-30,-69,-64,-138,-154,-200,-181,-209,-191,-207,-203,-213,-202,-221,-211);
anim_4_y=new Array(-20,-20,-28,-51,-79,-100,-135,-154,-193,-183,-149,-134,-89,-60,8,51,107,157,201);
anim_5_x=new Array(-20,-29,-51,-72,-105,-133,-164,-189,-209,-229,-247,-270,-279,-282,-283,-283,-285,-286,-288);
anim_5_y=new Array(-20,-55,-86,-116,-154,-183,-205,-217,-217,-198,-169,-120,-44,-8,40,87,144,190,248);
anim_6_x=new Array(-20,-20,-7,14,44,79,143,186,217,226,234,244,250,259,265,274 );
anim_6_y=new Array(-20,-21,-72,-113,-139,-166,-188,-181,-126,-68,-3,54,134,187,215,257);
// End -->
</script>

<script language="javascript">
//<!--
function xanga()
{ window.open ("http://www.xanga.com/home.aspx?user=twix2006","popupX","width=800,height=400,location=1,menubar=1,resizabl e=1,scrollbars=1,status=1,titlebar=1,toolbar=1") }
-->
</script>

<style type="text/css">
a:link
{text-decoration: none; color: #ffffff; font-face=verdana; font size=10}
a:visited
{text-decoration: none; color: #ffffff; font-face=verdana; font size=10}
a:active
{text-decoration: none; color: #ffffff; font-face=verdana; font size=10}
a:hover
{text-decoration: none; cursor: crosshair; border:1 dashed; border-color:#ffffff; font-face=verdana; font size=10}

<!--BODY {
color:ffffff;
font-size:10 pt;
font-family: verdana;
line-height: 15px;

scrollbar-face-color: 000000;
scrollbar-highlight-color: 000000;
scrollbar-3dlight-color: 804889;
scrollbar-darkshadow-color: 804889;
scrollbar-shadow-color: 000000;
scrollbar-arrow-color: 000000;
scrollbar-track-color: 000000;
} -->

</style>

</head>
<body bgcolor="#804889" text="#ffffff">

<body OnLoad="initMouseEvents()">

<div id="sparks">
<div id="sDiv0" style="position:absolute; visibility: hidden;"><font face="courier new, symbol,wingdings,arial" color="804889" size="2"><b>*</b></font></div>
<div id="sDiv1" style="position:absolute; visibility: hidden;"><font face="courier new, symbol,wingdings,arial" color="FFFFFF" size="2"><b>*</b></font></div>
<div id="sDiv2" style="position:absolute; visibility: hidden;"><font face="courier new, symbol,wingdings,arial" color="804889" size="2"><b>*</b></font></div>
<div id="sDiv3" style="position:absolute; visibility: hidden;"><font face="courier new, symbol,wingdings,arial" color="000000" size="2"><b>*</b></font></div>
<div id="sDiv4" style="position:absolute; visibility: hidden;"><font face="courier new, symbol,wingdings,arial" color="FFFFFF" size="2"><b>*</b></font></div>
<div id="sDiv5" style="position:absolute; visibility: hidden;"><font face="courier new, symbol,wingdings,arial" color="000000" size="2"><b>*</b></font></div>
<div id="sDiv6" style="position:absolute; visibility: hidden;"><font face="courier new, symbol,wingdings,arial" color="804889" size="2"><b>*</b></font></div>


<UL type="square" style="margin-bottom:0px;">
<li><a href="http://www31.brinkster.com/twix2006/aboutme.html" style="font face=verdana">about me</a>
<li><a href="java script:xanga()">xanga</a>
<li><a href="http://www31.brinkster.com/twix2006/contact.html" style="font face=verdana">contact me</a>
<li><font face=verdana size=1>quizzes i've taken</a>
<UL style="margin-bottom:0px;" type="square">
<li><a href="http://www31.brinkster.com/twix2006/quiz1.html" style="font face=verdana">01</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz2.html" style="font face=verdana">02</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz3.html" style="font face=verdana">03</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz4.html" style="font face=verdana">04</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz5.html" style="font face=verdana">05</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz6.html" style="font face=verdana">06</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz7.html" style="font face=verdana">07</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz8.html" style="font face=verdana">08</a>
<li><a href="http://www31.brinkster.com/twix2006/quiz9.html" style="font face=verdana">09</a>
</ul>
</UL>
<UL type="square" style="margin-top:0px;">
<li><font face=verdana size=1>meet my friends</a>
<UL type="square">
<li><a href="http://www31.brinkster.com/twix2006/gfriends.html" style="font face=verdana">girls</a>
<li><a href="http://twix2006.home.icq.com/guys.html" style="font face=verdana">guys</a>
</uL>
</UL>

</body>
</html>

your javascript code was messed up too - i looked at lissa's javascript section and you had body codes in the head tag, and vice versa, so that is now fixed.

twix2006
07-11-2003, 03:59 PM
lol...stupid me :P...i never noticed that i had two <body> tags! :P..gota look more carefully then..i think i got the mistakes from when i made my site b4...didn't kno html that well then..and all i did was copy n paste :P..hm..gota check my pages now. but tnx for the help :D

stargrl329
07-11-2003, 04:10 PM
lol... no problem =)

twix2006
07-11-2003, 04:49 PM
actually..the bursting stars thing on my page..i got where to put that from cutekimkitty's page..she's the one that had the tutorial on her website..its gone now tho..but ok..now i kno :) um..hey what if there is a code that i want to put on my site, but its javascript? i wouldn't put it under head would i cuz don't you put it where you want it on your actual page? newayz..now i gota go thru every page and change the codes lol

stargrl329
07-12-2003, 04:30 PM
it depends on the javascript code itself... sometimes a function will be defined in the head and then called upon in the body.... but anyway, its different for every code, this particular one has two parts that belong in the head and one part that belongs in the body. i would suggest looking at lissa's java section (http://www.lissaexplains.com/java.shtml) if your going to use javascript - cuz if you kinda guess where its supposed to go it might not work right. good luck =)