সন্ধান করুন

Amazing Photos

Amazing Photo Collections Slideshow: Tar’s trip from Dhaka, Bangladesh to Mymensing was created by TripAdvisor. See another Mymensing slideshow. Create a free slideshow with music from your travel photos.

মোট পৃষ্ঠাদর্শন

বুধবার, ৯ ফেব্রুয়ারী, ২০১১

খুব সহজেই JavaScript Code দিয়ে আপনার Blog/Website এর জন্য তৈরি করুন অতি সুন্দর একটি Slideshow


Avgvi &Iq‡emvB‡Ui Rb¨ Kwc K‡i msi¶b Kijvg ‡UKwUDbm †_‡K| Avcbv‡`i&I Avkv Kwi Kv‡R jvM‡e|

From Techtunes
টিউন করেছেন : ইকবাল হুসাইন হাসু |

আমি Techtunes এর একজন ভক্ত। পড়ালেখা Pabna Textile Engineering College (3rd Year). Textile এ পড়লেও Internet এর প্রতি অনেক ঝোক, আর তা খেকেই টুকটাক Blogging ও Website Develop করে নিজের মাস খরচটা চালাই। এখানে অনেক বড়ো বড়ো Programmer, Blogger দের আনাগোনা। এর মাঝে নিজেকে খুব ছোট মনে হয়। তারপরও আজ সকালে অনেক সাহস করে একটা tune করতে বসলাম। আসলে অনেক দিন ধরে লেখার try করছি but সাহস পাইনি। আজ আল্লাহর নামে শুরু করলাম। এটি আমার প্রথম Tune. আপনাদের support পেলে আরও অনেক কিছু share করতে পারব ইনশাআল্লাহ।

আমি যে Slideshow টা আজ share করবো সেটা আমার Internet গুরু ফরহাদ ভাই এর কাছে শেখা। ফরহাদ ভাই আমার Internet World এর প্রথম ও শেষ গুরু। উনি একজন বড়ো মাপের Programmer, Web Developer ও SEO Consultant. আমি তার কাছে চিরঋণী।

এখন কাজের কথায় আসি।আমরা অনেকেই নিজের Blog/Website এ Slideshow add করি। অনেকে অনেকভাবে করে থাকেন। আমি আমার Blog/Website এ সবসময় নিজের তৈরি করা Slideshow use করি।এই Slideshow দিয়ে আপনি Visitor কে আপনার ভিন্ন Website এ Redirect করতে পারবেন। আর Website এর Beautification তো থাকছেই।

Example হিসেবে আমার ও ফরহাদ ভাই এর তৈরি আমাদের College এর Blog-site টা দেখতে পারেন। এখানে

আমি এটি করি খুব Simple এক টা JavaScript Code দিয়ে। আপনারাও try করতে পারেন। এর জন্য আপনার যে কোনো Image Hosting (e.g Flickr, Tinypic) এ Account থাকতে হবে। এই Account ফ্রীতেই করা যায়।আপনি যেকোনো Image Hosting Use করতে পারেন। Internet এ এরকম অনেক Site পাবেন।

Image Host এর কাজ হলো আপনি যে Image গুলোর Slideshow করতে চান সেগুল সেখানে Upload করে Image Source গুলো নিতে হবে। এ জন্য আমি Flickr use করি। কারন Flickr এর Image Loading খুব দ্রুত হয়।
Image Source গুলো হবে এরকম>>
http://farm6.static.flickr.com/5204/5335100407_6f929cd5b5_b.jpg

এটা আমাদের College এর Blog এর Slideshow র একটা Image Source. (Flickr এ Upload করা) কিভাবে Flickr এ Account করতে হয় ও Image Upload করে তার Source নিতে হয় তা দেখতে এই Post এর নিচের অংশে যান।

JavaScript Code টা হলো>>>>

————————————————————-

<script type=”text/javascript”>
<!–
//preload images
var image1=new Image()
image1.src=”YYYYYYY”
var image2=new Image()
image2.src=”XXXXXXX”
var image3=new Image()
image3.src=”XXXXXXX”
var image4=new Image()
image4.src=”XXXXXXX”
var image5=new Image()
image5.src=”XXXXXXX”
var image6=new Image()
image6.src=”XXXXXXX”
var image7=new Image()
image7.src=”XXXXXXX”
var image8=new Image()
image8.src=”XXXXXXX”
//–>
</script>
<a href=”#” target=”_blank”><img border=”0″ width=”200″ src=”YYYYYYY” name=”slide” height=”400″ /></a>

<script type=”text/javascript”>
<!–
var step=1
var whichimage=1
function slideit(){
if (!document.images)
return
document.images.slide.src=eval(“image”+step+”.src”)
whichimage=step
if (step<8)
step++
else
step=1
setTimeout(“slideit()”,1300)
}
slideit()
function gotoshow(){
if (whichimage==1)
window.location=”#”
else if (whichimage==2)
window.location=”#”
else if (whichimage==3)
window.location=”#”
else if (whichimage==4)
window.location=”#”
else if (whichimage==5)
window.location=”#”
else if (whichimage==6)
window.location=”#”
else if (whichimage==7)
window.location=”#”
else if (whichimage==8)
window.location=”#”
}
//–>
</script>

————————————————————-
Code এর পরিচিতি>>>

এখানে আমি ৮ টা Image use করেছি।YYYYYYY ও XXXXXXX দিয়ে আমি Image Source টা বুঝিয়েছি। ৮ টা Image এর জন্য ৮ টা Source থাকবে। প্রথম Image Source টা use হবে ২ বার। আপনি Code টা দেখলেই বুঝতে পারবেন। YYYYYYY ২ বার আছে।

<a href=”#” target=”_blank”><img border=”0″ width=”200″ src=”YYYYYYY” name=”slide” height=”400″ /></a>

এই লাইনের # এর জায়গায় আপনি অন্য Site এর URL use করতে পারেন। না করলেও চলবে। এখানে Slideshow র width=200 ও height=400 করা আছে। আপনি নিজের সুবিধা মত করে নিন। তবে খেয়াল রাখবেন যেন আপনার Image এর Hight and Width ও Slideshow এর Hight and Width একি হয়। না হলে Slideshow Fade up হয়ে যাবে।

setTimeout(“slideit()”,1300)

এখানে Timeout 1300 দেয়া আছে। নিজের মত change করে কম বেশি করে নিন।

এই হল Slideshow Editing.

কিভাবে Blog/Website এ add করবেন?

ব্লগ এর জন্য Simple একটা HTML/JavaScript Gadget open করে Code টা Copy > Paste করুন। Save করে বেরিয়ে আসুন। এবার Blog Reload করে দেখুন। আর Gadget টা পেইজ এর position ও Slideshow এর Hight and Width অনুযায়ী বসাবেন।

অন্য Website এর জন্য আপনি যেখানে Slideshow দেখতে চান সেখানে Code টা add করে নিন।

যেভাবে Flickr এ Account করতে হয় ও Image Upload করে তার Source নিতে হয়ঃ

>>> একটা Yahoo Account করে নিন। থাকলে তো হয়েই গেল।এখন Google ও Facebook ID দিয়েও Yahoo তে Account করা যায়।

>>> প্রথমে http://www.flickr.com/ এখানে যান।

>>> উপরে ডান পাশে Create Your Account click করুন।

>>>একটা Pop Up Window আসবে।সেখানে Yahoo Mail ID ও Password দিয়ে Sign In click করুন।

>>>Pop Up close হয়ে যাবে এবং নিউ পেইজ এ “Chose your screen name” box এ একটা নাম দিন।

>>>এখন পেইজ এ Upload Photos & Videos Click করুন।

>>>এবার Chose Photos & Videos Click করে Pop Up window থেকে আপনার Slideshow র Image file গুলো Select করে দিন।

>>>এখন Upload Photos & Videos Click করলে Image Uploading শুরু হবে।

>>>পরের Page এ Add a description click করুন। পরের পেইজ এ Save Button Click করুন।

>>>এখানে আপনার Upload করা Image গুলো Show করবে।

>>>এখন এক এক করে Image গুলো Click করলে Image বড়ো করে খুলবে। এই পেইজ এ একটা একটা করে Image দেখাবে।

>>>এখন Keyboard থেকে Control+U চাপুন(Firefox ও Epic এর জন্য)। Different Browser এর জন্য Right Click করে View Page Source Click করুন।

>>>একটা new window খুলবে। Control + F চেপে Find Box এ jpg লিখুন(jpg format এর image এর জন্য)।{ আপনি যে format এর Image Upload করবেন সেইটা লিখুন}

>>>নিচের মত একটা Code Find হবে।
<link rel="image_src" href="http://farm6.static.flickr.com/5218/5426978555_73d9c4f787_m.jpg"><link

>>> আপনি http://farm6.static.flickr.com/5218/5426978555_73d9c4f787_m.jpg এই টুকু নিন এবং m.jpg কে z.jpg করে নিন। এটাই হল আপনার Image Source.

>>>এভাবে সবগুলো Image এর Source বের করে নিন। তারপর উপরের JavaScript Code এ use করুন।

ভালো লাগলে বা কারও কাজে আসলে আমার লেখা সফল হবে। ধন্যবাদ পরার জন্য।

Screen Shot দিতে পারলাম না। Techtunes এর Server অনেক busy. Image Upload হচ্ছে না। পরে দিতে পারলে দিয়ে দিব ইনশাআল্লাহ।

ভালো থাকবেন।

বুধবার, ২ ফেব্রুয়ারী, ২০১১

We Love Our City Mymensingh


Mymensingh (Bengali: ময়মনসিংহ) is one of the districts of Dhaka division, Bangladesh, and is bordered on the north by Meghalaya state of India and Garo Hills, on the south by Gazipur district, on the east by districts of Netrokona and Kishoreganj, and on the west by districts of Sherpur, Jamalpur and Tangail. Mymensingh town is the district headquarters.[1]Contents [hide]
1 Geography
2 History
3 Forests
4 Rivers
5 Crops
6 Railroads
6.1 Timeline
7 Subdistrict
8 Demographics
9 Town
10 Literacy and educational institutions
11 External links
12 References

[edit]
Geography

The district covers an area of around 4363 square kilometers, with several small valleys between high forests. The temperature ranges from 33 degrees to 12 degrees Celsius, and the annual rainfall averages 2174 mm. In fact, Iswarganj is small upozilla (section) other upozillas some are at the foot of Garo hills of Meghalaya, some are Chars founded on the bed of Old Brahmaputra river and also some ancient forests of mainly a single wood tree as it is named SHAL Forest. The city of Mymensingh stands on the bank of Old Brahmaputra river, as the 1897 great Assam Bengal earthquake changed the main flow from Brahmaputra to the Jamuna river which co-sided west of the greater Mymensingh region. In about hundred years, a port city of sea vessels from England just lost its status as the river became a seasonal flow by this time. Some Kuthi's of namely of the colonial rulers now a days the govt. high officials residences along the side of the river in the city. The area of Greater Mymensingh, the north front line is just at the foot of Garo hills of Meghalaya of India, the south this area excludes The GAZIPUR district, the east ends in the rich watery land of Bangladesh as native calls 'Hawor', the west ends in the ancient single wood forest( e.g. Muktagacha, Fulbaria and Valuka Upozillas) and the Chars of Jmalpur district sided north-west of Mymensingh district. There is geographical varieties comprises single wood forests, Chars and river valleys and also touching the Himalaya at Garo hills.
[edit]
History
Main article: History of Mymensingh

Maimansingh, a district of British India, is in the Dhaka division of Eastern Bengal and Assam. It occupies a portion of the alluvial valley of the Brahmaputra east of the main channel (called the Jamuna) and north of Dacca. The administrative headquarters are at Nasirabad, usually called Mymensingh town. Area, 6332 sq mi Pop. (1901) 3,915,068, showing an increase of 12.8% in the decade. The district is for the most part level and open, covered with well-cultivated fields, and intersected by numerous rivers.
[edit]
Forests

The Madhupur jungle is a slightly elevated tract, extending from the north of Dhaka district into the heart of Mymensingh; its average height is about 60 ft above the level of the surrounding country, and it nowhere exceeds 100 ft. The jungle contains abundance of sal, valuable both as timber and charcoal. The main benefits of sal is that it can absorb carbon more than any other native trees, so it helps mitigate the severe pollution of Dhaka city. The only other elevated tract in the district is on the northern border, where the Susang Durgapur situated in Netrokona district (part of Greater Mymensingh). Actually the Haluaghat upozilla of Mymensingh is border with India and Garo hills of Meghalaya. They are for the most part covered with thick thorny jungle, but in parts are barren and rocky.
[edit]
Rivers

The Jamuna forms the western boundary of Mymensingh for a course of 94 m. It is navigable for large boats throughout the year; and during the rainy season it expands in many places to 5–6 m in breadth. The Brahmaputra enters Mymensingh at its north-western corner near Karaibari, and flows south-east and south until it joins the Meghna a little below Bhairab Bazar. The gradual formation of chars and bars of sand in the upper part of its course (mainly influenced by The Great Assam Bengal Earthquake 1897) has diverted the main volume of water into the present channel of the Jamuna, which has in consequence become of much more importance than the Brahmaputra proper. The Meghna only flows for a short distance through the south-east portion of the district, the eastern and south-eastern parts of which abound in marshes.
[edit]
Crops

The staple crops, of the country are rice, jute, sugarcane, wheat, oil seed and pulse, betel leaf, karalla, sweet potato, turmeric, ginger, brinjal, cauliflower and chilli.
[edit]
Railroads

A branch line of the Eastern Bengal railway runs north from Dhaka through Nasirabad etc.
[edit]
Timeline
1772-1790 Fakir and Sannyasi revolt
1787 Floods
1788 Famines
1897 Earthquake
1905 Swadeshi Movement
[edit]
Subdistrict

Mymensingh district was established in 1787[2], which was later on reorganized into six districts, namely, Tangail, Jamalpur, Kishoreganj, Sherpur, Netrokona, and Mymensingh. Currently, Mymensingh district has eight municipalities and twelve Upzillas. The municipalities are: Bhaluka, Gaffargaon, Gauripur, Ishwarganj, Mymensingh Sadar, Nandail, Muktagachha, and Trishal. The twelve upzillas are: Bhaluka, Dhobaura, Fulbaria, Gaffargaon, Gauripur, Haluaghat, Ishwarganj, Mymensingh Sadar, Muktagachha, Nandail, Phulpur and Trishal.No. Subdistrict name Area (square kilometer) Population
1 Bhaluka 444.05 264991
2 Trishal 338.98 336797
3 Haluaghat 356.07 242339
4 Muktagachha 314.71 321759
5 Dhobaura 251.05 157027
6 Fulbaria 402 345283
7 Gaffargaon 401.16 379803
8 Gauripur 374.07 247945
9 Ishwarganj 286.19 306977
10 Mymensingh Sadar 388.45 566368
11 Nandail 326.13 328847
12 Phulpur 580.21 459046

[edit]
DemographicsTotal Population 4,439,017
Male 50.62%
Female 49.38%
Muslim 60.73%
Hindu 39.25%
Christian 0.75%
Buddhist 0.06%
Aboriginal 0.89%
Others 0.21%

[edit]
Town
Main article: Mymensingh Town

Mymensingh town, earlier known as Nasirabad, is placed on the west bank of Brahmaputra River. The population is around 225,811 and the literacy rate is about 65%. Having Bangladesh Agricultural University[3], huge bridge on Brahmaputra river, 2 medical colleges (Mymensingh Medical College[4], Community Based Medical College), 8 high schools, Raj bari, natural beauty of farm lands, etc., Mymensingh is one of the best places for living and educating children in Bangladesh. Due to very few number of fuel run vehicles, sound pollution and air pollution is very low. It is also one of the best towns in Bangladesh to educate child up to grade ten. There is no public boys college in Mymensingh town; however, every years lots of students from this town get admission in different universities and medical college in Bangladesh. The first girls cadet college in the country is also located in Mymensingh town. A huge amont of land occupied by various churches in Mymensingh city in relation to number of followers.
[edit]
Literacy and educational institutions

Among the literacy, 30.7% are male and 20% female. Educational institutions: agricultural university 1, medical college 2, homeo medical college 1, polytechnic institute 1, vocational institute 1, veterinary training institute 1, primary teacher's training institute 1, teacher's training institute 2, national institute of primary education 1, government college 5, non-government college 57, government high school 9, non-government high school 368, secondary school 129, madrasa 1212, government primary school 1249, non-government 794, kindergarten 33, NGO operated school 1065, art school 1.
[edit]
External links
Mymensingh in Banglapedia
Mymensingh District
Map of Mymensingh District
[edit]
References
^ Banglapedia webpage
^ The Central Administration of the East India Company 1773-1834
^ Encyclopædia Britannica
^ Mymensingh Medical College website

Pagerank

Traffic Genie