09-24-2000, 12:30 AM
Hello,
Im in my admin trying to make my own special vB code and what it spits out to the forum is messed up. Everytime there is a period "." or a QuestionMark "?" or a parenthese "(" and ")" it sticks a backslash in front of it.
This is what I was doing ...
Code to replace:
[decopop]
Code to insert:
"<B><A HREF="#" onClick="window.open('popups/drdeco.html','decopop1','WIDTH=300,HEIGHT=250,scro llbars=yes,LEFT=100,TOP=200,screenX=100,screenY=20 0');return false" onMouseOver="window.status='Who is Dr Deco'; return true" onMouseOut="window.status=' ' ;return true" style="font-family:arial; text-decoration: none;">Who is Dr. Deco?</A></B>"
But this is what it prints to the browser:
"Who is Dr\. Deco\?"
And this is the Actual code it prints when I view the source:
"<B><A HREF="#" onClick="window\.open\('popups/drdeco\.html','decopop1','WIDTH=300,HEIGHT=250,scr ollbars=yes,LEFT=100,TOP=200,screenX=100,screenY=2 00'\);return false" onMouseOver="window\.status='Who is Dr Deco'; return true" onMouseOut="window\.status=' ' ;return true" style="font-family:arial; text-decoration: none;"><A HREF="#" onClick="window\.open\('popups/drdeco\.html','decopop1','WIDTH=300,HEIGHT=250,scr ollbars=yes,LEFT=100,TOP=200,screenX=100,screenY=2 00'\);return false" onMouseOver="window\.status='Who is Dr Deco'; return true" onMouseOut="window\.status=' ' ;return true" Ttyle="font-family:arial; text-decoration: none;">Who is Dr\. Deco\?</A></B>"
Notice all the backslashes before the periods, parenthese and question marks. Is there a way to hack this to make it stop doing this? Im trying to make my own Special tag for a signature for a Quest Speaker in my forum.
Here is the URL (http://www.scubaboard.com/showthread.php?threadid=162) to the page on my forum where you can see the results:
Can someone tell me what is going on and how or if it can be made to work?
Thanks
=-)
Im in my admin trying to make my own special vB code and what it spits out to the forum is messed up. Everytime there is a period "." or a QuestionMark "?" or a parenthese "(" and ")" it sticks a backslash in front of it.
This is what I was doing ...
Code to replace:
[decopop]
Code to insert:
"<B><A HREF="#" onClick="window.open('popups/drdeco.html','decopop1','WIDTH=300,HEIGHT=250,scro llbars=yes,LEFT=100,TOP=200,screenX=100,screenY=20 0');return false" onMouseOver="window.status='Who is Dr Deco'; return true" onMouseOut="window.status=' ' ;return true" style="font-family:arial; text-decoration: none;">Who is Dr. Deco?</A></B>"
But this is what it prints to the browser:
"Who is Dr\. Deco\?"
And this is the Actual code it prints when I view the source:
"<B><A HREF="#" onClick="window\.open\('popups/drdeco\.html','decopop1','WIDTH=300,HEIGHT=250,scr ollbars=yes,LEFT=100,TOP=200,screenX=100,screenY=2 00'\);return false" onMouseOver="window\.status='Who is Dr Deco'; return true" onMouseOut="window\.status=' ' ;return true" style="font-family:arial; text-decoration: none;"><A HREF="#" onClick="window\.open\('popups/drdeco\.html','decopop1','WIDTH=300,HEIGHT=250,scr ollbars=yes,LEFT=100,TOP=200,screenX=100,screenY=2 00'\);return false" onMouseOver="window\.status='Who is Dr Deco'; return true" onMouseOut="window\.status=' ' ;return true" Ttyle="font-family:arial; text-decoration: none;">Who is Dr\. Deco\?</A></B>"
Notice all the backslashes before the periods, parenthese and question marks. Is there a way to hack this to make it stop doing this? Im trying to make my own Special tag for a signature for a Quest Speaker in my forum.
Here is the URL (http://www.scubaboard.com/showthread.php?threadid=162) to the page on my forum where you can see the results:
Can someone tell me what is going on and how or if it can be made to work?
Thanks
=-)