View Single Post
Old 06-30-2004, 10:06 AM   #3
mixonic
Green Mole
 
Join Date: Jun 2004
Posts: 5
better idea!

Heh, I am an open standards advocate to the point of foolishness, and javascript onclick links in a TD field is...er....not my kind of thing

But, I must deal, its my job :-D

So...i figured altering the eregi was a better idea.....but i dont really know ereg well. hows this?

eregi("(<frame[^>]*src[[:blank:]]*=|MM_goToURL\(\'parent\',|href[[:blank:]]*=|http-equiv=['\"]refresh['\"] *content=['\"][0-9]+;url[[:blank:]]*=|window[.]location[[:blank:]]*=|window[.]open[[:blank:]]*[(])[[:blank:]]*[\'\"]?((([[a-z]{3,5}://)+(([.a-zA-Z0-9-])+(:[0-9]+)*))*([:%/?=&;\\,._a-zA-Z0-9\|+-]*))(#[.a-zA-Z0-9-]*)?[\'\" ]?",$eval,$regs)

the links normally look like this:

onClick="MM_goToURL('parent','Generators.htm');

heh, oh, and thats not in a TD, thatd be barbaric. It's in a TR. *sigh*
mixonic is offline   Reply With Quote