Jump to content
MakeWebGames

-CrAzY-

Members
  • Posts

    150
  • Joined

  • Last visited

    Never

-CrAzY-'s Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. Re: [mccode] Ajax chat script Hi, Is there anyway instead of it just inputting the Message it could input this: <div align='Center'><table width="100%" cellspacing="0" cellpadding="0" border="0" id="table1"> <tr><td width="2"> <p style="margin-top: 0; margin-bottom: 0"> </td><td background="header_center.png"> <p style="margin-top: 0; margin-bottom: 0"><font face="Verdana" size="1" color="White"><center>Name Says: Message</center></font></td> <td width="2"> <p style="margin-top: 0; margin-bottom: 0"> </td></tr></table></div> I've tried fiddling with: $out = $chattext . $n . $spaces . "| " . $msg . "\n"; But it rejects it, Can any body help
  2. Ok, So i have a iFrame, And i want it so when i click a link the page appears in the iframe but the iFrame automatically goes to the height of the page shown, Now!, This is easy in IE:   <script type="text/javascript" language="javascript"> function getElement(id) { return document.getElementById? document.getElementById(id) : document.all? document.all(id) : null; } function getIFRAME_doc_height(oIframe) { return document.body && document.body.scrollHeight? oIframe.document.body.scrollHeight : oIframe.document.height? oIframe.document.height : null; } function IFRAME_size_to_content(iframe_id) { var oIframe = frames[iframe_id]; if (typeof oIframe!= 'undefined') { var wid = getElement(iframe_id).offsetWidth; var hgt = getIFRAME_doc_height(oIframe); if (wid && hgt) oIframe.resizeTo(wid,hgt); } } onload = function() { IFRAME_size_to_content('content'); } </script> <script type='text/javascript'> function elem(id) { return document.getElementById(id); } function iframeLoaded() { var idoc = elem('content').contentDocument; idoc.body.innerHTML = "awideriframethatshouldbeallononeline"; var more = " qwer poiu"; for (var i=10;i--;) idoc.body.innerHTML += more; alert(idoc.defaultView.location.href); // see [url]http://www.mozilla.org/docs/dom/dom...ndow_ref76.html[/url] idoc.defaultView.sizeToContent(); } </script>   But when i came to testing my site, After being pleased that it looked great in IE, I tested it on FireFox, And that script wouldn't work, Has any one got the script to make it work in FF, Cheers ;)
  3. Re: Please Can Someone Give Me A Kill Mod - Where Users Can Kill Each Other Hey1, Im bk!, i've been offline for a while! and GAAWDD!< this topic is ancient!
  4. Re: FREE SERVER THAT WORKS WITH MCCODES Thats My Server Right Now, x10 Rules!
  5. Re: F.A.Q. http://64.233.183.104/search?q=cache:2t ... cd=2&gl=uk
  6. Re: [mccode] mailbox with smilies go on www.gangparadise.com, register, login, then go on send message, n right click on all them and save them, there mint smilies
  7. Re: [mccode] mailbox with smilies Please Tell Me, I Want It Just Like When You Reply To A Topic On CE
  8. Re: [mccode] mailbox with smilies Is There Anyway I Could Add Some Buttons, Above The Msg Box, And Say When You Press The One With The Smiley Face It Enters :)
  9. Re: How Can I Make It So When Someone Presses F5 It Goes To news.php................ I Have, Its Mint, But Upseeting
  10. Re: How Can I Make It So When Someone Presses F5 It Goes To news.php................ I Can't :(
  11. Re: How Can I Make It So When Someone Presses F5 It Goes To news.php................ Can You Give Me The Code, Or Do I JUst Stick That In??
  12. On My Game When People Press F5 ( Refresh ) , It Refreshes But Stays On The Same Page, I Want It So When You Press F5 It Refreshes But Goes To news.php, Or index.php, Thanks!
  13. Says VALID Next To Your Username Once You've Entered It And Its Ok, And Pass Too, Can Someone Post The Code Here, THanks
  14. Re: Random Banner On Login.php   </style> </head> <body onload="getme();">EOF; $auto = (int)rand(1, 2); if ($auto == 1) { print"[img=banners/1.jpg]"; } if ($auto == 2) { print"[img=banners/2.jpg]"; } $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; if(file_exists('ipbans/'.$ip)) {die("[b]<font color=red size=+1>Your IP has been banned, there is no way around this. If you feel this is unfair please contact the Admin! </font>[/b]</body></html>"); }   =   Please Help
  15. I Tryed This:   $auto = (int)rand(1, 2); if ($auto == 1) { [img=banners/1.jpg]; } if ($auto == 2) { [img=banners/2.jpg]; } EOF; $ip = ($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; if(file_exists('ipbans/'.$ip)) {   in login.php But It Just Shows Two Banners And Some Writing ( if ($auto == 2) .. Etc. )   Can Someone Help
×
×
  • Create New...