ComputerForum.com ComputerForum.com  
TigerDirect
 
Go Back   Computer Forum > General Chat > General Computer Chat

Reply
 
LinkBack Thread Tools Display Modes
Old 04-01-2006, 02:50 AM   #1 (permalink)
Bronze Member
 
change_the_world 2.0's Avatar
 
Join Date: Feb 2006
Posts: 46
Default scripts for tables

anyone know where i can find scripts for a table like this one...
www.the-subways.com
i really like that way but im having trouble recreating it.
can you guys give me any help/
change_the_world 2.0 is offline   Reply With Quote


Old 04-01-2006, 03:44 AM   #2 (permalink)
SFR
SUPER MODERATOR
 
SFR's Avatar
 
Join Date: Nov 2004
Location: San Diego, USA
Age: 24
Posts: 3,923
Default

It is actually an iFrame. <iframe scrolling="auto" src="link to otherpage"></iframe>

Inside the IFrame there is a link to another page and that page uses a style sheet.

<link href=".css file" rel="stylesheet" type="text/css"/>

The background of that page is an image and to get that image to stay fixed two of the lines in the style sheet are:

body {
background-repeat: no-repeat;
background-attachment: fixed;
}
simple html and css... But, make sure on your website you put comments with where you borrow code from....
__________________
The real danger is not that computers will begin to think like men,
but that men will begin to think like computers.
~Sydney J. Harris

I haven't lost my mind; I have a tape back-up somewhere.

What the world needs is more geniuses with humility, there are so few of us left.
~Oscar Levant

Relax, its only Ones and Zeros

Last edited by SFR; 04-01-2006 at 03:51 AM.
SFR is offline   Reply With Quote
Old 04-03-2006, 01:58 AM   #3 (permalink)
Bronze Member
 
change_the_world 2.0's Avatar
 
Join Date: Feb 2006
Posts: 46
Default

can anyone build me a table like these ones that are black
www.ivoryband.com
change_the_world 2.0 is offline   Reply With Quote
Old 04-03-2006, 02:18 AM   #4 (permalink)
SFR
SUPER MODERATOR
 
SFR's Avatar
 
Join Date: Nov 2004
Location: San Diego, USA
Age: 24
Posts: 3,923
Default

Quote:
Originally Posted by change_the_world 2.0
can anyone build me a table like these ones that are black
www.ivoryband.com
Code:
<table border="0" align="center" cellpadding="1" cellspacing="1">
        <td width="46%" valign="top" bordercolor="#000000" bgcolor="#000000">
        <p> 
          <center>
            <font color="#FFFFFF"> 
            <IFRAME SRC="ADDPAGEHERE" WIDTH=260 HEIGHT=330 FRAMEBORDER=0></IFRAME>
            </font> 
          </center>
        </p></td>
      <td width="52%" valign="top" bordercolor="#000000" bgcolor="#000000">
          <center>
            <font color="#FFFFFF"> 
            <IFRAME SRC="ADDPAGEHERE" WIDTH=260 HEIGHT=330 FRAMEBORDER=0></IFRAME>
            </font> 
          </center>
        </p></td>
    </tr>
   </table>
all you need to do is create 2 other pages the content of each iframe and place the link where it says ADDPAGEHERE and make the body background black <body bgcolor="black"> for each page

you need to either learn html or learn to use what other people have created and CHANGE IT TO MAKE IT YOUR OWN.
__________________
The real danger is not that computers will begin to think like men,
but that men will begin to think like computers.
~Sydney J. Harris

I haven't lost my mind; I have a tape back-up somewhere.

What the world needs is more geniuses with humility, there are so few of us left.
~Oscar Levant

Relax, its only Ones and Zeros

Last edited by SFR; 04-03-2006 at 02:20 AM.
SFR is offline   Reply With Quote
Old 04-03-2006, 02:37 AM   #5 (permalink)
Platinum Member
 
diroga's Avatar
 
Join Date: Mar 2005
Location: WA,USA
Posts: 863
Default

dude: read up on HTML::library or http://www.w3schools.com. then look at the scource for the webpage!!(right click view source pr in the toolbar)
diroga is offline   Reply With Quote


Old 04-03-2006, 01:08 PM   #6 (permalink)
Bronze Member
 
change_the_world 2.0's Avatar
 
Join Date: Feb 2006
Posts: 46
Default

<table border="0" align="center" cellpadding="1" cellspacing="1">
<td width="46%" valign="top" bordercolor="#000000" bgcolor="#000000">
<p>
<center>
<font color="#FFFFFF">
<IFRAME SRC="http://ivoryband.com/news.php"WIDTH=260 HEIGHT=330 FRAMEBORDER=0></IFRAME>
</font>

