[thelist] Window Popup Problem

Christian Heilmann codepo8 at gmail.com
Fri Feb 17 11:22:32 CST 2006


> > <a class="font_channels" href="#"
> > onClick="document.logonForm.url.value='http://library.alldatapro.com';
> > document.logonForm.submit();" onMouseOver="return escape('The
> > world\'s most comprehensive resource for automotive
> > diagnostic and repair information.')" target="_blank"><img
> > src="https://www.sheridan.edu/uportal/icons/all-icons/jbruso_c
> > ustom/new_
> > window.png" alt="Click, to open in new window." width="12" height="10"
> > border="0"></a>

Further to Chris' valid points:

What is the mouseover supposed to do? Right now it returns an escaped
string. Return to where?

You set a form value and send off the form with JavaScript. This
sounds dodgy to me, if you simply keep this link inside the form and
use an input type image you will submit the form for all users, not
only those with JS enabled.



--
Chris Heilmann
Blog: http://www.wait-till-i.com
Writing: http://icant.co.uk/
Binaries: http://www.onlinetools.org/



More information about the thelist mailing list