what's your question
Aug 7, 2022
10
Level 1
How to load content without refresh the page.
I have my website that load content by it's id. I use an parameter that was added to url that get the current id.
End url parameter will get the url that associated with the id passed in url
@foreach walls as wall
<a href="?wall={{$wall->id}}" class="lg:border-b lg:flex lg:items-center lg:justify-center lg:bg-gray-100 md:inline-block md:h-auto md:mr-1 md:bg-gray-300 md:rounded md:mt-1 sm:inline-block sm:h-auto sm:mr-1 sm:bg-gray-300 sm:rounded sm:mt-1">
<img src="{{$wall->image}}" class="lg:w-24 lg:h-auto lg:p-1 md:flex md:items-center md:justify-center md:w-24 md:h-9 md:p-1 sm:flex sm:items-center sm:justify-center sm:w-24 sm:h-9 sm:p-1">
</a>
@endforeach
<div class="wall flex-1" style="height: 60vh;">
<iframe src="{{$endurl}}" frameborder="0" width="100%" height="100%" ></iframe>
</div>
Please or to participate in this conversation.