Forum Statistics

  • Forum Members: 4,247
  • Total Threads: 3,572
  • Total Posts: 3
There are 1 users currently browsing forums.

Partner Sites

Reply
Old 07-26-2009, 02:02 AM   #1 (permalink)
 
Status: Newbie
Join Date: Jul 2009
Posts: 3

Rep Power: 11 clxkzj is on a distinguished road



Default How do you post html codes in a scroll box for xanga entries?

I'm a layout maker for xanga, and I'm having a little trouble with html. I made a layout, but I have no clue how to post it so people can use it. I want it in a scroll box, but when I post that in an html entry, the layout becomes one with the entry! I need help on finding a code that will allow me to post html into a scroll box.

Thanks!
__________________
white hat seo
playstation 3 games
clxkzj is offline Add Infraction for clxkzj   Reply With Quote
Old 07-30-2009, 06:04 AM   #2 (permalink)
 
francis_elkin's Avatar
 
Status: Newbie
Join Date: Jul 2009
Posts: 4

Rep Power: 11 francis_elkin is on a distinguished road



Default hai

I think replacing '<' with '&lt;' and replacing '>' with '&gt;' in every html tags will provides solution for you. If you would like to pull the layout code by some php function to the scroll box you can do the transformation of the mentioned characters by str_replace() or other function.
francis_elkin is offline Add Infraction for francis_elkin   Reply With Quote
Old 09-08-2011, 12:50 AM   #3 (permalink)
CashLoan
 
Status: Guest
Posts: n/a



Default

How to put HTML code in a textarea or scroll box so it can be copied/pasted:

You MUST deactivate the HTML code by making it appear as text in whichever box you use. The code I show below WILL work as it's been tested. To have active code to be clickable inside the scroll box, you MUST use a div type scroll box and not one using the "textarea" tags.

Change all the opening tag symbols, "&lt;", to the character entity, & lt ; (without spaces) as & lt ; (without spaces) = <. This will deactivate the HTML code in the textarea/scroll box, but allow users viewing the page to copy/paste the code.
  Edit/Delete Message Reply With Quote


Reply

Bookmarks

Tags
None


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may post new threads
You may post replies
You may post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Search Engine Optimization by vBSEO 3.5.0 RC2