The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
bbcode and javascript
Hello! I'm trying to make a custom bbcode. Everything works great except one small problem. Bellow is the replacement.
Code:
<script type="text/javascript"> <!-- function dirtypop() { var generator=window.open('','name','height=800,width=600,status=1'); generator.document.write('<html><head><title>popup</title>'); generator.document.write('</head><body>'); generator.document.write('<h1>popoup</h1>'); generator.document.write('<p>{param}</p>'); generator.document.write('<p><a href="javascript:alert(self.location.href)">View the URL of this window</a>.</p>'); generator.document.write('<p><a href="javascript:self.close()">Close</a> the popup.</p>'); generator.document.write('</body></html>'); generator.document.close(); } //--> </script> <a href="javascript:dirtypop();">Generate!</a> I don't know why but the link on generate button should look like this javascript:dirtypop() , instead he looks like javascript<b></b>:dirtypop() Anyone has any idea from where that <b></b> comes from? Thank you! |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|