The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
how can i convert a table i made with html so that the source
will be displayed to the user so that they can copy the html to insert on there site . i know i can do a manual replace of the ascii codes bu this would take forever . are there any easy way to do this ? |
|
#2
|
|||
|
|||
|
|
|
#3
|
||||
|
||||
|
so how would i do this
if im not going to use php? |
|
#4
|
|||
|
|||
|
erm, well i guess you could get away with something like this:
Code:
<script type="text/javascript">
<!--
function tagReplace(text)
{
newText = text.replace('<','<');
newText = text.replace('>','>');
document.write(newText);
}
// -->
</script>
|
|
#5
|
|||
|
|||
|
lots of people do this by putting the html you can copy in a textarea box.
Code:
<textarea> your html code... </textarea> |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|