Free Code Snippets in C#, Net Framework, Office 365, ASP.Net,WPF, Visual Studio, SQL Server, Antivirus free
#
HTML: Move the position of an element only up to a certain position Net-Framework/ASP_dot_Net/HTML
HTML: Move the position of an element only up to a certain position
20.04.2018 286
How does one set it that an HTML element is only moved to a certain position when the browser moves the page? View browser In this example, the DIV area on a web page is only moved to the top of the window The element thus always remai

Javascript Code: Resize Border to add and remove an image Net-Framework/ASP_dot_Net/HTML/JavaScript
Javascript Code: Resize Border to add and remove an image
04.04.2018 336
This code example adds a changeable frame to an HTML image when the mouse clicks When dragging the frame in the lower right corner then changes the displayed image size If you leave the editor (div element), all resize frames are automatically removed and the imag

Javascript: frame HTML element with another element Net-Framework/ASP_dot_Net/HTML/JavaScript
Javascript: frame HTML element with another element
04.04.2018 217
This javascript code snippet does the following: Clicking on an HTML Image element surrounds it with a div element The first step is to create a div element var div = document createEleme

Javascript: attach event to all children Net-Framework/ASP_dot_Net/HTML
Javascript: attach event to all children
04.04.2018 179
Task: how can you add an event to all elements of a given HTML tag? Description: HTML, Javascript The following example shows how to attach all P-Html elements in a Div container element with a click-event

Asp: Display image refreshed despite browser cache Net-Framework/ASP_dot_Net/HTML
Asp: Display image refreshed despite browser cache
02.04.2018 221
How to update an image in an Asp Net website when the Browser Cache is turned on If I display a picture on a web page and change it with the upload, then the new picture is not displayed because the browser has cached the previous picture in the cache Can I update

Show Emoticons as Black and White Graphics Net-Framework/ASP_dot_Net/HTML
Show Emoticons as Black and White Graphics
29.03.2018 358
Show emoticons as black and white How to display emoticons as simple black and white graphics For this you can in a text editor simply insert the inserted emoticons with the font Segoe UI Emoji Segoe UI Emoji

Image and emojis gray Net-Framework/ASP_dot_Net/HTML/CSS
Image and emojis gray
29.03.2018 203
1) Style filter grayscle If you want to display a picture or icon from colored to gray on a web page, then you can simply set a CSS style flag With the style attribute filter: grayscale, you can change any displayed image to gray In HTML

jQuery Example: Convert text to number, swap image Net-Framework/ASP_dot_Net/HTML
jQuery Example: Convert text to number, swap image
28.03.2018 282
How can I exchange an image in HTML and change a text number? Task: I would like to change an embedded image of the button when clicking on a button and increase or decrease the adjacent text as a number Solution: The resoluti

How can I copy something to the clipboard with a button from a web page? Net-Framework/ASP_dot_Net/HTML
How can I copy something to the clipboard with a button from a web page?
28.03.2018 558
Task: I would like to use a button to copy the current URL of the website to the clipboard Solution: You can use the javascript code copy to copy the selected text of an input text box to the clipboard

Javascript: how to get the URL of the current website Net-Framework/ASP_dot_Net/HTML
Javascript: how to get the URL of the current website
28.03.2018 161
How can I use javascript or jQuery to find the current web URL? In javascript or jQuery Solution: In Javascript: window location href

HTML Style: Create text border with text-shadow Net-Framework/ASP_dot_Net/HTML/CSS
HTML Style: Create text border with text-shadow
26.03.2018 205
HTML Style: Create text border How to make a text border around a text in HTML with CSS style? I want the border around the text The style setting border unfortunately leads to a frame Solution: Setting the style attribute: text-shadow

Javascript: Query dialog OK Cancel Net-Framework/ASP_dot_Net/HTML
Javascript: Query dialog OK Cancel
23.03.2018 183
Javascript: Query dialog How to generate a confirmation dialog in HTML Javascript before deleting? Solution: with javascript confirm

HTML: Resize element Net-Framework/ASP_dot_Net/HTML/CSS
HTML: Resize element
23.03.2018 296
How to make an HTML resizable in size? To do this, you only have to add the resize style attribute in an HTML div tag Then a small changeable corner appears in the bottom right side of the page layout

Automatically resize images with CSS Net-Framework/ASP_dot_Net/HTML/CSS
Automatically resize images with CSS
22.03.2018 197
One problem in web pages is always that when resizing the browser, the embedded images can look over the frame How can I automatically resize images in an HTML web page when the page shrinks? With CSS and HTML, this is directly possible if you choo

Bilder automatisch in der Größe anpassen mit CSS Net-Framework/ASP_dot_Net/HTML
Bilder automatisch in der Größe anpassen mit CSS
22.03.2018 284
Ein Problem in Webseiten ist immer, dass beim Verkleinern der Browser-Größe die eingetteten Bilder über den Rahmen schauen können Wie kann man Bilder in einer HTML Webseite automatisch verkleinern, wenn sich die Seite verkleinert ? Mit CS

