facebook slider dilemma
Moderators: pe7er, General Support Moderators
Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
-
- Joomla! Explorer
- Posts: 426
- Joined: Mon Oct 08, 2012 4:45 am
facebook slider dilemma
Guys
Joomla is marching us on, now with Jm 4.0.3. Now i am still panting to get appropriate extensions. My latest search is for a facebook slider to replace the perfect in everyway / everywhere. Any fast runner to recommend.
Joomla is marching us on, now with Jm 4.0.3. Now i am still panting to get appropriate extensions. My latest search is for a facebook slider to replace the perfect in everyway / everywhere. Any fast runner to recommend.
- Per Yngve Berg
- Joomla! Master
- Posts: 30930
- Joined: Mon Oct 27, 2008 9:27 pm
- Location: Romerike, Norway
-
- Joomla! Explorer
- Posts: 426
- Joined: Mon Oct 08, 2012 4:45 am
Re: facebook slider dilemma
ouch I use free extensions .. maybe no hope
-
- Joomla! Explorer
- Posts: 426
- Joined: Mon Oct 08, 2012 4:45 am
Re: facebook slider dilemma
Perfect in everyway has a slide out then close after a while .. any alternative you are familiar
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: facebook slider dilemma
Has a quick look at the "perfect in everyway / everywhere" website. No workable demo. Because I don't know what it does (or how it works) I don't know what replacement(s) may do what you are looking for. From the looks of the PIE/E website, the last version of the plugin (v2.0.12) was labelled as compatible with J! 3.6/3.8 (which, kinda, dates it, doesn't it?).
-
- Joomla! Explorer
- Posts: 426
- Joined: Mon Oct 08, 2012 4:45 am
Re: facebook slider dilemma
I think I am actually looking for pop up to display a html message that close after a short span of tome
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: facebook slider dilemma
Thanks for your reply. If I understand what you're asking, you'd like some content—text and/or images, maybe—to appear somewhere on a web page and, after a certain amount of time, that content would slide out off-screen. Is that what you'd like?
It's easy enough to do with J!'s custom HTML module and a bit of CSS.
The custom module would contain something like this
And the CSS would contain this
... plus rules to define the height, width, font colour, background colour, and where on the page (top, bottom, left, right, etc.) and a transition filter to control how you want the <div> to slide in/out and such. This is just the technique; I haven't written given you specifics because it would depend on where you want the "slider" to be placed on the page. You would have to tell us more about that.
Then you assign the custom module those menu item(s) you want to use it with. This approach means that every time you view a menu item (or more than one, if you assign the module that way) the "slider" will be displayed. So, if you're happy with this module appearing on those menu items, that's how I would do it. You won't need to search for third-party "pop-ups"; you could simply design your own more or less "straight out of the box". Would that work for you?
It's easy enough to do with J!'s custom HTML module and a bit of CSS.
The custom module would contain something like this
Code: Select all
<div id='#slidingContent' class='slider'>Here is where you write your content</div>
Code: Select all
#slidingContent.slider {
position: absolute;
.
.
.
}
Then you assign the custom module those menu item(s) you want to use it with. This approach means that every time you view a menu item (or more than one, if you assign the module that way) the "slider" will be displayed. So, if you're happy with this module appearing on those menu items, that's how I would do it. You won't need to search for third-party "pop-ups"; you could simply design your own more or less "straight out of the box". Would that work for you?
-
- Joomla! Explorer
- Posts: 426
- Joined: Mon Oct 08, 2012 4:45 am
Re: facebook slider dilemma
Bro THANK YOU for the lead. I will also go W3Schooling to learn to do without extension .. you think my wishful thinking will succeed
-
- I've been banned!
- Posts: 13639
- Joined: Sun Jul 05, 2009 3:30 am
- Location: Canberra, Australia
Re: facebook slider dilemma
As an experiment, I tried to do the whole "slide down" thing using CSS only and I gave up.
I was, however, able to create a slow fade-out with Javascript.
The solution is in three parts:
1) The HTML (create a Custom module and assign it to the footer position on the page(s) where you want it to appear)
2) The CSS (add these lines to your custom CSS file; in my case it is user.css in the protostar template)
3) The JavaScript (this is the contents of the file ../templates/protostar/js/fader.js)
I have a working example on a J! website but I'm not permitted by the forum rules to mention the URL because that would be self-promotion, sorry.
I was, however, able to create a slow fade-out with Javascript.
The solution is in three parts:
1) The HTML (create a Custom module and assign it to the footer position on the page(s) where you want it to appear)
Code: Select all
<div id="target"><body onLoad="fadeOutEffect();">Here is where you write your content</body></div>
<script type="text/javascript" src="/templates/protostar/js/fader.js"></script></div>
Code: Select all
#target {
position: relative;
margin: auto 10%;
padding: 0 10px;
height: 50px;
width: 190%;
background-color: rgba(0.5, 0.5, 0.5, 0.5);
display: block;
color: #fff;
left: -54%;
bottom: -70px;
text-align: center;
}
Code: Select all
function fadeOutEffect() {
var fadeTarget = document.getElementById("target");
var fadeEffect = setInterval(function () {
if (!fadeTarget.style.opacity) {
fadeTarget.style.opacity = 1;
}
if (fadeTarget.style.opacity > 0) {
fadeTarget.style.opacity -= 0.00125;
} else {
clearInterval(fadeEffect);
}
}, 10);
}