Go Back   Computer Forums > Web Design | Website Development > Web Programming
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 06-14-2005, 02:53 PM   #1
Baseband Member
 
habook2's Avatar
 
Join Date: Jun 2005
Posts: 60
Send a message via AIM to habook2
Default Random script driving me NUTS!

Jeez! See for yourself! http://www.laughsaplenty.com/joke/main.htm

WHY IS MY RANDOM SCRIPT DOING THIS?!?!?!?!?!?!!? It's hosted by Tripod, but the script is from them to begin with! Please help!
__________________

__________________
Check my website www.laughsaplenty.com and join the forums

Asus A8N-E mobo - Asus AX850 graphics w/ 5556 in 3DMark05 - AMD 64 Athalon 3500+ - WAS Antec SLK3700-BQE case w/350w psu, IS Aspire X-Infinity w/same psu - 2 gigs normal ram - 160 gig SATA HD - 3 dvd drivesdont click this link
habook2 is offline   Reply With Quote
Old 06-15-2005, 06:02 AM   #2
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,006
Default Re: Random script driving me NUTS!

what is the random behaviour?

is it just the layou, (ie the joke is so far down the page and sqashed up), or is there something else that I'm not seeing?s
__________________

root is offline   Reply With Quote
Old 06-15-2005, 11:34 AM   #3
Baseband Member
 
habook2's Avatar
 
Join Date: Jun 2005
Posts: 60
Send a message via AIM to habook2
Default

It's just that its way down and squished up. That's all, I hope... What it's supposed to do is pick a random file from www.laughsaplenty.com/jokedb/ and display it, but why is it all messed up?
__________________
Check my website www.laughsaplenty.com and join the forums

Asus A8N-E mobo - Asus AX850 graphics w/ 5556 in 3DMark05 - AMD 64 Athalon 3500+ - WAS Antec SLK3700-BQE case w/350w psu, IS Aspire X-Infinity w/same psu - 2 gigs normal ram - 160 gig SATA HD - 3 dvd drivesdont click this link
habook2 is offline   Reply With Quote
Old 06-15-2005, 06:31 PM   #4
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,006
Default Re: Random script driving me NUTS!

the problem is the layout, the tables are not properly nestedinside of each other,

I blame either the editor you are using, on that you have coppied a page source ino the editor and not really edited it...

andway I took this. original source...
Code:
<!-- \/ starthtml -->
<html>
 <head>
   <!-- The block of META tags is required by Homepage Studio  -->
   <!-- to identify this file as created by Freeform Editor.   -->
   <!-- Please do not remove them, but feel free to append     -->
   <!-- them with your personal data below. Meta tags help     -->
   <!-- search engines identify the content of your page.       -->
   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
   <META NAME="keywords" CONTENT="enter keywords here">
   <META NAME="description" CONTENT="enter a description here">
   <META NAME="author" CONTENT="enter your name here">
   <META NAME="generator" CONTENT="FreeFormEditor 1.0">
 <title>Jokes at Laughs Aplenty</title><STYLE type="text/css"><!-- A:link{color:006633;text-decoration:underline} A:visited{color:0033FF;text-decoration:underline} A:active{color:FFFF99;text-decoration:underline} A:hover{color:FFFF99;text-decoration:underline} --></STYLE><body background=http://www.laughsaplenty.com/layout/background.jpg>
