Skip to content

Commit

Permalink
Merge pull request #56 from pankaj-bind/pankaj-dev
Browse files Browse the repository at this point in the history
dialer feature added
  • Loading branch information
XceeDesigns authored May 14, 2024
2 parents 742412e + 38deced commit 5df528d
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
8 changes: 7 additions & 1 deletion contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,13 @@ <h3><span class="bold">EMAIL</span></h3>
</div>
<div class="cis-text">
<h3><span class="bold">CALL US</span></h3>
<p>+91 95829 95138</p>
<p onclick="redirectToDialer()" class="phone-number">+91 95829 95138</p>
<script>
function redirectToDialer() {
var phoneNumber = "+919582995138"; // Change this to the desired phone number
window.location.href = "tel:" + phoneNumber;
}
</script>
</div>
</div>
</div>
Expand Down
12 changes: 12 additions & 0 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -10987,6 +10987,18 @@ ul#flickr-feeds li a, ul#flickr-sfeeds li a img {
font-size: 13px;
}
.relative-important {position: relative !important;}

.phone-number {
color: #4b4e53; /* Default color */
cursor: pointer;
transition: color 0.3s ease;
}

.phone-number:hover {
color: #97999c; /* Hover color */

}

/* @media (max-width: 767px) and (min-width: 480px){
.container-2 {
width: 470px!important;
Expand Down
8 changes: 7 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -605,7 +605,13 @@ <h3><span class="bold">EMAIL</span></h3>
</div>
<div class="cis-text">
<h3><span class="bold">CALL US</span></h3>
<p>+91 95829 95138</p>
<p onclick="redirectToDialer()" class="phone-number">+91 95829 95138</p>
<script>
function redirectToDialer() {
var phoneNumber = "+919582995138"; // Change this to the desired phone number
window.location.href = "tel:" + phoneNumber;
}
</script>
</div>
</div>
</div>
Expand Down

0 comments on commit 5df528d

Please sign in to comment.