![]() |
![]() ![]() |
![]() |
![]()
Post
#1
|
|
![]() Grupa: Zarejestrowani Postów: 14 Pomógł: 0 Dołączył: 28.12.2005 Ostrzeżenie: (0%) ![]() ![]() |
mam taki oto skrypt zmiany tła
Kod <script language="JavaScript"> <!-- // Copyright 2001 by www.CodeBelly.com // Please do *not* remove this notice. var backImage = new Array(); // don't change this backImage[0] = "obrazy/tapeta1.jpg"; backImage[1] = "obrazy/tapeta.jpg"; backImage[2] = "obrazy/tapeta2.jpg"; backImage[3] = "obrazy/tapeta3.jpg"; // Do not edit below this line. //----------------------------- function changeBGImage(whichImage){ if (document.body){ document.body.background = backImage[whichImage]; } } //--> </script> oraz odnosniki Kod <a href="kasia.js:changeBGImage(1)">Change</a> <a href="javascript:changeBGImage(2)">Change</a> <a href="javascript:changeBGImage(3)">Change</a> i teraz, jak mozna zrobic aby te odnosniki byly np. w ramce1 a tło zmienialo sie w ramce2? Ten post edytował AZPR 27.03.2006, 14:49:54 -------------------- |
|
|
![]() ![]() |
![]() |
Wersja Lo-Fi | Aktualny czas: 7.07.2025 - 22:25 |