<table border=0 cellpadding=0 cellspacing=0 width=150%><tr><td><img src=http://www.laughsaplenty.com/layout/titletop.jpg width=767></td></tr><table border=0 cellpadding=0 cellspacing=0 width=10.54%><tr><td style="vertical-align: top" width=100%><img src=http://www.laughsaplenty.com/layout/ourstuff.jpg width=150><br><a href=http://www.laughsaplenty.com/main.htm width=150><img src=http://www.laughsaplenty.com/layout/main.jpg border=0 width=150></a><br><a href=http://www.laughsaplenty.com/joke/main.htm><img src=http://www.laughsaplenty.com/layout/jokes.jpg border=0 width=150></a><br><a href=http://www.laughsaplenty.com/brain/main.htm><img src=http://www.laughsaplenty.com/layout/riddles.jpg border=0 width=150></a><br><a href=http://www.laughsaplenty.com/img/main.htm><img src=http://www.laughsaplenty.com/layout/layoutpictures.jpg border=0 width=150></a><br><a href=http://www.laughsaplenty.com/advertise.htm><img src=http://www.laughsaplenty.com/layout/advertise.jpg border=0 width=150></a><br><a href=http://www.laughsaplenty.com/donate.htm><img src=http://www.laughsaplenty.com/layout/donate.jpg border=0 width=150></a><br><a href=http://www.laughsaplenty.com/about.htm><img src=http://www.laughsaplenty.com/layout/aboutus.jpg border=0 width=150></a><br><a href="mailto:submissions@laughsaplenty.com"><img src=http://www.laughsaplenty.com/layout/submit.jpg border=0 width=150></a></td><center><td style="vertical-align: top"><center><font size=6 face="Kristen ITC" color=FF6600><align=right>
<BR><!-- \/ starthtml -->
<BR><html>
<BR> <head>
<BR>   <!-- The block of META tags is required by Homepage Studio  -->
<BR>   <!-- to identify this file as created by Freeform Editor.   -->
<BR>   <!-- Please do not remove them, but feel free to append     -->
<BR>   <!-- them with your personal data below. Meta tags help     -->
<BR>   <!-- search engines identify the content of your page.       -->
<BR>   <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<BR>   <META NAME="keywords" CONTENT="enter keywords here">
<BR>   <META NAME="description" CONTENT="enter a description here">
<BR>   <META NAME="author" CONTENT="enter your name here">
<BR>   <META NAME="generator" CONTENT="FreeFormEditor 1.0">
<BR>   <TITLE></TITLE>
<BR> </head>
<BR><body bgcolor="#FFFFFF" text="#000000" link="#0000EE" vlink="#551A8B">
<BR><Width=100%> Chet the Parrot<br><font size=4> Once there was this guy who forgot to get his wife a Christmas present until Christmas Eve. In desperation, he tried every store in town, but they were all closed. He finally came upon a pet store that was open. He went inside and said "I need a Christmas present for my wife, now!" The clerk said "No problem and led him to a parrot.”What's so special about a parrot?" he asked, and the clerk just put his finger to his lips. He lit a match and put it under the bird's right foot. It started singing "Jingle bells, jingle bells, jingle all the way!” He put the match under the bird's left foot, and he started singing "Deck the halls with boughs of holly, fa la la la laaaa la la la la!" The man was very impressed and bought the bird on the spot. He named him Chet. He took it home. The next morning, his wife unwrapped him, and the guy put it through its paces. Then, the wife got curious and asked "What happens if we put the match between his legs?" So they tried it. They lit the match, put it between his legs, and waited. The bird looked puzzled for a moment, and then started singing "Chet's nuts roasting on an open fire,"
<BR></body>
<BR></html>
<BR><!-- /\ end html  -->
<BR>   <BR>[an error occurred while processing this directive]
</td></table></body>
</html>
<!-- /\ end html  -->
and turned it into this new source, yuo'll still want to change a few things abviously.
Code:
<html>
    <head>
        <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
        <META NAME="keywords" CONTENT="enter keywords here">
        <META NAME="description" CONTENT="enter a description here">
        <META NAME="author" CONTENT="enter your name here">
        <META NAME="generator" CONTENT="FreeFormEditor 1.0">
        <title>Jokes at Laughs Aplenty</title>
        <STYLE type="text/css">
            <!--
            A:link{color:006633;text-decoration:underline}
            A:visited{color:0033FF;text-decoration:underline}
            A:active{color:FFFF99;text-decoration:underline}
            A:hover{color:FFFF99;text-decoration:underline} -->
        </STYLE>
    </head>
    <body background=http://www.laughsaplenty.com/layout/background.jpg>
        <table border=0 cellpadding=0 cellspacing=0 width=767>
            <tr>
                <td>
                    <img src=http://www.laughsaplenty.com/layout/titletop.jpg width=767>
                </td>
            </tr>
            <tr>
                <td>
                    <table border=0 cellpadding=0 cellspacing=0 >
                        <tr>
                            <td style="vertical-align: top" width=160 bgcolor=00ff00>
                                <img src=http://www.laughsaplenty.com/layout/ourstuff.jpg width=150>
                                <br><a href=http://www.laughsaplenty.com/main.htm width=150><img src=http://www.laughsaplenty.com/layout/main.jpg border=0 width=150></a>
                                <br><a href=http://www.laughsaplenty.com/joke/main.htm><img src=http://www.laughsaplenty.com/layout/jokes.jpg border=0 width=150></a>
                                <br><a href=http://www.laughsaplenty.com/brain/main.htm><img src=http://www.laughsaplenty.com/layout/riddles.jpg border=0 width=150></a>
                                <br><a href=http://www.laughsaplenty.com/img/main.htm><img src=http://www.laughsaplenty.com/layout/layoutpictures.jpg border=0 width=150></a>
                                <br><a href=http://www.laughsaplenty.com/advertise.htm><img src=http://www.laughsaplenty.com/layout/advertise.jpg border=0 width=150></a>
                                <br><a href=http://www.laughsaplenty.com/donate.htm><img src=http://www.laughsaplenty.com/layout/donate.jpg border=0 width=150></a>
                                <br><a href=http://www.laughsaplenty.com/about.htm><img src=http://www.laughsaplenty.com/layout/aboutus.jpg border=0 width=150></a>
                                <br><a href="mailto:submissions@laughsaplenty.com"><img src=http://www.laughsaplenty.com/layout/submit.jpg border=0 width=150></a>
                            </td>
                            <td>
                                <font size=6 face="Kristen ITC" color=FF6600>
                                <BR> Chet the Parrot<br>
                                <font size=4>
          Once there was this guy who forgot to get his wife a Christmas present until Christmas Eve. In desperation, he tried every store in town, but they were all closed. He finally came upon a pet store that was open. He went inside and said "I need a Christmas present for my wife, now!" The clerk said "No problem and led him to a parrot.”What's so special about a parrot?" he asked, and the clerk just put his finger to his lips. He lit a match and put it under the bird's right foot. It started singing "Jingle bells, jingle bells, jingle all the way!” He put the match under the bird's left foot, and he started singing "Deck the halls with boughs of holly, fa la la la laaaa la la la la!" The man was very impressed and bought the bird on the spot. He named him Chet. He took it home. The next morning, his wife unwrapped him, and the guy put it through its paces. Then, the wife got curious and asked "What happens if we put the match between his legs?" So they tried it. They lit the match, put it between his legs, and waited. The bird looked puzzled for a moment, and then started singing "Chet's nuts roasting on an open fire,"
                                <BR>
                                <BR>   <BR>[an error occurred while processing this directive]
                            </td>
                        </tr>
                    </table>
                </td>
            </tr>
        </table>
    </body>
</html>
root is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off



All times are GMT -5. The time now is 08:08 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0