</center>
</p></td>
<td width="52%" valign="top" bordercolor="#000000" bgcolor="#000000">
<center>
<font color="#FFFFFF">
<IFRAME SRC="http://ivoryband.com/news.php" WIDTH=260 HEIGHT=330 FRAMEBORDER=0></IFRAME>
</font>

</center>
</p></td>
</tr>
</table>

okay now i have that. it appear with those two tabels i wanted but it still has the text. how do i get rid of that text to enter my own? sorry for all the questions for i am jsut starting out and learning. thank you.
change_the_world 2.0 is offline   Reply With Quote
Old 04-03-2006, 01:36 PM   #7 (permalink)
P.I Dragon
 
dragon2309's Avatar
 
Join Date: May 2005
Location: KENT, UK
Age: 20
Posts: 8,429
Default

not sure what "text" your talking about, but the onyl visible text there is from the source pages, the news.php pages from that ivoryband site. I thought this was for your own site, why are you linking to their pages. If you put the SRC page as something you created, like mypage.html then whatever s in mypage.html will be "echoed" (for want of a better word) in the IFRAME frame.

Unless you are the owner of that ivoryband site, then i cant see a reason why you would want their news.php file as your frame contents, make your own.

Oh and yeh, seriously, learn some HTML, this is very basic stuff, you shoudl know this already.

dragon
__________________
Intel Core2Duo E6600 @ 3.1Ghz - (__CPU__)
eVGA 680i SLi - (__MOB__)
4Gb Corsair Dominator DDR2-800 (4x1024Mb) - (__RAM__)
250Gb Western Digital SATAII 7200rpm - (__HDD__)
nVidia BFG 8800GTS OC 320Mb - (__GFX__)
LG DVD+/-RW 18x DVD-RAM - (__OPT__)
Triple Boot - [XP Pro] + [Vista Ultimate] + [Ubuntu 7.10] - (__OS__)

[3DMARK'03 :: 25,587] --- [3DMARK'05 :: 13,989] --- [3DMARK'06 :: 8791] - (__BENCHMARKS__)


dragon2309.co.uk - a little slice of geek


Last edited by dragon2309; 04-03-2006 at 03:38 PM.
dragon2309 is offline   Reply With Quote
Old 04-03-2006, 01:51 PM   #8 (permalink)
Administrator
 
apj101's Avatar
 
Join Date: Apr 2005
Location: London
Age: 26
Posts: 9,169
Default

basically dragon has said all i wanted to say here, but just to reitterate, you have linked the 2 iframes in you table to the ivoryband news site, so it hardly supprising that the pages fill up with that text from that site
You need to create you own web page beit html, php, cgi, etc... and in the scr tell the iframe to go to your new page eg
create a page called MY_IFRAME_TEXT.html

to display the contents of the MY_IFRAME_TEXT.html within an iframe you would use
<IFRAME SRC="{path to the file/}MY_IFRAME_TEXT.html " WIDTH=260 HEIGHT=330 FRAMEBORDER=0></IFRAME>

to recreate the iframe in the subway site you will see this code
<iframe width="650" height="380" allowtransparency="true" align="top" frameborder="0" name="MainContent" id="MainContent" scrolling="auto" src="news.php"></iframe>
apj101 is offline   Reply With Quote
Old 04-03-2006, 04:45 PM   #9 (permalink)
SFR
SUPER MODERATOR
 
SFR's Avatar
 
Join Date: Nov 2004
Location: San Diego, USA
Age: 24
Posts: 3,923
Default

...I guess he did not read my entire response... "all you need to do is create 2 other pages, the content of each iframe and place the link where it says ADDPAGEHERE"


I agree with dragon2309 and apj101, until you know HTML basics (www.w3schools.com) you should not even attempt to create a web site. Even if you copy (and site your sources) every piece of HTML code from other sites, you still need to know the basics!
__________________
The real danger is not that computers will begin to think like men,
but that men will begin to think like computers.
~Sydney J. Harris

I haven't lost my mind; I have a tape back-up somewhere.

What the world needs is more geniuses with humility, there are so few of us left.
~Oscar Levant

Relax, its only Ones and Zeros
SFR is offline   Reply With Quote
Old 04-04-2006, 01:25 AM   #10 (permalink)
Bronze Member
 
change_the_world 2.0's Avatar
 
Join Date: Feb 2006
Posts: 46
Default

i feel so dumb. that stuff all makes sense now. thank you guys.
change_the_world 2.0 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:56 AM.


Powered by: vBulletin Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 ©2008, Crawlability, Inc.
Copyright © 2002-2008 Computer Forum and Web Design Forum