Hirdetés
- gban: Ingyen kellene, de tegnapra
- Luck Dragon: Asszociációs játék. :)
- sh4d0w: Árnyékos sarok
- ubyegon2: Airfryer XL XXL forrólevegős sütő gyakorlati tanácsok, ötletek, receptek
- Gurulunk, WAZE?!
- GoodSpeed: Márkaváltás sok-sok év után
- bambano: Bambanő háza tája
- sziku69: Szólánc.
- sziku69: Fűzzük össze a szavakat :)
- eBay-es kütyük kis pénzért
Új hozzászólás Aktív témák
-
válasz
Meggyi001
#21292
üzenetére
Bocsi, nem formáztam
<!DOCTYPE html><html><head><style>.news-container {display: flex;justify-content: flex-end;align-items: center;height: 50px;background-color: lightgray;}.news-item {padding: 10px;font-size: 20px;color: black;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}</style></head><body><div class="news-container"><marquee class="news-item" behavior="scroll" direction="left">News Item 1 | News Item 2 | News Item 3</marquee></div></body></html>
--------------------------<!DOCTYPE html><html><head><style>.news-container {display: flex;justify-content: flex-end;align-items: center;height: 50px;background-color: lightgray;}.news-item {padding: 10px;font-size: 20px;color: black;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}</style></head><body><div class="news-container"><marquee class="news-item" behavior="scroll" direction="left" id="news-item">Loading news...</marquee></div><script>// Fetch the CNN news from an APIconst apiUrl = "https://api.example.com/cnnnews";fetch(apiUrl).then(response => response.json()).then(data => {// Update the news item text with the fetched newsconst newsItem = document.getElementById("news-item");newsItem.innerText = `CNN Breaking News: ${data.breakingNews} | CNN Latest Headlines: ${data.latestHeadlines}`;}).catch(error => {console.error("Error fetching CNN news:", error);});</script></body></html>------------------------------
<!DOCTYPE html><html><head><style>.news-container {display: flex;justify-content: flex-end;align-items: center;height: 50px;background-color: lightgray;}.news-item {padding: 10px;font-size: 20px;color: black;white-space: nowrap;overflow: hidden;text-overflow: ellipsis;}</style></head><body><div class="news-container"><marquee class="news-item" behavior="scroll" direction="left" id="news-item">Loading news...</marquee></div><script>// Fetch the Google news from the APIconst apiUrl = "https://news.google.com/home?hl=hu&gl=HU&ceid=HU:hu";fetch(apiUrl).then(response => response.text()).then(data => {// Parse the fetched data to extract the news headlinesconst parser = new DOMParser();const htmlDocument = parser.parseFromString(data, "text/html");const headlines = htmlDocument.querySelectorAll(".pg-c:not(.pg-c-t)");// Concatenate the headlines into a single stringconst headlinesText = Array.from(headlines).map(headline => headline.textContent.trim()).join(" | ");// Update the news item text with the fetched headlinesconst newsItem = document.getElementById("news-item");newsItem.innerText = headlinesText;}).catch(error => {console.error("Error fetching Google news:", error);});</script></body></html>
Új hozzászólás Aktív témák
- Bomba ár! HP Revolve 810 G2 - i7-G4 I 12GB I 256GB SSD I 11,6" HD Touch I Cam I W10 I Garancia
- Xbox One X 1 TB + kontroller 6 hó garancia, számlával!
- HIBÁTLAN iPhone 15 Pro Max 256GB Blue Titanium -1 ÉV GARANCIA -Kártyafüggetlen, 100% Akkumulátor
- BESZÁMÍTÁS! ASRock B450M R5 2600X 16GB DDR4 512GB SSD GTX 1050Ti 4GB AIGO B352A Chieftec 400W
- Bomba ár! Lenovo IdeaPad 330S - i3-8130U I 8GB I 128SSD I 14" FHD I HDMI I Cam I W11 I Gari!
Állásajánlatok
Cég: ATW Internet Kft.
Város: Budapest
Cég: BroadBit Hungary Kft.
Város: Budakeszi

