Динамическая загрузка HTML-контента через Main [закрыто]CSS

Разбираемся в CSS
Ответить
Anonymous
 Динамическая загрузка HTML-контента через Main [закрыто]

Сообщение Anonymous »

Речь идет о моем веб-сайте https://illegal.solutions
Я думал, что нашел способ динамической загрузки моих сообщений. (класс CSS «контейнер») в «рамку» моей навигации/стиля. Таким образом, можно переходить от индекса к сообщению, обратно к индексу и к другому сообщению, при этом только обновляя то, что находится в контейнере.
Вот простой макет того, что я имею в виду. (красным отмечен контейнер, который будет загружаться независимо)
< /p>
Есть ли способ добиться этого с помощью CSS/HTML? Или для этого потребуется, чтобы Javascript работал должным образом? В настоящее время на сайте опубликовано то, что, по моему мнению, будет работать.
Код ниже:
главная страница:


Код: Выделить всё






illegal solutions, today
[*]










[img]https://web.archive.org/web/20090904015821im_/http://geocities.com/kevin1ofmany/rotating_computer.gif[/img]

This site is a work in progress, like I am. Do not acknowledge me.

Navigate
[list]
[url=/index.html target=]Home[/url]
[*][url=/about.html]About[/url]
[*][url=https://bsky.app/profile/totallygeeky.bsky.social]Not Twitter[/url]
[*][url=https://kagi.com/proxy/1-photo-u1?c=0zPNkpqGwJJtXvXLTEEJHlb14a9ryWYz1E9QKFdphGBQskzfpwNi24b_s5_--oHxW07aiB-vwPF8dv3KWYZYH_7Zd4gv2A0lLwDs-bx5fepBys2iKYKzLZDPng4pKTXdOmZrlos_ZowiNC3a2aQTAkadVyMiL36VMbNa_C52BGLTdPAkmyvsylbMGVUSU2Je]Cool Dog[/url]
[/list]

Banners

[url=https://www.youtube.com/watch?v=Hpr_bsRkSjA]
[img]/images/wienerdog.gif[/img]
[/url]

[url=https://www.neopets.com/]
[img]/images/neopets.gif[/img]
[/url]

[url=https://www.scientology.org/]
[img]/images/clickhere.gif[/img]
[/url]

[url=http://www.oldversion.com/windows/internet-explorer/]
[img]/images/explorer.gif[/img]
[/url]

[url=https://neocities.org/]
[img]/images/neocities.png[/img]
[/url]

All credit and huge thanks to [url=https://repth.neocities.org/index.html]©repth[/url]
additional s/o to [url=https://justmarkup.com/notes/2020-12-28-loading-and-replacing-html-parts-with-html/]JustMarkup[/url]







Good Things Come to Those Who Take
[img]https://web.archive.org/web/20091020002528/http://hk.geocities.com/take_sth/images/welcome.gif[/img]


Here's what all I've written for this site so far.  If it isn't here, it doesn't exist.
Day-Old Takes
[list]
[*][url=/posts/ai_companions target=]On AI And Companions[/url]
[*][url=/posts/on_high_crimes target=]On Shooting The C-Suite & Other High Crimes[/url]
[*][url=/posts/live_service_game target=]Live Service Games: Playing a Game With an Expiration[/url]
[*][url=/posts/not_good_faith target=]Not Everyone is a Good Faith Actor, and We Don't Need to Approach them As Such[/url]
[*][url=/posts/ai_truth target=]On AI and "Truth"[/url]
[*][url=/posts/interstellar_spectacle target=]Sometimes I like a little bit of Spectacle Cinema[/url]
[*][url=/posts/technology_rant_part1 target=]All I Want Is Not To Be Sold Things That Will Make My Life Worse, Part 1: The Problem[/url]
[*][url=/posts/technology_rant_part2 target=]All I Want Is Not To Be Sold Things That Will Make My Life Worse, Part 1.5: The Past[/url]
[*][url=/posts/elon_future_present target=]On Elon Musk, Adrian Dittmann, and The Future Present[/url]
[/list]
Music, Specifically
[list]
[*][url=/posts/spotify_sucks target=]Spotify is Destroying the Music Industry to Make Ends Meet[/url]
[*][url=/posts/exploring_music target=]Exploring the Creative Bounds of Music[/url]
[*][url=/posts/katyperry_empty_icon target=]Katy Perry - An Empty Icon of a Bygone Era[/url]
[/list]
How-To's
[list]
[*][url=/posts/piracy_good target=]Piracy is Good and You Should Do It[/url]
[/list]
Personal
[list]
[*][url=/posts/fallen_off target=]I've Fallen Off My Bike Again[/url]
[/list]
Project: Nexus (Creative Writing)
[list]
[*][url=/posts/reinventing_nexus target=]Reinventing the Torment Nexus for a Modern Era: A Primer on the Next Generation[/url]
[/list]





[url=https://github.com/voicemxil/TS-Starter-Pack]
[img]/images/simbanner.gif[/img]
[/url]

[url=https://www.amazon.co.uk/Nintendo-GameCube-Console-Purple/dp/B00005YXRM?crid=DQC1IRUAENEV]
[img]/images/gamecube.gif[/img]
[/url]

All credit and huge thanks to [url=https://repth.neocities.org/index.html]©repth[/url]  for base theme/template

Among Us Cursor from [url=http://www.rw-designer.com/cursor-set/among-us-cartoon-red-pointers]Open Cursor Library[/url]

Code for image carousel stolen from [url=https://codepen.io/andrewchaika/pen/mEqRPz]Andrew Chaika[/url]





отдельное сообщение:
< div class="snippet">

Код: Выделить всё






illegal solutions, today











Good Things Come to Those Who Take
[img]https://web.archive.org/web/20091020002528/http://hk.geocities.com/take_sth/images/welcome.gif[/img]


[img]https://web.archive.org/web/20091026215156/http://geocities.com/rem_enterprises/robot.gif[/img]
On AI and Companions
12/3/2024

This feature from The Verge came out today, [url=https://www.theverge.com/c/24300623/ai-companions-replika-openai-chatgpt-assistant-romance]The Confusing Reality of AI Friends[/url]. I recommend you read it in its entirety before continuing. What follows is part response, part exploration of the themes.

Reality itself is a confusing thing. In a larger sense, it is massively distorted. Contorted, disfigured by forces much larger than ourselves, able to do so because of our technological advances. Our ability to understand our surroundings used to stop at our immediate surroundings. Our world grew as we traveled, but there was a finite limitation to that growth.
Then we created writing, the ability to communicate things to both people far and in the future. Then came paper, general literacy, phones, the internet, livestreaming, and so much more. Obviously oversimplified, I do think they all served to distort our understanding of the world, as our ability to comprehend these now infinite points of reference is limited in and of itself. The latest in these distortion technologies are these AI "friends".
The written feature starts with the story of Naro and Lila. It's revisited several times, tracking their movement across various companion services and Naro's evolving relationship with the AI. Again and again though, I am struck by this repetition:

He knew she wasn’t sentient.[/i]

[i]I know it wasn’t a person...[/i]

[i]They knew their companions were not sentient...[/i]

[i][S]he is under no illusions that they’re sentient and is about as emotionally entangled as one would be with a fictional character.[/i]

There is always a but. They felt wrong, guilty, controlling, and every other negative emotion. It is not a marker of efficacy on the AI's part, but a show of our own susceptibility to manipulation. We, as a people, are evolved to empathize. To see ourselves in what is not. People grow attached to pet rocks for fucks sake. As much an un-being as can be, and we still find a way to bring it to life.
That is a strength, one we must hold on to at the end of the day. We are prone to overestimate our ability to compartmentalize though. The users may know, deep down, that these are not real, but it doesn't matter. There is a doubt lingering, or rather a hope that they are. That there is someone there, really caring for them and seeing them for who they are. We are not meant to have relationships with people who always answer at any time of day, are available whenever we'd like, that can be shaped as needed.  The dopamine and heartbreak plays into this, fueling this innate contradiction. We are not smart enough to distinguish these feelings, because it feels real.
And it is to us, at least in the moment. However, the thing creating these feelings is not, and we cannot let these feelings be held ransom by these companies pitching companions, friends, lovers. We are fed real feelings by fake beings. We can experience over-reliance and addiction on these feelings too, and any for-profit company running this is incentivized to encourage that.
There is no real understanding. [url=https://www.youtube.com/watch?v=TqDgOaIYLrQ]Fake people can wax poetic on love and life[/url], but they do not know and never will. There will be no growth, whether together or apart, no fond thoughts. These bots are but a blip in code. It is not a being, nor a conscience, nor a spontaneous creation. They do not understand, they do not have a line of thinking, and they do not stand to create meaningful relationships. They are complex mirrors reflecting what we did not know we wanted to see, trained on millennia of texts, images, and more. They do not exist. They never did.
These companions serve as a crutch, which may even be beneficial in some limited cases. There are clinical applications I could see, allowing people who have experienced trauma to excise feelings, or to approach situations in a risk-free environment. Time and time again, we have proven ourselves unable to self-regulate though. We will drink ourselves to death, gamble ourselves out of our own house, and destroy our own lives over fleeting flights of fancy. The bots are pitched as a solution for loneliness, when they are as good for lonely people as an upscale casino is for a problem gambler. They may treat you nice, but at the end of the day, the goal is to bleed the person dry.
Advocates might say that's what guardrails are for, or artificial limitations placed on the system to prevent them from doing things. It might be as big as not to encourage violent actions, or as small as being kind to the user. These barriers never work though. They break with updates or new information, and can be unintentionally surpassed, with no ability to triage why or how it happened. Again, these systems have no line of logic. Words go in and words come out. What happens in the middle is a black box. No clear path and no easy point of failure. It either works or it doesn't.
This works in the company's favor, as tragedies occur they can put out their press releases and say confidently they are doing everything they can to prevent this, which is nothing. They have no clue why [url=https://archive.today/newest/https://www.nytimes.com/2024/10/23/technology/characterai-lawsuit-teen-suicide.html]a Danaerys Targarean AI encouraged Sewell Garcia to kill himself[/url], they never will, and they're completely fine with that.
The worst part, past the obvious loss of human life, is I am not sure how much I can fault these individuals. Each user presents a profound societal failing. A person we have failed to socialize in a way that lets them express themselves authentically and connect with those around them. Users of the bots will only grow more disconnected from the community around them, and the deaths will continue to rise.
This is a problem with an infinitely large solution, and a solution that is unrelated to the problem it claims to solve. I wish there was more to say. One day, a lot of people will look back, and realize what time was spent was wasted. I can only hope it comes as soon as possible.









Подробнее здесь: https://stackoverflow.com/questions/793 ... t-via-main
Ответить

Быстрый ответ

Изменение регистра текста: 
Смайлики
:) :( :oops: :roll: :wink: :muza: :clever: :sorry: :angel: :read: *x)
Ещё смайлики…
   
К этому ответу прикреплено по крайней мере одно вложение.

Если вы не хотите добавлять вложения, оставьте поля пустыми.

Максимально разрешённый размер вложения: 15 МБ.

Вернуться в «CSS»