location.href= was correct, although it could be window.location.href=
----- Original Message ----- From: "Don L" <do...@yahoo.com> To: "cf-talk" <cf-talk@houseoffusion.com> Sent: Wednesday, April 01, 2009 6:25 PM Subject: Re: Button to support both IE and Firefox > > Yeah, you all, good catch on width= instead of width: > also, there's a semicolon for the onclick event, still to no avail. > hmmm... thks. > >>I missed that but yes, width= should be width:. Here's the code that it >>should be: >> >><input type="button" style="background-color:#HEXVAL;width:150px;" >>onclick="window.location='http://xyz.com/somefile.zip';" value=" Download >>the File "> >> >>HEXVAL should be the actual Hex value of the lightgreen color that you are >>looking for. >> >><input type="button" style="background-color:lightgreen;width=150" >>onclick="location.href='http://xyz.com/somefile.zip';" value=" Download >>the >>File "> >> >>two things I can see ... >> Should width= not be width: ? >> Does onclick need the semicolon ; ? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:321207 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4