PDA

View Full Version : JS link syntax



lemon
09-26-2003, 07:23 PM
Chris

document.write('<a hr' + 'ef = "http://w' + 'ww.site.com">site</a>');

The above example (you wrote it :)) will plug PR holes

Will the one below do the same?

document.write('<a hr' + 'ef = "http://www.site.com">site</a>');

:)

Chris
09-26-2003, 08:20 PM
You should cut up the URL as much as possible just in case.

Can't be too careful.

lemon
09-26-2003, 11:44 PM
LOL ... yep!