google

Newest Post

Funny Facts Of IT Profession

| Wednesday, March 26, 2014
Read more »
 









 


(Thanks dressesdotcom for these ultimate facts of my profession. Could not help myself from re-blogging.)

Funny Facts Of IT Profession

Posted by : Stranger
Date :Wednesday, March 26, 2014
With 0comments

Dynamic Menu using HTML and CSS in ASP.Net

| Tuesday, March 25, 2014
Read more »
In this article we will create nested dynamic menus and submenus using CSS and HTML which all browsers support.
  
Let's start by creating a website as:
  1. Start - All Programs - Microsoft Visual Studio
  2. File - New Website - C# - Empty website (to avoid adding a master page)
  3. Give the web site a name such as NestedSubmenu or whatever you wish and specify the location
  4. Then right-click on Solution Explorer - Add New Item - Default.aspx page
Open the source view and use the list tag to create the Menu and Submenu. The source code 
<body> tag should be as in the following:

 <body bgcolor="#c0c0c0">  
   <form id="form2" runat="server">  
   <ulid="Ul1">  // for horizontal Main Menu Tab  
 <li><ahref="#" title ="Homepage" class="selected">About Us</a ></li >  
 <li ><a href ="#" title ="About us">Authors</ a ></li >  //for submenu  
 <li ><a href ="#" title ="Projects">Articles</a >  
 <ul>  
 <li ><a href ="#" title="Older projects">Older Articles</a > //for submenu  
 <ul>  
 <li> <a href ="#" title ="">ASP.Net </ a ></ li >// for Nested subemenu and <a> tag is used to pass URL address  
 <li> <a href ="#" title ="">Silverlight</a ></ li >  
 <li> <a href ="#" title ="">Ajax</a ></ li >  
 </ ul >  
 </ li >  
  <li> <a  href ="#" title ="Active projects">New Articles</a > //for submenu  
 <ul>  
 <li> <a href ="" title ="Excel FIle">File Upload</a ></ li > // for Nested subemenu  
 <li> <a href ="" title ="ConvertNoToString">Convert Number</a ></li >  
 <li> <a href ="" title ="Stored Procedure">Stored Procedure</a ></ li >  
 </ ul >  
 </ li >  
 </ ul >  
 </ li >  
 <li> <a href ="#" title ="Contact">Contact Us</a ></ li >  
 </ul >  
   </form>  
 </body>  

In the above source code the <li> tag is used to create a horizontal Main Menu and the <ul> list tag is used to create the submenu, again under the <ul> used and another <ul> tag to create a nested submenu.
Applying effects to the Menu using CSS
 
To apply the effects to the menu use the following CSS classes:

 #menu, #menu ul  /*for main menu *\  
  {  
 list-style:none;  
 padding:0;  
 margin:0;  
 }  
 /* SHOW SUBMENU 1 */  
 #menu li:hover ul, #menu li.over ul   
 {  
 display:block;  
 }  
 #menu li:hover ul ul, #menu li.over ul ul   
 {  
 display:none;  
 }  
 /* SHOW SUBMENU 2 */  
 #menu ul li:hover ul, #menu ul li.over ul   
 {  
 display:block;  
 }  
 /* for mouse hover */  
 #menu a:hover   
 {  
 background-color:#5798B4;  
 color:#fff;  
 }  

The output in the browser will be:

nestedmenu.jpg


Dynamic Menu using HTML and CSS in ASP.Net

Posted by : Stranger
Date :Tuesday, March 25, 2014
With 0comments

ABC's of Technology

| Monday, March 24, 2014
Read more »
ABC's of Technology







  • A = Apple, AIM, AOL, Audacity, Animoto, Avatar
  • B = Bluetooth, Blogspot
  • C = CPU, Core, Classroom 2.0
  • D = Digg, Del.icio.us, Diigo, Dopplr, Disqus, Dabbleboard, DropBox, DropCard
  • E = Explorer, Emule Edu20, Edmodo, Edublogs, Elluminate, Ebay
  • F = Facebook, Firefox, Flickr, FriendFeed, FriendFeed
  • G = Google, Glogster, Gravatar, Goodreads, GetSatisfaction
  • H = Hulu, HIT
  • I = Iphone, Inspiration, Iterasi
  • J = Java, Javascript, Jott, Jing
  • K = K-lite codec, Kazaa, Kidspiration
  • L = Linux, LinkedIn, Lizzer, LMS/LCMS, LibraryThing
  • M = MSN, Magmolia, MySpace, Mashable, MooURL
  • N = Napster, Ning
  • O = Office, OpenOffice, OpenID
  • P = Play Station, Plurk, pbWiki, Plaxo, Pandora, Ping.fm, PollDaddy, PayPal
  • Q = Quicktime
  • R = Rss, reQall, Retaggr, RealPlayer
  • S = SecondLife, Seesmic, Skype, StumbleUpon, SlideShare, Studeous, Screencast, Scribblar
  • T = Tags, Twitter, Tumblr, Technorati, TinyURL
  • U = USB, Utterli, UStream
  • V = Vista, VoiceThread, Vi.sualize,Vimeo, Viddler, Vostu
  • W = Wikipedia, Wikispace, Wordpress, Wordle, Webspiration, WiZiQ, WindowsLive
  • X = XP, Xorg
  • Y = YouTube, Yammer, Yugma
  • Z = Zuma, Zoho, Xing, Zillow
  • @ = e-Mail
  • Smiley = IMs - AOL AIM, Windows Live Messenger, Yahoo IM

  • ABC's of Technology

    Posted by : Stranger
    Date :Monday, March 24, 2014
    With 1 comments:

    Amazing Facts that might OMG you@@

    |
    Read more »

    SunRay SX2 golf cart: 72 photovoltaic solar cells on the roof power the 48-volt battery of this golf cart. The golf cart is priced at about $9,000. The golf cart can travel at a speed of 24 mph and can cover 49 miles.





















    Thats GROSS!!!


    (Thanks to the resource websites.)

    Amazing Facts that might OMG you@@

    Posted by : Stranger
    Date :
    With 0comments

    ScriptManager.RegisterStartupScript using JavaScriptSerializer - To display the Alert or Message Box from Code behind

    | Thursday, March 13, 2014
    Read more »
    While registering a message using the javascript code in RegisterStartupScript, message might contain some escape characters like ' or " this will definitely break the javascript. Hence we need to encode it, for example using JavaScriptSerializer as follows.



      string message = new JavaScriptSerializer().Serialize(ex.Message.ToString());  
      string myScript = String.Format("alert('{0}');", msg);  
      ScriptManager.RegisterStartupScript(page, page.GetType(), "MyScript", myScript, true);  
    




    Next Prev
    ▲Top▲