When you have the onclick as well as an 'href', you are calling 2 separate
actions at the same time. In which order they are executed will be
determined by your browser.
Try this one:
<a href ="javascript:ColdFusion.Window.show('window#Section#');return
false;">Show students that didn't complete an evaluation</a>
The 'javascript:' tells the browser that it is to run javascript commands
instead of a page link.
Hope this works for you,
William
-----Original Message-----
From: Will Tomlinson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, September 11, 2007 9:34 PM
To: CF-Talk
Subject: Re: <cfwindow> making page jump to top..
>If you add "return false;" to your onClick, it will negate the original
>behavior of the anchor tag, thus only executing the other onClick functions
>and not the actual click action.
>
><a href="##" onclick="javascript:ColdFusion.Window.show('window#Section#');
>return false;">Show students that didn't complete an evaluation</a>
>
>Rob
Well, it's still jumpin up with return false. But I noticed it doesn't do it
in IE7. Just FF. hmmm..
Thanks much,
Will
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies
around the world in government. Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us
Archive:
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288239
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4