Forum home


Latest Shouts In The Shoutbox --     View The Shoutbox
Mediar -- I am proud to say that Mediar's Site has more than 36 000 visits since February 2008. emo-wow.gif   ·   Fahim_07 -- We need more active members here!   ·   Mediar -- On 14 November my site has got the 11 111 visitor! Screenshot   ·   Mediar -- Announcement - My home site has already 10 000 visits from February untill now! emo-smile.gif   ·   Mediar -- For the Guests - we need a forum news poster. If you want to be the chosen, register and send me PM.   ·  


  Reply to this topicStart new topicStart Poll

» Jokes For The Home Site
Offline Mediar
Posted: Sep 23 2008, 06:23 PM
Quote Post


Site Admin
Group Icon
****

Group: Admin
Posts: 220
Joined: 2-January 08
Member No.: 2
OS: Windows XP SP3, Windows 7 RC
Country:




I need some javascript jokes for the home page. I will try to change it every mounth. Look what have I puted here inder the header "Joke of the month". And remember - no popups and blink images. :!:

I am waiting your suggestions! :)
PMEmail PosterUsers Website
Top
Offline super xero
Posted: Jul 9 2009, 08:43 PM
Quote Post


Advanced User
***

Group: Members
Posts: 73
Joined: 19-June 08
Member No.: 14
OS: XP SP2
Country:




Sure I will look some up.
PMEmail Poster
Top
Offline super xero
Posted: Jul 9 2009, 08:52 PM
Quote Post


Advanced User
***

Group: Members
Posts: 73
Joined: 19-June 08
Member No.: 14
OS: XP SP2
Country:




Add a bit of interactive fun with this great random joke javascript. The random joke script gives out funny random computer related puns. You can easily alter this random script to give random quotes, random jokes or any subject you want.

Your visitor clicks on the input button and the random computer pun is generated in a dialogue box. Very smart and very effective.

STEP 1

Copy the code below and paste this into the <head> of your html document. The jokes or messages can be altered in this part.

CODE
<script LANGUAGE="JavaScript">
<!-- Distributed by http://www.hypergurl.com Begin function stClock() { window.setTimeout(
"stClock()", 1000 ); today = new Date(); self.status = today.toString();
} function getMessage() { var ar = new Array(20) ar[0] = "Buy a Pentium 586/90
so you can reboot faster." ar[1] = "2 + 2 = 5 for extremely large values
of 2." ar[2] = "Anything that can go wrong will go wrong." ar[3]
= "Computers make very fast, very accurate mistakes." ar[4] = "My
software never has bugs. It just develops random features." ar[5] = "If
anything simply cannot go wrong, it will anyway." ar[6] = "Best file
compression around: \"DEL *.*\" = 100% compression" ar[7] = "The
Definition of an Upgrade: Take old bugs out, put new ones in." ar[8] = "If
everything seems to be going well, you have obviously overlooked something."
ar[9] = "BREAKFAST.COM Halted...Cereal Port Not Responding" ar[10] =
"BUFFERS=20 FILES=15 2nd down, 4th quarter, 5 yards to go!" ar[11] =
"It is impossible to make anything foolproof because fools are so ingenious."
ar[12] = "Bad command. Bad, bad command! Sit! Stay! Staaay..." ar[13]
= "Every solution breeds new problems." ar[14] = "As a computer,
I find your faith in technology amusing." ar[15] = "Two wrongs are only
the beginning." ar[16] = "Shell to DOS... Come in DOS, do you copy?
Shell to DOS..." ar[17] = "All computers wait at the same speed."
ar[18] = "DEFINITION: Computer - A device designed to speed and automate
errors." ar[19] = "Success always occurs in private, and failure in
full view." var now = new Date() var sec = now.getSeconds() alert("Quote:\r"
+ ar[sec % 20]) } // End --> </SCRIPT>


STEP 2

Place this event hadler code into the <body> tag of your html document. onLoad="stClock()"

<body onLoad="stClock()">

STEP 3

Copy the code below and paste this into the content area of your html document between the <body> and </body> tags where you want the Computer Jokes Button to appear on your webpage.

CODE
<CENTER>
<FORM> <INPUT TYPE="button" VALUE="Random Computer Jokes"
onClick="getMessage()"> </FORM> </CENTER>


Enjoy and hope it works.

This post has been edited by super xero on Jul 9 2009, 08:54 PM
PMEmail Poster
Top
Offline Mediar
Posted: Jul 10 2009, 07:20 AM
Quote Post


Site Admin
Group Icon
****

Group: Admin
Posts: 220
Joined: 2-January 08
Member No.: 2
OS: Windows XP SP3, Windows 7 RC
Country:




Ok. I will try this. ;)
PMEmail PosterUsers Website
Top
Offline Fahim_07
Posted: Jul 10 2009, 05:41 PM
Quote Post


Friend
Group Icon
****

Group: Moderators
Posts: 124
Joined: 13-June 08
Member No.: 9
OS: Windows vista
Country:




Whack Whack Whack that was out of my mind!!
PMEmail PosterUsers WebsiteMSN
Top
Offline super xero
  Posted: Jul 13 2009, 10:36 PM
Quote Post


Advanced User
***

Group: Members
Posts: 73
Joined: 19-June 08
Member No.: 14
OS: XP SP2
Country:




Look at this one lol
http://www.kissmyfloppy.com/pages/jokes.php?id=64

This post has been edited by super xero on Jul 13 2009, 10:47 PM
PMEmail Poster
Top
Offline Mediar
Posted: Jul 14 2009, 05:53 PM
Quote Post


Site Admin
Group Icon
****

Group: Admin
Posts: 220
Joined: 2-January 08
Member No.: 2
OS: Windows XP SP3, Windows 7 RC
Country:




The first joke you posted doesn't work. Frontpage gave me an "script error". I can give you screenshot.
PMEmail PosterUsers Website
Top
Offline super xero
Posted: Jul 14 2009, 10:56 PM
Quote Post


Advanced User
***

Group: Members
Posts: 73
Joined: 19-June 08
Member No.: 14
OS: XP SP2
Country:




I knew that was going to happen <_< . No need for a screenshot.
PMEmail Poster
Top
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll

 

Lo-Fi Version
   Script Execution time: 0.0397    13 queries used    GZIP Enabled
Your last action was on: A minute ago