Autor | Zpráva | ||
---|---|---|---|
Anonymní Profil * |
#1 · Zasláno: 21. 3. 2006, 14:47:03
Dobry den
chtel bych se zeptat jak muzu menit soubor banner2.html podle zmeny rozliseni v tomto frame $output = "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Frameset//EN\">\n". "<html><head>\n" . "<meta name=\"robots\" content=\"noindex,nofollow\">\n" . "<title>$org_title</title>\n" . "<frameset frameborder=\"2\" framespacing=\"2\" rows=\"70, *\">\n" . "<frame src=\"banner2.html\" name=\"banner\" MARGINHEIGHT=\"0\" MARGINWIDTH=\"0\" NORESIZE SCROLLING=\"NO\" frameborder=\"0\" />\n"; Vim ze to dela java a taky sem nasel k tomu skript <script language="JavaScript"> <!--// hide bad old browsers var s640x480page = "http://www.yoursite.com/index1.html"; var s800x600page = "http://www.yoursite.com/index2.html"; var s1024x768page = "http://www.yoursite.com/index3.html"; var pagetype; if ((screen.height == 480) && (screen.width == 640)) { pagetype = 1; } else if ((screen.height == 600) && (screen.width == 800)) { pagetype = 2; } else if ((screen.height == 768) && (screen.width == 1024)) { pagetype = 3; } else { pagetype = 1; } if (pagetype == 1) { window.location.href = s640x480page } else if (pagetype == 2) { window.location.href = s800x600page } else if (pagetype == 3) { window.location.href = s1024x768page } //--> </script> Ja ale nevim kam to mam umistit aby to fungovalo pro ten muj frame Dik Pet |
||
BaTeCzKo Profil |
#2 · Zasláno: 21. 3. 2006, 17:28:04
nepouzivej ramy, jsou (téměř) na nic XO
|
||
Časová prodleva: 16 let
|
Toto téma je uzamčeno. Odpověď nelze zaslat.
0