How can I pass in the contribution amount via URL?
I just tried this on CiviCRM 4.6.18 and successfully passed the amount through using the field Name or id (inspect the field to find the name or id)
In the case of my form I did this:
http://example.org/civicrm/contribute/transact?reset=1&amp;id=2&amp;price_5=35