i would like 2 simple taps like the multi taps in home page at foeumotion
2 posters
Page 1 of 1
i would like 2 simple taps like the multi taps in home page at foeumotion
i would like 2 simple taps like the multi taps in home page at foeumotion
as simple as possible so it wont make any conflict with other Scripts
to content these 2 comments boxes
1- facebook comments
and easy to castuom the taps bars and cloros with my own theme if possible
thanks in advance
i hope i did not mistake the section
as simple as possible so it wont make any conflict with other Scripts
to content these 2 comments boxes
1- facebook comments
- Code:
<div id="fb-root"></div><script src="http://connect.facebook.net/en_EN/all.js#xfbml=1"></script><fb:comments href="showthread.php?tid={$tid}" num_posts="3" width="700"></fb:comments>
- Code:
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables */
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'http://http-miccsoft-net.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
and easy to castuom the taps bars and cloros with my own theme if possible
thanks in advance
i hope i did not mistake the section
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: i would like 2 simple taps like the multi taps in home page at foeumotion
Do you mean tabs?
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: i would like 2 simple taps like the multi taps in home page at foeumotion
SLGray wrote:Do you mean tabs?
something like that
to keep both comments services in 1 block
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: i would like 2 simple taps like the multi taps in home page at foeumotion
The topic was posted in the wrong section, so I have moved it to the correct section.
|
Lost Founder's Password |Forum's Utilities |Report a Forum |General Rules |FAQ |Tricks & Tips
You need one post to send a PM.
You need one post to send a PM.
When your topic has been solved, ensure you mark the topic solved.
Never post your email in public.
Re: i would like 2 simple taps like the multi taps in home page at foeumotion
sorry for posting in wrong section
and im wating for the answer
and im wating for the answer
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Re: i would like 2 simple taps like the multi taps in home page at foeumotion
how to style this one
to make it better in view
to make it better in view
- Code:
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<style>
body {font-family: "Lato", sans-serif;}
ul.tab li a {
display: inline-block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
transition: 0.3s;
font-size: 17px;
cursor: pointer;
}
/* Float the list items side by side */
ul.tab li {float: left;}
/* Style the links inside the list items */
ul.tab li a {
display: inline-block;
color: black;
text-align: center;
padding: 14px 16px;
text-decoration: none;
transition: 0.3s;
font-size: 17px;
}
/* Change background color of links on hover */
ul.tab li a:hover {
background-color: #ddd;
}
/* Create an active/current tablink class */
ul.tab li a:focus, .active {
background-color: #ccc;
}
/* Style the tab content */
.tabcontent {
display: none;
padding: 6px 12px;
border: 1px solid #ccc;
border-top: none;
background:white;
}
</style>
<body>
<p>يرجى اختيار الخدمة التى تريد التعليق عن طريقها</p>
<ul class="tab">
<li><a class="tablinks" onclick="openCity(event, 'London')">facebook</a></li>
<li><a class="tablinks" onclick="openCity(event, 'Paris')">Disqus</a></li>
</ul>
<div id="London" class="tabcontent">
<P><center>
<div id="fb-root"></div><script src="http://connect.facebook.net/en_EN/all.js#xfbml=1"></script><fb:comments href="showthread.php?tid={$tid}" num_posts="3" width="700"></fb:comments>
</p></center>
</div>
<div id="Paris" class="tabcontent">
<p><div id="disqus_thread"></div>
<script>
/**
* RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
* LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables */
/*
var disqus_config = function () {
this.page.url = PAGE_URL; // Replace PAGE_URL with your page's canonical URL variable
this.page.identifier = PAGE_IDENTIFIER; // Replace PAGE_IDENTIFIER with your page's unique identifier variable
};
*/
(function() { // DON'T EDIT BELOW THIS LINE
var d = document, s = d.createElement('script');
s.src = 'http://http-miccsoft-net.disqus.com/embed.js';
s.setAttribute('data-timestamp', +new Date());
(d.head || d.body).appendChild(s);
})();
</script>
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
</p>
</div>
<script>
function openCity(evt, cityName) {
var i, tabcontent, tablinks;
tabcontent = document.getElementsByClassName("tabcontent");
for (i = 0; i < tabcontent.length; i++) {
tabcontent[i].style.display = "none";
}
tablinks = document.getElementsByClassName("tablinks");
for (i = 0; i < tablinks.length; i++) {
tablinks[i].className = tablinks[i].className.replace(" active", "");
}
document.getElementById(cityName).style.display = "block";
evt.currentTarget.className += " active";
}
</script>
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Michael_vx- Forumember
- Posts : 659
Reputation : 29
Language : Arabic and some English
Location : Egypt
Similar topics
» HTML page as Home page problem
» I Need Home Page Like this
» need help on home page
» how to add a home page
» Can i use a home page made on Wix?
» I Need Home Page Like this
» need help on home page
» how to add a home page
» Can i use a home page made on Wix?
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum