...

View Full Version : :: string being written in a link? ::



babelfish
07-31-2002, 12:56 PM
how can i do this? where siteurl is a variable that is the start of a link? (eg http://www.simonsgroup.com/IT/DEVELOPMENT/dbase.nsf/
)



document.write('<td nowrap><a href="siteurl+'+link+'"> '+text+' </a></td>\n');


and the link and text are to be written like this:

sublink('content/group_welcome','Welcome');

snakedevil1
07-31-2002, 05:21 PM
u can use a document.write like this:
document.write('<a href="' + siteurl + link + '">text</a>')

babelfish
07-31-2002, 05:21 PM
thanks m8!!!!!!!!!!

snakedevil1
07-31-2002, 05:30 PM
no problem



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum