Thursday, January 26, 2012

scroll bar in table

Scrollbar in table is not possible. 
There is one way in that UI is like Scroll bar in table.
 <div style="height: 250px; overflow: scroll;">
<table></table>
</div>
Scroll bar Table Cell Content 1 Scroll bar Table Cell Content 2 Scroll bar Table Cell Content 3
More Scroll bar Table Cell Content 1 More Scroll bar Table Cell Content 2 More Scroll bar Table Cell Content 3
Even More Scroll bar Table Cell Content 1 Even More Scroll bar Table Cell Content 2 Even More Scroll bar Table Cell Content 3
And Repeat 1 And Repeat 2 And Repeat 3
Scroll bar Table Cell Content 1 Scroll bar Table Cell Content 2 Scroll bar Table Cell Content 3
More Scroll bar Table Cell Content 1 More Scroll bar Table Cell Content 2 More Scroll bar Table Cell Content 3
Even More Scroll bar Table Cell Content 1 Even More Scroll bar Table Cell Content 2 Even More Scroll bar Table Cell Content 3
And Repeat 1 And Repeat 2 And Repeat 3
Scroll bar Table Cell Content 1 Scroll bar Table Cell Content 2 Scroll bar Table Cell Content 3
More Scroll bar Table Cell Content 1 More Scroll bar Table Cell Content 2 More Scroll bar Table Cell Content 3
Even More Scroll bar Table Cell Content 1 Even More Scroll bar Table Cell Content 2 Even More Scroll bar Table Cell Content 3
And Repeat 1 And Repeat 2 And Repeat 3
Scroll bar Table Cell Content 1 Scroll bar Table Cell Content 2 Scroll bar Table Cell Content 3
More Scroll bar Table Cell Content 1 More Scroll bar Table Cell Content 2 More Scroll bar Table Cell Content 3
Even More Scroll bar Table Cell Content 1 Even More Scroll bar Table Cell Content 2 Even More Scroll bar Table Cell Content 3
And Repeat 1 And Repeat 2 And Repeat 3
Scroll bar Table Cell Content 1 Scroll bar Table Cell Content 2 Scroll bar Table Cell Content 3
More Scroll bar Table Cell Content 1 More Scroll bar Table Cell Content 2 More Scroll bar Table Cell Content 3
Even More Scroll bar Table Cell Content 1 Even More Scroll bar Table Cell Content 2 Even More Scroll bar Table Cell Content 3
And Repeat 1 And Repeat 2 And Repeat 3
Scroll bar Table Cell Content 1 Scroll bar Table Cell Content 2 Scroll bar Table Cell Content 3
More Scroll bar Table Cell Content 1 More Scroll bar Table Cell Content 2 More Scroll bar Table Cell Content 3
Even More Scroll bar Table Cell Content 1 Even More Scroll bar Table Cell Content 2 Even More Scroll bar Table Cell Content 3
And Repeat 1 And Repeat 2 And Repeat 3
Scroll bar Table Cell Content 1 Scroll bar Table Cell Content 2 Scroll bar Table Cell Content 3
More Scroll bar Table Cell Content 1 More Scroll bar Table Cell Content 2 More Scroll bar Table Cell Content 3
Even More Scroll bar Table Cell Content 1 Even More Scroll bar Table Cell Content 2 Even More Scroll bar Table Cell Content 3
And Repeat 1 And Repeat 2 And Repeat 3
Scroll bar Table Cell Content 1 Scroll bar Table Cell Content 2 Scroll bar Table Cell Content 3
More Scroll bar Table Cell Content 1 More Scroll bar Table Cell Content 2 More Scroll bar Table Cell Content 3
Even More Scroll bar Table Cell Content 1 Even More Scroll bar Table Cell Content 2 Even More Scroll bar Table Cell Content 3
And Repeat 1 And Repeat 2 And Repeat 3
Scroll bar Table Cell Content 1 Scroll bar Table Cell Content 2 Scroll bar Table Cell Content 3
More Scroll bar Table Cell Content 1 More Scroll bar Table Cell Content 2 More Scroll bar Table Cell Content 3
Even More Scroll bar Table Cell Content 1 Even More Scroll bar Table Cell Content 2 Even More Scroll bar Table Cell Content 3
And Repeat 1 And Repeat 2 And Repeat 3
Scroll bar Table Cell Content 1 Scroll bar Table Cell Content 2 Scroll bar Table Cell Content 3
More Scroll bar Table Cell Content 1 More Scroll bar Table Cell Content 2 More Scroll bar Table Cell Content 3
Even More Scroll bar Table Cell Content 1 Even More Scroll bar Table Cell Content 2 Even More Scroll bar Table Cell Content 3
And Repeat 1 And Repeat 2 And Repeat 3
Scroll bar Table Cell Content 1 Scroll bar Table Cell Content 2 Scroll bar Table Cell Content 3
More Scroll bar Table Cell Content 1 More Scroll bar Table Cell Content 2 More Scroll bar Table Cell Content 3
Even More Scroll bar Table Cell Content 1 Even More Scroll bar Table Cell Content 2 Even More Scroll bar Table Cell Content 3
End of Scroll bar Table Cell Content 1 End of Scroll bar Table Cell Content 2 End of Scroll bar Table Cell Content 3

Wednesday, January 18, 2012

video audio player all in one plugin for mp3, mp4,mov,.3gp,swf in asp.net,php,jsp








Browser JWPlayer support .mp3, .mp4, .mov, .swf
below example is given
<script type='text/javascript' src='/jwplayer/jwplayer.js'></script>
<div id='mediaplayer'></div>
<script type="text/javascript">
  jwplayer('mediaplayer').setup({
    'flashplayer': 'player.swf',
    'id': 'playerID',
    'width': '480',
    'height': '270',
    'file': 'video.flv',
    'image': 'image.jpg',
    'plugins': {
       'viral-2': {
           'onpause': 'false',
           'callout': 'none'
       }
    }
  });
</script>
  
 Plugin Download

Sunday, October 9, 2011

What is difference between OR (|) and Logical OR (||) ?

1. Logical OR Sign is || and AND Sign is  |.
2. Both work is same but Operation Method is Different 
for example 
if(a==10 || b==10) 
here if a =10 then condition is Satisfied and not going checking values of B. 
Moral One Operation for checking second i.e B values decrasesand in AND & operation 
if(a==10 | b==10)
here if a ==10 then also it is checking B value i.e  it is not necessary.    
    
Logical OR(||) is Best.