Javascript: remove comments Net-Framework/ASP_dot_Net/HTML/JavaScript
Javascript: remove comments
21.03.2018 178
Javascript: remove comments This little javascript example deletes all comments in an HTML code The call meets with Remove_Comments (htmlElement) &

Javascript: change style in javascript Net-Framework/ASP_dot_Net/HTML
Javascript: change style in javascript
20.03.2018 173
Javascript: change style in javascript How to change the style settings of individual HTLM elements at runtime in an HTML website In my example, I would like to delete the Microsoft styles, which are taken over from the Word export via the clipboard

Remove Class, Remove Class Css in HTML Net-Framework/ASP_dot_Net/HTML/JavaScript
Remove Class, Remove Class Css in HTML
19.03.2018 276
Javascript: Remove Class This JAvascipt example deletes every class attribute in HTML that says "mso" A CSS class is deleted in javascript by executing a remove (className) in the classList of the HTMLE element

HTML Flexgrid Flex Wrap Net-Framework/ASP_dot_Net/HTML
HTML Flexgrid Flex Wrap
17.03.2018 227
How to create a Flexgrid in HTML This HTML element is a container surface in which all elements are moved to the next line when the width is insufficient The element itself is an HTML element The Flex property is achieved by setting the Style settings to D

How to create a Div Hover Block Net-Framework/ASP_dot_Net/HTML
How to create a Div Hover Block
09.03.2018 255
I need a curosor behaviors for my asp application in the output page in HTML, where if you move your mouse over a text block, the text block is displayed in color and is left-active Active Link DIV: Hover Block Create

HTML after:: and before:: Net-Framework/ASP_dot_Net/HTML
HTML after:: and before::
09.03.2018 208
HTML after:: What does the html after :: and before :: mean? With after :: and before :: you can display an additional help text before or after each HTML tag of the defined type

HTML: what does Aria-hidden mean? Net-Framework/ASP_dot_Net/HTML
HTML: what does Aria-hidden mean?
09.03.2018 367
The ARIA attribute optimizes WebContent for people with disabilities The Hidden setting exists in two different ways Html hidden A normal HTML tag can be hidden with hidden

HTML: from Style to Class Net-Framework/ASP_dot_Net/HTML
HTML: from Style to Class
07.03.2018 335
HTML: from Style to Class Transition of inline style definitions to a CSS style specification If you define a page in HTML, then you can first set the appearance of HTML elements in each element individually For this purpose, a style = "xxx: yyy

HTML: create a round thumbnail image Net-Framework/ASP_dot_Net/HTML
HTML: create a round thumbnail image
07.03.2018 211
HTML: create a round thumbnail image With the image-style attribute border-radius you can convert the corners in the display of images into round edges This allows you to display the usual profile icons around With t

HTML5: MediaPlayer Video is running but no image is shown Net-Framework/ASP_dot_Net/HTML
HTML5: MediaPlayer Video is running but no image is shown
23.12.2016 1057
MediaPlayer Video is running but no image is shown Problem: I want to make a video on my web server and display it The testvideo is a mp4 file is displayed locally on Windows and also runs when you open the file directly under the Microsoft Browser Edge Under Google Chro

Javascript: onScroll event on window body HTML Net-Framework/ASP_dot_Net/HTML/JavaScript
Javascript: onScroll event on window body HTML
13.10.2016 1565
Javascript: onScroll window body HTML If you would like to respond to scroll events of a Web page in a browser at run time, then you must build up an onScroll event in the HTML page and write a matching Javascript function You can incorporate the event onScroll in

HTML, Javascript: Newline in output Element Net-Framework/ASP_dot_Net/HTML/JavaScript
HTML, Javascript: Newline in output Element
13.10.2016 1014
HTML, Javascript: Newline in output Issue of newline characters in a HTML output element If you want to display a string in an HTML output element and the string will contain multiple rows, then you have to give out the output element in an output innerText

Javascript: debug script in Visual Studio Debugger Net-Framework/ASP_dot_Net/HTML/JavaScript
Javascript: debug script in Visual Studio Debugger
12.10.2016 976
Javascript: debug script in Visual Studio Debugging of client-side script code is very easy in Visual Studio, if you use Internet Explorer as a debugger platform For this you have set only Internet Explorer as output platform and set a breakpoint in a line of

HTML, Javascript: Embed a small script between HTML fields Net-Framework/ASP_dot_Net/HTML/JavaScript
HTML, Javascript: Embed a small script between HTML fields
12.10.2016 904
HTML, Javascript: Embed a small script between HTML fields How to build a small a Javascript function inside a Webpage in HTML? In Web pages pure HTML text areas can be mixed directly with Javascript functions This means you can simply write a HT

HTML: draw a div-container with a border in Visual Studio Net-Framework/ASP_dot_Net/HTML
HTML: draw a div-container with a border in Visual Studio
12.10.2016 1993
HTML: div-container with framework in Visual Studio How to draw a div block with a border? To extend a div block with a simple frame, so this can be seen visible, in the tag a style property has to be insert As this example style = " border: 1px solid black; " "

Mobile

.

Contact for Jobs, Project Requests: raimund.popp@microsoft-programmierer.de