HTML Archives

WOPI based document editor for Office files

Author - Webner
|
0 Comments
|

WOPI based document editor for Office files

WOPI (Web Application Open Platform Interface) protocol is Microsoft’s platform to integrate Office Online within your application. To make use of Wopi, you would require to become a member of the Office 365 – Cloud Storage Partner Program.

The Read more…

Drag and drop .url issue

Author - Webner
|
0 Comments
|

Chromium-based browsers (chrome and edge) recently produced issues related to drag and drop hyperlink HTML elements.

I had a list of file names in the grid in my application and file names were created as hyperlink (<a></a>) elements which were allowed for dragging. The whole grid Read more…

Mvc c# : Exclude Enum values from DropDownListFor Html helper on .cshtml Page

Author - Webner
|
0 Comments
|

Suppose we have some enum type in c# as follows :
enum Performance
{
None=-1,
Dissatisfied=0,
Below Average=1,
Average =2,
Good = 3,
Excellent=4,
}
Consider some employee model with a given enum type property.
public class EmployeePerformance{
public int EmpId {get; set;}
public Performance rating{get; set}
…………………………..
………………………..
}

In a Read more…

XPath for Selenium Webdriver

Author - Shivam Thaman
|
0 Comments
|

XPath

XPath in simple terms is a way of finding an element(s) in an HTML DOM by giving its path. It is useful when name or id etc is not available to be directly used to find the element. The path given can be either Absolute or Read more…

Clear HTML cache programmatically

Author - Harleen Kaur
|
0 Comments
|

How to clear HTML cache programmatically

HTML automatic caching is one of the popular features provided in HTML5 which makes the application page loading faster as the same page is not freshly loaded every time from the server. An issue arises when the website pages are Read more…

How to create Bootstrap dropdowns in Bootstrap v4

Author - Varun Chopra

Creating Bootstrap dropdowns in Bootstrap v4

Dropdowns are used to display lists of links, names etc. Bootstrap dropdowns can be toggled by clicking on it.

1.Create a file with .html extension.
2.Include bootstrap css and js version 4 CDN link in Read more…

What is new in Bootstrap 4

Author - Webner
|
0 Comments
|

Introduction to Bootstrap 4 and what is new in it

Bootstrap 4 final stable version was released on January 18th, 2018. There are lots of new changes in this version.

1) FlexBox Support:- Earlier Bootstrap’s layout was powered by float Read more…

PHP script scheduling without cron jobs

Author - Ishpreet Kaur

PHP script scheduling without cron job

Sometimes a website built in php needs to schedule a script on daily or hourly basis – for example, Reminder Emails, Newsletter emails or Database backups to be taken automatically. Normally, these types of backend tasks can be handled with the Read more…

How to use Bootstrap pagination

Author - Kuldeep Singh
|
0 Comments
|

How to use Bootstrap pagination

Steps to use Bootstrap pagination:

1. Create a simple html file.
2. Include bootstrap css and js CDN link in html file.

Example :
<!doctype html>
<html lang=”en”>
 &lt Read more…

Drag and Drop in Jquery UI

Author - Harpal Singh
|
0 Comments
|

Drag and Drop in Jquery UI

Problem: Jquery UI provides APIs to make DOM elements draggable and droppable. We can do some things out of the box by using its APIs. I have written a Jquery code below in which a dragging div can Read more…

Introducing WordPress versions 4.9.4 and 4.9.5

Author - Sukhpreet Singh
|
0 Comments
|

WordPress Version 4.9.5

WordPress 4.9.5 is released on 3rd April 2018. This version is released to fix the security issues. There were three major security issues which are solved by the WordPress community in this version:

1. Don’t treat Read more…

Some GrapesJS Editor Customization Tips

Author - Umang Pasricha
|
0 Comments
|

GrapesJS is an open-source, Web Builder Framework to build HTML templates without any knowledge of coding.

Some tips for customizing GrapesJS Editor:

1. To add custom blocks in block manager.
Add this code to block manager json with other Read more…