The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Breaking Javascript Code in Internet Explorer
I am having a problem, and am being told that it's the forum software that is causing javascript code to be broken and not viewable in Internet explorer. I use Mozilla Firefox as my primary browser and am able to view the post properly, but cannot in IE.
Can someone please tell me how to fix this so it can be viewed in IE please. See one page HERE. There are others if needed. Thanks in advance. I wanted to add that I was told that the forum was placing break codes <br /> in the script that was causing the problem. Please see the following copy and paste: HTML Code:
<!-- message --> <div id="post_message_4529"><!-- google_ad_section_start --><div align="center"><font size="4"><b>Ski Chalet Steals & Sales!!</b></font><br /> <br /> <script type="text/javascript"><br /> <!--<br /> sas32tabidvalue = '206514';<br /> sas32tabafftrackvalue = '';<br /> // --><br /> </script><br /> <script type="text/javascript" src="http://widgets.shareasale.com/11155/32.js?u=206514"><br /> </script><br /> <br /> </div><!-- google_ad_section_end --></div> <!-- / message --> |
#2
|
|||
|
|||
are you parsing it or anything?
converting line breaks into <br />. Otherwise i dont know why it would be there. How are you implementing that code? Is it a plugin or something? |
#3
|
|||
|
|||
Quote:
I am just copying and pasting the code. When I paste it, the line breaks are not there, they appear after I complete the post. Thanks in advance for your assistance!! |
#4
|
|||
|
|||
Any suggestions ??
|
#5
|
||||
|
||||
Fixing this would require rewritting the class_bbcode.php file to actually be able to properly detect what is HTML and what isn't. Not an easy task, which is why its not in there. Until then, I recommend not pasting javascript in posts.
|
#6
|
||||
|
||||
Javascript, not Java.
|
#7
|
|||
|
|||
My apologies........Javascript! Original post edited!
Quote:
Wayne, What would it cost me to have someone rewrite the file so I would be able to post javascript? Thanks for your reply!! |
#8
|
||||
|
||||
Enabling html to the public is a security risk. (just need to get that out of the way)
remove all breaks from javascript code and it will work so instead of having the script in mulitple lines - fit the entire script in one line |
#9
|
|||
|
|||
Every time I paste javascript code to a post, it breaks it. Isn't there a check box to automatically parse the links? I think I remember checking a box similar to that at some point, but cannot locate it now.
How can I set it where when I post one line of code, it actually stays that way? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|