Sunday, June 29, 2014


The simple question of this post are
 what is sitemap?
Answer :  Sitemap is a XML file that contains URL link of all the pages of your sites along with each pages history(date of creation,updating date) elements. It also represent the vison of how the pages are linked to each other in your sites.

How to make sitemap.xml and submit it to SE(Google,Yahoo.Ask)
Answer :Here I will describe for Google and yahoo sitemap submitting
Free sitemap generator : Enter in this sites >> then follow the instructions they offered.They will ask your domain name.Only enter  your root domain there.And select "Always" Change frequency box.       

Saturday, June 28, 2014

How to load a css file with Java Script

I search this here and there in net. Also found many. But most of them were not working.Soo for making this thing easy now I am here.I made it by getting help from many sites. The code for how to load a css file by java script is given below.Just add the code in your header tag.And also make a style.css file in the same directory of the html file.

<script type="text/javascript">
var callbackFunc = function(){
//alert("Yes It worked");

Friday, June 27, 2014


Make your sites cross browser compatible adding  the following java-script code  in your pages head tag :

Make 4 style sheet. for google chrome,1 for fire fox,1 for Internet explorer.
style_google_chrome.css , style_firefox.css , style_IE.css , style.css ,1 for default1 .
<script type="text/javascript">
var browser=navigator.userAgent;
if (browser.lastIndexOf("Chrome")>=5)
var callbackFunc = function(){
//alert("WELCOME to Chrome");

Thursday, June 26, 2014

Android app development using symphony,walton and other local BD phones

To develop an android application the first step is to set up the environment like installing the Eclipse with ADT, installing the android sdk etc. After setting up SDK it is very important to run the application for testing and  debugging. For this we can use emulator or android device selecting from android  virtual device manager. Using emulator is simple but it is often slower. That's why it is recommended to use android device. Using the Samsung, nexus as android device has no complexity. There are a lot of tutorials for it. But complexity arises when we want to use Symphony, Walton, Micromax and other local China phones which are available in Bangladesh .First we need ADB driver for device like Google driver or OEM driver.It can be download from here:

Wednesday, June 25, 2014

Bangladesh JSC, SSC/Dakhil, SSC(Vocational), HSC/Alim, HSC(Vocational), HSC(BM), Diploma in Commerce, Diploma in Business Studies EXAM Result Published

JSC, SSC/Dakhil, SSC(Vocational), HSC/Alim, HSC(Vocational), HSC(BM), Diploma in Commerce, Diploma in Business Studies  এর প্রকাশিত ফলাফল দেখার জন্য

বাংলাদেশের শিক্ষা বোর্ডের নিচের সাইটে ভিসিট করুন আর প্রয়োজনীয় তথ্য প্রবেশ করিয়ে আপনার

কাঙ্ক্ষিত রোল নাম্বারের ফলাফল জেনে নিন।


My Future Diary: Breadth-first search coding in Python

 My future diary for revision:
#Breadh First search
import Queue
initial = 9925065 
GRAPH = { 1:[(2,initial) ,(3,initial)] , 3:[(4,initial) ,(5,initial),(8,initial)] , 2: [(5,initial),(52,initial)] , 5:[(9,initial)] , 8:[(126,initial)]   }

key = GRAPH.keys() # Here 1,2,3,,5,6,8 excet the root*/
for i in range(len(key)):
    vertice = GRAPH[key[i]]
    print "Parent : "+ str(key[i])
    for j in (vertice):
      print  " " + str(j[0])

queue = Queue.Queue()

root = (1,0)
search   = input('Enter which vertices You want to search: ')
found = 0

print "Root : " + str(root)
print "Need to find   : " + str(search)

visit = []
while not queue.empty():

     current_node = queue.get()

     print  "Current node : "+ str(current_node)
     if current_node[0] == search :
         found = current_node[1] #value/cost/complexity
         print "Found"
         print "Complexity = " + str(found)
         found  = 1
     if GRAPH.has_key(current_node[0]) and (visit.count(current_node[0]) == 0 ):
         child_node = GRAPH[current_node[0]]
         previous_cost = current_node[1]
         new_cost = previous_cost + 1
         print "child node  of  "+ str(current_node)+" are " + str(child_node)
         for i in child_node:
             child_previous_cost = i[1]
             if(child_previous_cost > new_cost):
                 new_node_status = (i[0] , new_cost)
if found == 0:
    print "The desired node doesn't exist in the tree"

Courtesy: Kowsar Hossain Auvi Sir
                Robin halder

Tuesday, June 24, 2014

Bangladesh Polytechnic Result Published

To see the upcoming Polytechnic Result of this year visit below image  link:

Monday, June 23, 2014

Sunday, June 22, 2014

AutoPlay - Turn On or Off in Windows 8

In windows 7 I know that it was easy to turn off AutoPlay by just going to"Run>>gpedit.msc  >> Computer Configuration >Administrative
Templates>>Turn off Autoplay>> Clicking  Enabled and then selecting All drives in the  box to disable Autorun for all drives".  
But in windows 8 I didn't find that there. For windows 8 it is in "Run >> gpedit.msc >>Computer Configuration >> Administrative Templates

Friday, June 20, 2014

Loading PHP file in any html or PHP file with Json

<html lang="en">
<meta charset="utf-8">
<title>load demo</title>
body{ font-size: 12px; font-family: Arial; }
<script src="jquery.js"></script>
<b>Successful Response (should be blank):</b>
<div id="success"></div>
<b>Error Response:</b>
<div id="error"></div>
var browser=navigator.userAgent;
//if (browser.lastIndexOf("Chrome")>=5)
$("#success").load("index.php", function(response, status, xhr) {
if (status == "error") {
var msg = "Sorry but there was an error: ";
$("#error").html(msg + xhr.status + " " + xhr.statusText);

Thursday, June 19, 2014

Change the color of the active anchor (parent tag element) /current URL menu tab text in spry menu bar with JavaScript

I had tried in many way like active tag, JavaScript etc for changing the color of the active tab menu in spry menu bar or any type of menu bar. At last I had made this code. Also you can find details in my stackoverflow ID  Muhammad Ashikuzzaman by clicking here . Here is a link for prove or

 <ul id="MenuBar1" class="MenuBarHorizontal">
   <li><a href="index.php" class="MenuBarItemSubmenu">Home</a>    </li>
   <li><a class="MenuBarItemSubmenu" href="#">Exam</a>
      <li><a href="english.php">English</a></li>
      <li><a href="math.php">Math</a></li>
      <li><a href="details.php">Details</a></li>
   <li><a href="uklife.php" class="MenuBarItemSubmenu">Uk Life</a>

Wednesday, June 18, 2014

Adding Multi Level Drop Down Menu For Blogger or Any Html Sites

For adding multilevel attractive menu bar in your html page or blogger sites see the below insteuctions.
For blogger :
1. Log in blogger dashboard  (with email)> Layout
2. Click on add a gadget (below header), also in many place you can see "Add a Gadget". 
3. Select HTML/JavaScript by scrolling mouse4. Put the below code there and save

For HTML/PHP page :
Just copy and paste the code from the below link.

Add Choice