elhanan
elhanan
KPCKevin Powell - Community
Created by elhanan on 2/11/2024 in #front-end
dealing with screen resolution
No description
56 replies
KPCKevin Powell - Community
Created by elhanan on 12/5/2023 in #back-end
Mastercard mpgs integration with wordpress donation website
Hello friends, I am having really hard time with integrating my donate button on my wordpress template with mastercard mpgs, so that any user can donate using mastercard API. Can someone please give me a hint?
1 replies
KPCKevin Powell - Community
Created by elhanan on 11/3/2023 in #back-end
How to listen for SOAP request in nodejs
Hello friends, I couldn't find better tutorial on understanding SOAP. Currently I am working with SMPP protocol to send SMS from my application, it works fine, but to receive SMS, the ISP told me to use SOAP, they said that they will send MO messages to my end using SOAP request, now my node application need to listen for that request. But I am not familiar to how I am going to create a server to listen for SOAP request. Anybody here with experience in SOAP? Thanks
4 replies
KPCKevin Powell - Community
Created by elhanan on 9/22/2023 in #front-end
Position sticky on UL element
Hello friends I tried to follow Kevin's short video (https://www.youtube.com/shorts/39rbYbVhb0Y?feature=share) about position sticky in my case it is not working: here is my html
<main class="ds-flex">
<aside class="ds-flex" style="align-items: start; border: 1px solid blue;">
<div style="position: sticky; top: 2em;">
<img src="img/muday_logo.svg" alt="logo">
</div>
<nav style="position: sticky; top: 0;">
<ul class="" style="position: sticky">
<li style="position: sticky; top: 0;"><a class="nav-list-link-active" href="/dashboard">Link 1</a></li>
<li ><a class="nav-link" href="/sms">Link 1</a></li>
<li><a class="nav-link" href="/smpp" style="position: sticky; top: 0;">Link 1</a> </li>
<li><a class="nav-link" href="/subscription">Link 1</a></li>
<li><a class="nav-link" href="/whitelist">Link 1</a></li>
<li><a class="nav-link" href="/report">Link 1</a></li>
<li><a class="nav-link" href="/setting">Link 1</a></li>
</ul>
</nav>
</aside>
<div>
<slot />
</div>
</main>
<main class="ds-flex">
<aside class="ds-flex" style="align-items: start; border: 1px solid blue;">
<div style="position: sticky; top: 2em;">
<img src="img/muday_logo.svg" alt="logo">
</div>
<nav style="position: sticky; top: 0;">
<ul class="" style="position: sticky">
<li style="position: sticky; top: 0;"><a class="nav-list-link-active" href="/dashboard">Link 1</a></li>
<li ><a class="nav-link" href="/sms">Link 1</a></li>
<li><a class="nav-link" href="/smpp" style="position: sticky; top: 0;">Link 1</a> </li>
<li><a class="nav-link" href="/subscription">Link 1</a></li>
<li><a class="nav-link" href="/whitelist">Link 1</a></li>
<li><a class="nav-link" href="/report">Link 1</a></li>
<li><a class="nav-link" href="/setting">Link 1</a></li>
</ul>
</nav>
</aside>
<div>
<slot />
</div>
</main>
I have tried that in all possible elements but only the first div with image as child element is working.
2 replies
KPCKevin Powell - Community
Created by elhanan on 7/30/2023 in #back-end
help on nodejs smpp lib
Hello friends have anyone worked with node-smpp before? I am trying to receive an SMS from SMSC which came from users. deliver_sm is working fine for delivery receipt, so I can see deliver_sm PDU for the sent SMS and I am using the same event to receive SMS from SMSC but nothing is here regarding the received SMS. Can someone please help me with this? Thanks. You can find the source code I was playing with here: https://jsfiddle.net/Lbeyn526/
1 replies
KPCKevin Powell - Community
Created by elhanan on 7/30/2023 in #front-end
Fit background image vertically and horizontally
Hello guys I am ashamed that I am still struggling with fitting background images in both directions (vertical and horizontal). I have used background-size: cover; and it will strech the image in both direction, but what I am not liking is, my image cuts off in bottom and I don't like that, I have an image with Full HD size. I just wanted the whole part of image to be shown regardless of size of the screen.
12 replies