The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
HTML & Javascript problems
I am trying to use javascript when posting certain messages to that when clicked, will open a pop up window.
If you go here: www.everydayjones.com and look at the Upcoming & Previous Shows section, you will see the error I get. In the headinclude template I have typed this: Quote:
I have also typed that in the vbindex_headinclude template In the message I have typed in HTML and I have HTML turned on. For the link, I am using this line of code: Quote:
Anyone know why I might be getting the error it produces? |
#2
|
|||
|
|||
for some reason after the <a href=" code it is putting the website address and THEN <b></b> and then the rest of the javascript code.
This is weird. |
#3
|
|||
|
|||
HTML Code:
<a href="javascript<b></b>:popUp('http://everydayjones.com/msgboard/calendar.php?do=getinfo&e=2&day=2004-9-30&c=1')">The Swiss Pub, Tacoma Wa</a> |
#4
|
|||
|
|||
but I'm putting exactly this in the message:
Code:
<a href="javascript:popUp('http://everydayjones.com/msgboard/calendar.php?do=getinfo&e=1&day=2004-8-12&c=1')">The Swiss Pub, Tacoma WA</a> |
#5
|
|||
|
|||
no one knows? This must be more difficult than previously thought to fix.
|
#6
|
|||
|
|||
can you post the entire message here? Looks like there's something funny going on in the bbcode parser.
|
#7
|
|||
|
|||
is this what you wanted? I posted the message in HTML on my board.
Code:
<html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0" /> <meta name="ProgId" content="FrontPage.Editor.Document" /> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> <title>New Page 3</title> </head> <body> <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="100%" id="AutoNumber1"> <tr> <td width="50%"><u><b>Upcoming Shows:</b></u></td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%"> </td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%"> <p align="center"> </p> </td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%"> <p align="right"><u><span style="FONT-WEIGHT: 700">September</span></u></p> </td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%"> <p align="left">Thursday, September 30, 2004</p> </td> <td width="50%" align="right"> <a href="javascript:popUp('http://everydayjones.com/msgboard/calendar.php?do=getinfo&e=2&day=2004-9-30&c=1')"> The Swiss Pub, Tacoma WA</a></td> </tr> <tr> <td width="50%"> </td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%"> </td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%"> </td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%"> </td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%"> </td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%"> </td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%"><u><b>Previous Shows:</b></u></td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%"> </td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%"> <p align="right"><u><b>August</b></u></p> </td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%">Thursday, August 12, 2004</td> <td width="50%" align="right"> <a href="javascript:popUp('http://everydayjones.com/msgboard/calendar.php?do=getinfo&e=1&day=2004-8-12&c=1')"> The Swiss Pub, Tacoma WA</a></td> </tr> <tr> <td width="50%"> </td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%"> <p align="right"><u><b>July</b></u></p> </td> <td width="50%" align="right"> </td> </tr> <tr> <td width="50%">Saturday, July 10, 2004</td> <td width="50%" align="right"> <p align="right"> <a href="javascript:popUp('http://everydayjones.com/msgboard/calendar.php?do=getinfo&e=3&day=2004-7-10')"> The Unicorn Tavern, Ruston WA</a></p> </td> </tr> <tr> <td width="50%"> </td> <td width="50%" align="right"> </td> </tr> </table> </body> </html> |
#8
|
|||
|
|||
um, what we need is the exact message you post on the message board, such as what you enter in the text field for a new thread that contains this funky link. (unless this is it)
|
#9
|
|||
|
|||
yeah, thats the thread. I'm the admin and I'm the only one that can post in this forum because it supports HTML and I only use HTML for formatting purposes. I also use it for the popup links that will call upon the calendar events. I use to use these popup links on Invision Power Board and it worked fine.
For some reason, after "<A HREF=" it is putting the {board _url} and after "javascript" it is putting <b></b> for some odd reason. Maybe this is a vbindex problem. |
#10
|
|||
|
|||
try removing
HTML Code:
<html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0" /> <meta name="ProgId" content="FrontPage.Editor.Document" /> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252" /> <title>New Page 3</title> </head> <body> HTML Code:
</body> </html> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|