Topic: Divide Block text (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=22579" title="Pages that link to Topic: Divide Block text (Page 1 of 1)" rel="nofollow" >Topic: Divide Block text <span class="small">(Page 1 of 1)</span>\

 
MalFunkShun
Maniac (V) Inmate

From: few miles outside philly
Insane since: Jul 2001

posted posted 07-16-2004 16:22

What character divides block text without appearing on the page??

if I use ' ; ' or ' , ' I get a line break but that character will still show up between each line.

example

HERE'S BLOCK TEXT
;
NEXT LINE

WarMage
Maniac (V) Mad Scientist

From: Rochester, New York, USA
Insane since: May 2000

posted posted 07-16-2004 16:31

I honestly have no idea what you are talking about or trying to do. I checked your example and with all the stuff on the page I can't see what or where you are talking about. Are you trying to get a line return? What about just using the <br/> tag. That should work with no problems.

HERE's BLOCK TEXT<br/><br/>
NEXT LINE

Seeing as I really don't know what you are trying to do I don't think any answer I give will be all that helpful.

Dan @ Code Town

MalFunkShun
Maniac (V) Inmate

From: few miles outside philly
Insane since: Jul 2001

posted posted 07-16-2004 16:35

It should be in the section called
DAVE'S INTEREST
under GERNERAL

I tried doing the <br/> but this site uses javascript to interpret your INTREST and that <br/> ruins it's ability to have your INTEREST linkable to searches.

MalFunkShun
Maniac (V) Inmate

From: few miles outside philly
Insane since: Jul 2001

posted posted 07-16-2004 17:13

After finding THIS. This thread should probably be moved where JavaScript gets solved. But that's out of my power so I'll just put it here.

I can not translate this, but if someone can could you provide me with a set of characters that would allow a line break and still allow the text to become a hyperlink?

code:
function highlightInterests(IDString)
{
if (document.getElementById)
{
inputString = document.getElementById(IDString).innerHTML;
/*
Delimiters in hex:
, \x2C
( \x28
) \x29
- \x2D
: \x3A
; \x3B
* \x2A
/ \x2F
\ \x5C
. \x2E
! \x21
? \x3F
{ \x7B
} \x7D
[ \x5B
] \x5D
+ \x2B
Control chars in hex:
< \x3C
> \x3E
*/
var HTML = /([\x3C\x3E])/gi;
var Items = /([^\s\x2C\x28\x29\x2D\x3A\x3B\x2A\x2F\x5C\x2E\x21\x3F\x7B\x7D\x5B\x5D\x2B]+([\s]+[^\s\x2C\x28\x29\x2D\x3A\x3B\x2A\x2F\x5C\x2E\x21\x3F\x7B\x7D\x5B\x5D\x2B]+)*)/g;
var outputString = inputString;
if (!HTML.test(outputString))
{
outputString = outputString.replace(Items, "<A HREF=\"#\" CLASS=\"searchlinksmall\" onclick=\"executeSearch(this.innerText);return false;\">$1</A>");
document.getElementById(IDString).innerHTML = outputString;
}
}
}

function executeSearch(linkRef)
{
location.href = siteURL + "index.cfm?fuseaction=advancedFind.results&SearchType=MySpace&SearchRequest=" + escape(linkRef);
}





Post Reply
 
Your User Name:
Your Password:
Login Options:
 
Your Text:
Loading...
Options:


« BackwardsOnwards »

Show Forum Drop Down Menu