Wednesday, September 28, 2016

Make bootstrap Modal dialog draggable, move up and change header/footer style


I have Modal code:

<!-- Universal Modal -->
<div class="modal fade" id="universalModal"  style="margin-top:-150px;" tabindex="-1" role="dialog" aria-labelledby="universalModalLabel" aria-hidden="true">
  <div class="modal-dialog" style="width:1000px;">                                    
    <div class="modal-content">
      <form role="form" id="universalModalForm">
        <div class="modal-header">
          <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only"> Close</span></button>
          <h4 class="modal-title" id="universalModalLabel"><span class="glyphicon glyphicon-pencil"></span> Edit<span class="modal-title">.model-title</span></h4>
        </div>
        <div class="alert alert-danger fade in" id="universalModal-alert" style="display: none;">
          <span class="alert-body"></span>
        </div>
        <div class="modal-body">.modal-body</div>
        <div class="modal-footer">
          <input type="hidden" id='stakeholder_id' name='stakeholder_id'>
          <button type="button" class="btn btn-default" data-dismiss="modal">Cancel</button>
          <button type="submit" class="btn btn-primary" id="submitBtn"></button>
        </div>
      </form>
    </div>
  </div>
</div>

<!-- End Universal Modal -->
 1) To move  bootstrap Modal dialog up, I used style="margin-top:-150px;" for my id in top div including modal class.
2) To make   bootstrap Modal dialog draggable via modal header, body and footer
                 $('#universalModal').modal('show');
                $('#universalModal .modal-dialog').draggable({
                  handle: ".modal-header, .modal-body, .modal-footer"
                 });

3) To change header and footer style
<style>
  .modal-header  {
      background-color: #5cb85c;
      color:white !important;
      text-align: center;
      font-size: 20px;
  }
  .modal-footer {
      background-color: #5cb85c;;
  }

</style>

Monday, March 28, 2016

Use Youtube as screencast to record Desktop Screen



We can use Youtube as screencast to record Desktop Screen. It is free and we can directly post to Youtube.

1) Step 1: Sign-in to YouTube.  Got to Creator Studio. Click events under Live Streaming in left panel.

2) Set video a title, Change video from public to  private if you want to keep video private at the beginning,  and click the “Go Live Now”
button.

3) If this is the first time, you will be reminded to Install the Hangouts Plugin to get started.  Click "install plugin" and run GoogleVioceAndVideoSetup.exe.

4) Click video icon to turn off webcam and unmute microphone if you want to record voice.

5) Click the Screenshare button, which is second icon  in the left toolbox. If popup, select full screen in first. If you choose other options, you may not switch between different desktop windows.

6) click Start Broadcast to start recording the screen. After finish, click to stop  Broadcast.

7) Go back Youtube Creator Studio, under Video manager, you can find the video you recorded. Change setting and publish in Youtube.

Compare to other screencast, I did not find pause button using this method,

Video:Use Youtube as screencast to record your Desktop Screen

Saturday, February 6, 2016

Norton family compromised by kill Norton family in task manager in Windows 10



If a child account in Windows 10  starts  task manager and kills Norton family, Norton family
will  not work. We need to disable standard users to kill Norton family in task manager.
a. Go to C:\Windows\System32\taskmgr.exe,
b. right click on the file,
c. chose properties,
d. go to the security tab
e. click on advanced,
-----------------------------------------------------------------------------------------------------------
If owner is trustedInstraller not Administrators, you need to change it to Administrator as follows
f.  Click change
g. In popup, click "Object Type", only select group
h Under "Enter object name to select"
Enter
Administrators
click OK
--------------------------------------------------------------------------------------------------------------
i. back to Taskmgr  Properties windows, click Edit
j.Select Users
k  uncheck "Read and execute" and check "Read"

Now when your child login, he can not start task manager.

Sunday, December 20, 2015

Microsoft Family Windows 10 Parental Controls Screen time not working and swtich to Norton family



I have windows 8,  later upgraded to  Windows 10. Parental Controls Screen time is not working anymore after upgrading. First screen time does not show correctly.  My hourly rule and block all days are not working.  I checked the solution by google.   was told that On the Start screen, right click and the find run and click, and  type C:\ProgramData\Microsoft\Windows\Parental Controls and press Enter. 
 Delete all contents of the Parental Controls folder.  "
This will delete any corrupt files. Your settings will be downloaded again from familysafety.microsoft.com the next time you sign in."
I did find settings.bin, but inside almost empty, only "{}".

I think there is a problem in Microsoft family Windows 10 parental control. Finally I switched to Norton Family.  Norton Family has  same feature Microsoft family has, but has more, although I need to pay small money each year.

Norton family premier link:
https://onlinefamily.norton.com/familysafety/loginStart.fs

There is 30 days free trial. I am quite satisfied Norton family during trial.

Sunday, June 21, 2015

Set up a child account and set screen time limit in Windows 8



1) To set up a child account in Windows 8:
a) Click start menu and click control panel
b) Click User Account, click manage another account
c) Add a new account
d) Click add a child account with email or with email account
e) Click mange family safety online or directly go to your Microsoft account online

2)Set screen time limit for child account under parental control
a) Go to your microsoft account
https://account.microsoft.com/
b)click family and click screen time and select maximum time per day your child can use computer.
you can also choose which kind of websites, apps and games your child can access.
Video: Set up a child account and set screen time limit in Windows 8