itchyII
MIS
- Apr 10, 2001
- 167
Hello all,
I have a page that contains a table which is published from Excel. There are hyperlinks in the spreadsheet to other files, and when the spreadsheet is published, all these hyperlinks get translated to <A> tags, which is good. However, I would like all of these <A> tags to contain =_blank' so that the linked files will be opened in a new window. Is there a way that I can write a function that would automatically scroll through the code and whenever it finds an <A> tag that the 'target=_blank' gets added to it? And if so, when would I run this function? If I ran it on the onload of the body, would it properly take effect?
Itchy
I have a page that contains a table which is published from Excel. There are hyperlinks in the spreadsheet to other files, and when the spreadsheet is published, all these hyperlinks get translated to <A> tags, which is good. However, I would like all of these <A> tags to contain =_blank' so that the linked files will be opened in a new window. Is there a way that I can write a function that would automatically scroll through the code and whenever it finds an <A> tag that the 'target=_blank' gets added to it? And if so, when would I run this function? If I ran it on the onload of the body, would it properly take effect?
Itchy