Hi guys and girls, can someone explain the following to me? <body onresize="javascript:alignCSS()"> The part that I've never seen is the "javascript:alignCSS()" part. I know the body tag and the Javascript onresize event and I'm assuming that "alignCSS() is a function but I've never seen it written as "javascript:alignCSS()". Can someone explain this to me? Thanks
I would assume that said function is declared in a library loaded elsewhere on the page... so start looking there. Though really if you encounter scripts using ANY of the 'onevent' attributes in the markup, you can universally assume the page is outdated poorly written crap. Generally speaking 90%+ of the time you see ANY attributes on the BODY tag you can assume that too.