The Veritas Society
*
*
Home
Forums
Chat
Help
Search
Login
Register
Welcome, Guest. Please login or register.
Did you miss your activation email?
November 22, 2008, 01:56:47 AM

Login with username, password and session length
Search:

  Advanced search
140831 Posts in 10477 Topics by 5195 Members - Latest Member: - Bailmibroro Most online today: 37 - most online ever: 430 (June 28, 2007, 02:58:51 PM)
+  The Veritas Society
|-+  Feedback
| |-+  Questions & Suggestions
| | |-+  Technical Support
| | | |-+  WTF is going on!
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: WTF is going on!  (Read 494 times)
Australian Warriors
Veritas Furniture
****
Posts: 418



View Profile
« on: November 11, 2005, 03:13:27 AM »

when i try to send a message, the screen is displayed as this:

n\t\t\n\t\t\n\t'); smileyPopupWindow.document.write('\n\t\n\t\t

n\t\t\t Pick a smiley\n\t\t\t
'); for (row = 0; row < smileys.length; row++) { for (i = 0; i < smileys[row].length; i++) { smileys[row][2] = smileys[row][2].replace(/"/g, '"'); smileyPopupWindow.document.write('  '); } smileyPopupWindow.document.write("
"); } smileyPopupWindow.document.write('\n\t\t\t
Close Window\n\t\t

\n\t\n'); smileyPopupWindow.document.close(); } // ]]>



WTF is GOING ON!!!!!!!!!!!
Logged
kobok
Veritas Council
Tech Team
Posts By Osmosis
*****
Posts: 3164


Veritas Council


View Profile
« Reply #1 on: November 11, 2005, 10:23:37 AM »

when i try to send a message, the screen is displayed as this:

n\t\t\n\t\t\n\t'); smileyPopupWindow.document.write('\n\t\n\t\t

n\t\t\t Pick a smiley\n\t\t\t
'); for (row = 0; row < smileys.length; row++) { for (i = 0; i < smileys[row].length; i++) { smileys[row][2] = smileys[row][2].replace(/"/g, '"'); smileyPopupWindow.document.write('  '); } smileyPopupWindow.document.write("
"); } smileyPopupWindow.document.write('\n\t\t\t
Close Window\n\t\t

\n\t\n'); smileyPopupWindow.document.close(); } // ]]>



WTF is GOING ON!!!!!!!!!!!


The following javascript code exists in the javascript code for the page:

Quote
            function moreSmileys()
            {
               var row, i;

               if (smileyPopupWindow)
                  smileyPopupWindow.close();

               smileyPopupWindow = window.open("", "add_smileys", "toolbar=no,location=no,status=no,menubar=no,scrollbars=yes,width=480,height=220,resizable=yes");
               smileyPopupWindow.document.write('<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html>');
               smileyPopupWindow.document.write('\n\t<head>\n\t\t<title>Additional smileys</title>\n\t\t<link rel="stylesheet" type="text/css" href="http://forums.vsociety.net/Themes/oxygen11/style.css" />\n\t</head>');
               smileyPopupWindow.document.write('\n\t<body style="margin: 1ex;">\n\t\t<table width="100%" cellpadding="5" cellspacing="0" border="0" class="tborder">\n\t\t\t<tr class="titlebg"><td align="left">Pick a smiley</td></tr>\n\t\t\t<tr class="windowbg"><td align="left">');

               for (row = 0; row < smileys.length; row++)
               {
                  for (i = 0; i < smileys[row].length; i++)
                  {
                     smileys[row][2] = smileys[row][2].replace(/"/g, '&quot;');
                     smileyPopupWindow.document.write('<a href="javascript:void(0);" onclick="window.opener.replaceText(&quot; ' + smileys[row]
  • + '&quot;, window.opener.document.postmodify.message); window.focus(); return false;"><img src="http://forums.vsociety.net/Smileys/default/' + smileys[row][1] + '" alt="' + smileys[row][2] + '" title="' + smileys[row][2] + '" style="padding: 4px;" border="0" />[/url] ');
                  }
                  smileyPopupWindow.document.write("
");
               }

Your browser is apparently displaying portions of this code where it should be displaying the results of executing that code.  I see no flaw in this code, and no one else seems to be experiencing problems, so I'm going to conclude that there is a flaw in your browser's javascript.  You should upgrade your browser, as this may be giving you problems on other sites as well.  I recommend this.
Logged
Pages: [1] Print 
« previous next »
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.6 | SMF © 2006-2008, Simple Machines LLC
Oxygen design by Bloc
Valid XHTML 1.0! Valid CSS!