isk8fororli
01-29-2004, 08:56 PM
My site (http://starless-day.net/orlando), has major coding problems! Please visit the site and let me know what's wrong with my coding. Any help will be appreicated, and even more, if you have a site, I can link you back on my next update for a thank you.
Rosey
01-29-2004, 09:42 PM
Ok, this isn't everything but it's a start, you'll have to tweek it:
on your style sheet: get rid of the <style> and the ---> tags.
on your index:
you put <Table><div> you can't do that. If you're going to absolute position, just use <div> tags.
So it would look like (part 1):
<html>
<head>
<link REL=stylesheet HREF="stylesheets.css" TYPE="text/css">
<script type="text/javascript">
/***********************************************
* Switch Menu script- by Martial B of http://getElementById.com/
* Modified by Dynamic Drive for format & NS4/IE4 compatibility
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
if (document.getElementById){ //DynamicDrive.com change
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}
function SwitchMenu(obj){
if(document.getElementById){
var el = document.getElementById(obj);
var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
if(el.style.display != "block"){ //DynamicDrive.com change
for (var i=0; i<ar.length; i++){
if (ar[i].className=="submenu") //DynamicDrive.com change
ar[i].style.display = "none";
}
el.style.display = "block";
}else{
el.style.display = "none";
}
}
}
</script>
<style type="text/css">
.menutitle{
cursor:se-resize;
margin-bottom: 0px;
background-color:#696969;
color:#000000;
width:140px;
height:10px;
padding:0px;
text-align:left;
font-weight:bold;
/*/*/border:1px solid #000000;/* */
}
.submenu{
margin-bottom: 0.5em;
}
</style>
<script type="text/javascript">
/***********************************************
* Switch Menu script- by Martial B of http://getElementById.com/
* Modified by Dynamic Drive for format & NS4/IE4 compatibility
* Visit http://www.dynamicdrive.com/ for full source code
***********************************************/
if (document.getElementById){ //DynamicDrive.com change
document.write('<style type="text/css">\n')
document.write('.submenu{display: none;}\n')
document.write('</style>\n')
}
function SwitchMenu(obj){
if(document.getElementById){
var el = document.getElementById(obj);
var ar = document.getElementById("masterdiv").getElementsByTagName("span"); //DynamicDrive.com change
if(el.style.display != "block"){ //DynamicDrive.com change
for (var i=0; i<ar.length; i++){
if (ar[i].className=="submenu") //DynamicDrive.com change
ar[i].style.display = "none";
}
el.style.display = "block";
}else{
el.style.display = "none";
}
}
}
</script>
<title>Orlando Bloom        S  I  M  P  L  Y    O  R  L  A  N  D  O    O  N  L  I  N  E</title>
</head>
<body>
<img src="top-img.jpg" style="position:absolute; top:0px; left:0px;">
<div width="153" style="position:absolute; top:187px; left:4px;">
<script>
/*Current date script credit:
JavaScript Kit (www.javascriptkit.com)
Over 200+ free scripts here!
*/
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
document.write("<small><font color='000000' face='verdana' size='1'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+"</b></font></small>")
</script>
<br>
<br>
<div id="masterdiv">
<div class="menutitle" onclick="SwitchMenu('sub1')">Orlando</div>
<span class="submenu" id="sub1">
<img src="bulleticon.gif"> <a href="fastfacts.html" target="inline">Fast Facts</a><br>
<img src="bulleticon.gif"> <a href="biography.html" target="inline">Biography</a><br>
<img src="bulleticon.gif"> <a href="filmography.html" target="inline">Filmography</a><br>
<img src="bulleticon.gif"> <a href="quotes.html" target="inline">Quotes</a><br>
<img src="bulleticon.gif"> Awards & Recognition<br>
<img src="bulleticon.gif"> <a href="writetoorlando.html" target="inline">Write to Orlando</a><br>
<img src="bulleticon.gif"> <a href="#" onClick="window.open('obfaq.html','1932','width=400,height= 300,directories=no,location=no,menubar=no,scrollba rs=yes, status=no,toolbar=no,resizable=no,left=0,top=0, screenx=50,screeny=50');return false">OB FAQ</a>
</span>
<div class="menutitle" onclick="SwitchMenu('sub2')">Photo Gallery</div>
<span class="submenu" id="sub2">
<a href="http://www.orlandobloom.haveabanana.net" target="_blank"><img src="ug.jpg" border="0" alt="Click here to enter the Photo Gallery"></a>
</span>
<div class="menutitle" onclick="SwitchMenu('sub3')">Media Etc.</div>
<span class="submenu" id="sub3">
<img src="bulleticon.gif"> <a href="interviews.html" target="inline">Interviews</a><br>
<img src="bulleticon.gif"> <a href="articles.html" target="inline">Articles</a><br>
<img src="bulleticon.gif"> Avatars<br>
<img src="bulleticon.gif"> Bookmarks<br>
<img src="bulleticon.gif"> AIM Icons<br>
<img src="bulleticon.gif"> Desktop Wallpaper<br>
<img src="bulleticon.gif"> <a href="merchandise.html" target="inline">Merchandise</a><br>
<img src="bulleticon.gif"> <a href="freewebmail.html" target="inline">Free Webmail</a><br>
<img src="bulleticon.gif"> <a href="http://pub12.bravenet.com/postcard/post.php?usernum=950936676" target="_blank">Send an E-card</a>
</span>
<div class="menutitle" onclick="SwitchMenu('sub4')">Fan-Oriented</div>
<span class="submenu" id="sub4">
<img src="bulleticon.gif"> <a href="youropinion.html" target="inline">Your Opinion</a><br>
<img src="bulleticon.gif"> <a href="games.html" target="inline">Games</a><br>
<img src="bulleticon.gif"> Quizzes
<img src="bulleticon.gif"> <a href="http://pub65.ezboard.com/bsimplyorlandoonline" target="_blank">Forum</a><br>
<img src="bulleticon.gif"> <a href="fanfics.html" target="inline">Fan Fiction</a><br>
<img src="bulleticon.gif"> <a href="fanarts.html" target="inline">Fan Art</a><br>
<img src="bulleticon.gif"> Slambook
</span>
<div class="menutitle" onclick="SwitchMenu('sub5')">Site Stuff</div>
<span class="submenu" id="sub5">
<img src="bulleticon.gif"> <a href="about.html" target="inline">About</a><br>
<img src="bulleticon.gif"> <a href="staff.html" target="inline">The Staff</a><br>
<img src="bulleticon.gif"> <a href="awards.html" target="inline">Awards</a><br>
<img src="bulleticon.gif"> <a href="disclaimer.html" target="inline">Disclaimer</a><br>
<img src="bulleticon.gif"> <a href="http://pub12.bravenet.com/guestbook/show.php?usernum=950936676&cpv=1" target="_blank">Guestbook</a><br>
<img src="bulleticon.gif"> <a href="javascript:void(0)"
onclick="window.open('http://pub12.bravenet.com/guestmap/show.php?usernum=950936676&lightmap=0&icons=0&&entrylist=0&zoom=0&welcome=1','bnetguestmap','toolbar=0,location=0,di rectories=0,status=0,menubar=0,scrollbars=0,resiza ble=0,width=720,height=470,top=110,left=110')">Guestmap</a><br>
<img src="bulleticon.gif"> <a href="http://pub12.bravenet.com/freelink/show.php?usernum=950936676&cpv=1" target="_blank">OB Links</a><br>
<img src="bulleticon.gif"> <a href="linkback.html" target="inline">Link to SOO</a><br>
<img src="bulleticon.gif"> <a href="feedback.html" target="inline">Feedback Form</a>
</span>
Rosey
01-29-2004, 09:45 PM
Part 2:
<div class="menutitle" onclick="SwitchMenu('sub6')"><a href="inline.html" target="inline">Home</a></div><br>
<b><font size="1">Orlando Bloom SiteRing:</b>
<br><font size="-12"><a href="http://www.ringsurf.com">®</a> <a
href="http://www.ringsurf.com/netring?ring=blooming;id=1;action=prev">«</a>
<a href="http://starless-day.net/orlando">Mr.</a> <a href="http://www.ringsurf.com/netring?ring=blooming;action=list" target="_blank">Bloom</a> <a
href="http://www.ringsurf.com/netring?ring=blooming;id=1;action=next" target="_blank">»</a> <a href="http://www.ringsurf.com/netring?ring=blooming;action=rand" target="_blank">?</a> <a
href="http://www.ringsurf.com/?action=addform&ring=blooming" target="_blank">+</a></font>
<br>
<br><b>Our Host</b>
<br><a href="http://starless-day.net" target="_blank"><img src="sdbutton.jpg" border="0" alt="Helle @ Starless-Day[dot]Net"></a>
<br>
<br><b>Site Affiliates</b>
<br><a href="http://www.my-elf.de.vu/" target="_blank">Edhel en Amin</a>
<br><a href="http://orlandoheat.diaryland.com/" target="_blank"><img src="affie2.gif" border="0"></a>
<br><a href="http://www.legorlandoqf.cjb.net/" target="_blank"><img src="affie3.jpg" border="0"></a>
<br><a href="http://www.inanelvenbloom.cjb.net/" target="_blank"><img src="affie5.jpg" border="0"></a>
<br><a href="http://orlandobloom.haveabanana.net/" target="_blank"><img src="affie6.jpg" border="0"></a>
<br><a href="http://www.orli-elves.bravepages.com/" target="_blank"><img src="affie4.jpg" border="0"></a>
<br><a href="mailto:orlando@starless-day.net?subject=affiliates"><i>wanna?</i></a>
<br>
<br><b>Nominated at</b>
<br><a href="http://www.magical-illusions.net/awards/" target="_blank"><img src="nom1.jpg" border="0"></a>
<br><a href="http://enchanted.vanimar.net/Estelmire/" target="_blank"><img src="nom2.jpg" border="0"></a>
<br>
<br><b>Partner Site</b>
<br><a href="http://orlandobloom.haveabanana.net" target="_blank"><img src="ug.jpg" border="0"></a>
</div>
</div>
<div width=360 style="position:absolute; top:187px; left: 165px;">
<iframe name="inline" src="inline.html" width=480 height=950 marginwidth= marginheight=0 frameborder=1 scrolling=auto></iframe>
</div>
<div width=125 style="position:absolute; top:187px; left:660px;">
<br><center><iframe src="guides&quicklinks.html" frameborder="1" scrolling="yes" width="140px" height ="122px"></iframe>
<br>
<br><center><iframe src="http://orlandobloom.meetup.com/frame/headlineplus.jsp?css=/inc/frame.css&break=1&limit=5&target=_blank" frameborder="1" scrolling="yes" width="140px" height ="122px"></iframe>
<br>
<br><img src="potcsndtrk-sml.jpg" border="1"></a><br>
<center><a href="http://disney.store.go.com/DSOMBasketDetail.process" target="_blank">$18.99</a></center><br>
<img src="legopstr-sml.jpg" border="1"><br>
<center><a href="http://www.posternow.org/onlineshop?id=000000020000000200242904000000e304d9 6006&Global.CallFrom=cf0460&cart.chg.1.inumber=18983&cart.chg.1.quant=1&ChangeCart.totalitems=1.000000&Order.ShippingID=1" target="_blank">$5.99</a> (US)
<br>
<br>[<a href="merchandise.html" target="inline">Click here for more merchandise</a>]
<br>
<br>
<!-- Begin Sparklit HTML Code -->
<form NAME=Choices808831 ACTION="http://vote.sparklit.com/poll.spark?pollID=808831" METHOD="POST">
<input TYPE=hidden NAME=ID VALUE="808831">
<table ID="DisplayVote808831" width=123 cellPadding=3 cellSpacing=2 bgcolor="#5588CC">
<tr><td><b><font size="-1" color="#FFFFFF" style="font-family: Verdana; font-weight: bold">New Poll</font></b></td></tr>
<tr><td bgcolor="#c0c0c0"><font size="-1" color="#000000" style="font-family: Verdana">
Which movie did you like Orli the most?<br><br>
<table border=0>
<tr><td><input name="ballot" type="radio" value="0"></td><td><font size="-1" color="#000000" style="font-family: Verdana">LotR</font></td></tr> <tr><td><input name="ballot" type="radio" value="1"></td><td><font size="-1" color="#000000" style="font-family: Verdana">Pirates</font></td></tr> <tr><td><input name="ballot" type="radio" value="2"></td><td><font size="-1" color="#000000" style="font-family: Verdana">Black Hawk Down</font></td></tr> <tr><td><input name="ballot" type="radio" value="3"></td><td><font size="-1" color="#000000" style="font-family: Verdana">Ned Kelly</font></td></tr>
</table><br>
</font>
<div align="right"><small><a HREF="http://vote.sparklit.com/poll.spark/808831" style="font-family: Verdana" target="_blank">Current Results</a>
<a HREF="suggestpoll.html" target="inline" style="font-family: Verdana">Suggest Next Poll</a>
</small></div></td></tr>
<tr align="right"><td><input TYPE="submit" STYLE="background-color: #696969 ; border: 1px solid #2f4f4f; color: #2f4f4f; font-family: Verdana; font-weight: bold; cursor: hand; width: 113" WIDTH=113 VALUE="VOTE" NAME="submit"></td></tr>
</table>
<div style="margin-top:2" align="center"></div>
</form>
</td></tr>
</table>
</body>
</html>
isk8fororli
01-30-2004, 08:47 PM
Hi Rosey! I'd just like to say thanks! Oh gosh, everything you posted worked perfectly! As a thanks, I posted a linkback on the site, directed to this forum. If you want me to change anything with the link, just let me know. :)
Rosey
01-31-2004, 06:03 AM
no prob :) and to the forum is fine.