Sunday, February 19, 2012

css hack for IE mouse over

Original Link::
http://www.communitymx.com/content/article.cfm?page=2&cid=52428


css hover link

Tuesday, September 13, 2011

IE 6 hack for width and heights

all about min - height hacks:

http://www.webdevelopment2.com/ie-css-min-height-hack/

* html div {
\width: 140px; /* for IE5 and IE6 in quirks mode */
w\idth: 100px; /* for IE6 in standards mode */
}

Tuesday, August 30, 2011

The Best png fix for ie 6

1. http://www.twinhelix.com/css/iepngfix/
2. http://stylizedweb.com/2008/07/27/a-brand-new-png-fix-for-ie6/
3. http://www.hdeya.com/blog/2009/03/best-png-fix-for-ie6/
4. http://www.dillerdesign.com/experiment/DD_belatedPNG/#download
5. http://24ways.org/2007/supersleight-transparent-png-in-ie6
7 jQuery fix
http://jquery.andreaseberhard.de/pngFix/
http://stackoverflow.com/questions/60740/which-jquery-plugin-should-be-used-to-fix-the-ie6-png-transparency-issue

8.jQuery plugin fix
http://blog.idealmind.com.br/geral/fixpng-jquery-plugin-for-ie6/

Tuesday, July 5, 2011

reset css

:link,:visited {text-decoration:none}
ul,ol {list-style:none}
h1,h2,h3,h4,h5,h6,pre,code {font-size:1em;}
ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,input
{ margin:0; padding:0 }
a img,:link img,:visited img {border:none}

Monday, January 3, 2011

Quetions to answers on for UI developer

I read these question and agree that questions must be answered by UI developer

0.What is a DTD? What DTD do you generally use? Why? Pros and cons.
1. what is difference between the “visibility:hidden” and “display:none”?
2. what is the difference between inline and inline block?

Friday, August 27, 2010

Anchor TAG : to anchor any location within a page



Suppose you have button on click you need to anchor  on bottom of page.
The function that you going to call on click is newoffice();

Solutions:
//------------------------------

1. write the following code on the newoffice function.

 function NewOffice()
{   window.location = window.location + "#controlId";}
     // controlId is the name of control, place this control to
        location that you need page to anchor
2. create a label or any control with visibility = hidden , whose id =”controlId”
   Eg.

<asp:Label id="myNew" visiblity="hidden" text=""> </asp:Label>

//------------------------------



No need to make function
//------------------------------

Source (where event will take place like click):
       <a href="#target">Highlighted Text</a>

Target (the place where you want to anchor page):
       <a name="target">Destination</a>

//------------------------------



//------------------------------


Call this function onclick :
                    GotoETag('ench_officehead');

Definition:
function GotoETag(etagname)
{
    var currentHref = window.location.href;
    window.location.href = currentHref.substr(0, currentHref.lastIndexOf("#")) + "#"+etagname;
    return true;
}
If you have requirement to fire two function on single click,
Nest the two function is alos a good option.