Zum Inhalt springen

Der Computer Blog

Alles über die Informatik & Co.

  • Programmierung
    • HTML5
      • CSS3 Animationen
      • CSS3 Transitionen
      • CSS3 Performance
    • JavaScript
      • Best Practices
    • JEE Tutorial
    • MySQL
    • Python
    • Windows Phone
    • Windows Store
  • Spicker
    • Linux Befehle
    • MySQL Befehle
    • Reguläre Ausdrücke
  • Tools
    • Countdown-Zähler
    • Passwort-Generator
    • Prozentrechner
    • Sprite-Generator
  • Empfehlungen
    • Firefox Plugins
    • Software
  • E-Learning

Schlagwort: changing

Setting background images with jQuery

Setting or changing background images with jQuery is super simple:

$('html').css('background-image','url("../../images/photo.png")');

$('html').css('background-image','url("../../images/photo.png")');

Veröffentlicht am 25. März 201222. März 2012Kategorien JavaScriptSchlagwörter background, changing, Images, JavaScript, jQuery, js, settingSchreibe einen Kommentar zu Setting background images with jQuery
Stolz präsentiert von WordPress