Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

JavaScript Forum


You are currently viewing our JavaScript Forum as a guest. Please register to participate.
Login



Reply
Please somebody that knows javascript help a noob!
Old 05-15-2007, 02:47 PM Please somebody that knows javascript help a noob!
Junior Talker

Posts: 1
Trades: 0
Hey everybody, PLEASE help with this if you know the following:

I'm retarded at best... and have spent 2 days on this crap:

Code:
<html>
<body>
<script>
if (!document.layers)
document.write('<div id="divStayTopLeft" style="position:absolute">')
</script>

<layer id="divStayTopLeft">
<table border="1" width="150" cellspacing="0" cellpadding="0">
  <tr>
    <td width="100%" bgcolor="wheat">
      <p align="center"><b><font size="3">Menu</font></b></td>
  </tr>
  <tr>
    <td width="100%" bgcolor="#FFFFFF">
<a href="" style="text-decoration:none"><B>Home</B></a><BR>
<a href="" style="text-decoration:none"><B>Contact Us</B></a><BR>
<a href="" style="text-decoration:none"><B>blank</B></a><BR>
<a href="" style="text-decoration:none"><B>blank</B></a><BR>
<a href="" style="text-decoration:none"><B>blank</B></a><BR>
<a href="" style="text-decoration:none"><B>blank</B></a><BR>
<a href="" style="text-decoration:none"><B>blank</B></a></TD>
  </tr>
</table>
</script>
<br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br>
<br><br><br><br><br><br><br><br><br>
</body>
</html>
If you save that as an html file and check that out you'll see the effect that i'm going for. What I need to know is how to get that into a normal website table:

Code:
<html>
<head>
<title></title>
<META content="" name=description>
<META content="i" name=keywords>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1491" name=GENERATOR>
<link rel="stylesheet" type="text/css" href=""></HEAD>

<body topmargin="0" leftmargin="0" bgcolor="#C0C0C0">

<center><br>
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="520">

<tr>
      <td width="100%">

<table border="0" cellspacing="0" width="650" cellpadding="0"bgcolor="#FFFFFF" style="border-collapse: collapse" 

bordercolor="#111111">

    <tr>
        <td><p></p></td>
    </tr>
</table>
</body>
</html>
Is there a way to nest that into a centered table? Is there another way somebody can get the menu effect that i'm going for inside a typical style (centered) default website-- or just outside of it?

!!PLEASE HELP!!


Thanks very much!

Last edited by stinkbum; 05-15-2007 at 02:57 PM.. Reason: explain better
stinkbum is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 05-15-2007, 08:48 PM Re: Please somebody that knows javascript help a noob!
vangogh's Avatar
Post Impressionist

Posts: 10,689
Name: Steven Bradley
Location: Boulder, Colorado
Trades: 0
I'm not entirely sure I understand what you're asking. You're javascript is really doing nothing so I don't know why this is a javascript question.

If you want that table to be nested inside a centered table then add it inside the cell of a centered table. It sounds like you already know how to do that which is why I'm not really following.

If you don't mind could you describe more what you are trying to do with the entire page?

Is the issue that you don't understand how to nest tables inside each other? Or is there something more. I'll be happy to help, but I'm just not quite sure where you need the help.
__________________
l Search Engine Friendly Web Design |
Please login or register to view this content. Registration is FREE

l Tips On Marketing, SEO, Design, and Development |
Please login or register to view this content. Registration is FREE

l
Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
vangogh is offline
Reply With Quote
View Public Profile Visit vangogh's homepage!
 
Reply     « Reply to Please somebody that knows javascript help a noob!
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.09737 seconds with 12 queries