RcBuilder@walla.com
call centre: 054-5614020

LINQ 2 SQL

Posted by: RcBuilder  /   Category: ADO.NET / button / Button / DBA / div / GridView / HTML / LINQ 2 SQL / SOURCE CODE / SQL   /   No Comments
09
Nov
2014

LINQ 2 SQL STEPS 1. add new Item -> Linq To SQL Classes (.dbml) 2. open server explorer -> create new connection to the desired dataBase 3. drag-drop the tables you want to map to objects remark: you can also drag stored Procedures, views and more ... 4. add -> associations (create the connections between the tables - foreign keys) 5. use.

Read more

clearfix

Posted by: RcBuilder  /   Category: CSS / div / HTML   /   No Comments
22
Oct
2014

clearfix CSS .clearfix:after { content: "."; display: block; clear: both; visibility: hidden; line-height: 0; height: 0; } .clearfix { display: inline-block; } html .clearfix { display: block; } * html .clearfix { height: 1%; }   HTML <div class="clearfix"> <div style="float:left;">A</div> <div style="float:left;">B</div> <div style="float:left;">C</div> <div style="float:left;">D</div> <div style="float:left;">E</div> <div style="float:left;">F</div> </div> <div>G</div> <div class="clearfix"> <div style="float:left;">H</div> <div style="float:left;">I</div> <div style="float:left;">J</div> <div style="float:left;">K</div> </div> <div>L</div> <div>M</div> <div class="clearfix"> <div style="float:left;">N</div> <div style="float:left;">O</div> <div style="float:left;">P</div> <div style="float:left;">Q</div> <div style="float:left;">R</div> <div style="float:left;">S</div> <div style="float:left;">T</div> <div style="float:left;">U</div> <div style="float:left;">V</div> </div> <div>W</div> <div class="clearfix"> <div style="float:left;">X</div> <div style="float:left;">Y</div> <div.

Read more

jQuery Counters – count page elements

Posted by: RcBuilder  /   Category: a / body / children / div / each / HTML / JAVASCRIPT / jQuery / not / size / span / tagName   /   No Comments
20
Oct
2014

jQuery Counters - count page elements html <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script type="text/javascript" src="jquery-1.5.2.min.js"></script> </head> <body> <a limited="1">LINK</a>&nbsp;&nbsp;|&nbsp;&nbsp; <a>LINK</a>&nbsp;&nbsp;|&nbsp;&nbsp; <a limited="1">LINK</a>&nbsp;&nbsp;|&nbsp;&nbsp; <a>LINK</a>&nbsp;&nbsp;|&nbsp;&nbsp; <a limited="1">LINK</a>&nbsp;&nbsp;|&nbsp;&nbsp; <a limited="0">LINK</a>&nbsp;&nbsp;|&nbsp;&nbsp; <a limited="1">LINK</a> <br /><br /> <span>SPAN</span>&nbsp;&nbsp;|&nbsp;&nbsp; <span limited="1">SPAN</span>&nbsp;&nbsp;|&nbsp;&nbsp; <span limited="1">SPAN</span>&nbsp;&nbsp;|&nbsp;&nbsp; <span>SPAN</span> </body> </html> counters // 14 (all elements within the body element) alert($('body').children('*').size()); // 18 (all tags including head, script etc.) alert($('*').size()); // 7 (all non link elements within the body element) alert($('body').children('*').not('a').size()); using $('body').children('*').each(function () { alert(this.tagName);.

Read more

draw Menu Triangle using HTML5 Canvas

Posted by: RcBuilder  /   Category: bind event / body / Canvas / CSS / css / div / header / HTML / HTML 5 / JAVASCRIPT / jQuery / lists / offset / onload event / section   /   No Comments
12
Oct
2014

draw Menu Triangle using HTML5 Canvas Style <style type="text/css"> body{background-color:#333;} header{ background-color:pink; height:200px; padding-top:50px;} ul{ padding:0px; margin:0px; list-style:none;} ul li{ float:left; width:100px; } ul li a { display:block; width:100%; height:100%; cursor:pointer; text-align:center; } section{ position:relative;} canvas#triangle{ position:absolute; top:-20px; } </style> Latest jQuery <script src="http://code.jquery.com/jquery-latest.min.js" type="text/javascript"></script> Scripts <script type="text/javascript"> function CreateTriangle() { var context = $('#triangle').get(0).getContext('2d'); var width = 20; var height = 20; context.beginPath(); context.moveTo(width / 2, 0); context.lineTo(width, height); context.lineTo(0, height); context.closePath(); context.fillStyle = $('body').css('background-color'); context.fill(); } function MoveTo(a) { var left.

Read more

Div As Table

Posted by: RcBuilder  /   Category: CSS / div / HTML / table   /   No Comments
23
Sep
2014

Div As Table CSS <style type="text/css"> #table { display: table; } #row { display: table-row; border:dotted 1px #333; } #left, #right, #middle { display: table-cell; padding:10px; } #left{background-color:yellow;} #right{background-color:Purple;} #middle{background-color:Aqua;} </style> HTML <div id="table"> <div id="row"> <div id="left"> <h4>Left Col</h4> <p>text text text text</p> </div> <div id="middle"> <h4>Middle Col</h4> <p> text text text text text text text text text text text text<br /> text text text text text text text text text text text text<br /> text text text text text text text text text.

Read more
  • פיתוח מערכות
  • פתרונות טכנולוגים
  • קידום אתרים
  • בניית אתרים