tangocho20
2008年03月11日
機能確認用のサンプル英文ページ
『B-単』は、本来ブラウザ(IE)上でマウスの右ボタンクリックメニューから起動するものですが、そのためにはレジストリへエントリを追加しなければなりませんので、それを行わなくても機能の確認ができるサンプルページをこちらに用意しました。(3/14からこちらの開発日誌と、ブログ単語帳のどのページでもダブルクリックすれば『B-単』が起動するようにしました)。
このページには、調べたい単語をダブルクリックすると『B-単』が立ち上がるようにJavaScriptを記述してあります。起動されるアプリケーションは、マウスの右ボタンクリックで起動されるものと基本的に同じものです。
一度起動されてしまえば、IEでも、FireFoxでも動作致します。
※現在のところ、単語の語形変化に対応できておりません。過去形の"ed"や、三単元の"s"などが付いていますと「ヒットしませんでした。」というメッセージが表示されますが、単語欄は編集可となっておりますので、単語の末尾を修正して「再検索」ボタンを押すことで検索することができます。
次のページ以降が英文ページになっています。
Constitution of the United States
Section 1
All legislative Powers herein granted shall be vested in a Congress of the United States, which shall consist of a Senate and House of Representatives.Section 2
Clause 1:
The House of Representatives shall be composed of Members chosen every second Year by the People of the several States, and the Electors in each State shall have the Qualifications requisite for Electors of the most numerous Branch of the State Legislature.Clause 2:
No Person shall be a Representative who shall not have attained to the Age of twenty five Years, and been seven Years a Citizen of the United States, and who shall not, when elected, be an Inhabitant of that State in which he shall be chosen.Clause 3:
Representatives and direct Taxes shall be apportioned among the several States which may be included within this Union, according to their respective Numbers, which shall be determined by adding to the whole Number of free Persons, including those bound to Service for a Term of Years, and excluding Indians not taxed, three fifths of all other Persons.2 The actual Enumeration shall be made within three Years after the first Meeting of the Congress of the United States, and within every subsequent Term of ten Years, in such Manner as they shall by Law direct. The Number of Representatives shall not exceed one for every thirty Thousand, but each State shall have at Least one Representative; and until such enumeration shall be made, the State of New Hampshire shall be entitled to chuse three, Massachusetts eight, Rhode-Island and Providence Plantations one, Connecticut five, New-York six, New Jersey four, Pennsylvania eight, Delaware one, Maryland six, Virginia ten, North Carolina five, South Carolina five, and Georgia three.Clause 4:
When vacancies happen in the Representation from any State, the Executive Authority thereof shall issue Writs of Election to fill such Vacancies.Clause 5:
The House of Representatives shall chuse their Speaker and other Officers; and shall have the sole Power of Impeachment.Section 3
Clause 1:
The Senate of the United States shall be composed of two Senators from each State, chosen by the Legislature thereof,3 for six Years; and each Senator shall have one Vote.Clause 2:
Immediately after they shall be assembled in Consequence of the first Election, they shall be divided as equally as may be into three Classes. The Seats of the Senators of the first Class shall be vacated at the Expiration of the second Year, of the second Class at the Expiration of the fourth Year, and of the third Class at the Expiration of the sixth Year, so that one third may be chosen every second Year; and if Vacancies happen by Resignation, or otherwise, during the Recess of the Legislature of any State, the Executive thereof may make temporary Appointments until the next Meeting of the Legislature, which shall then fill such Vacancies.4投稿者 wiredgadget : 11:58


