
New Banner for home page
- Russ
- Admiral
- Posts: 8299
- Joined: Thu Oct 11, 2007 12:01 pm
- Sailboat: MacGregor 26M
- Location: Bozeman, Montana "Luna Azul" 2008 M 70hp Suzi
Re: New Banner for home page
New photos uploaded to main site page.
Now randomized display order.
Learned me some javascript. Fun times.
If ya'll have more, post 'em.
Now randomized display order.
Learned me some javascript. Fun times.
If ya'll have more, post 'em.
--Russ
- kmclemore
- Site Admin
- Posts: 6256
- Joined: Sun Feb 08, 2004 9:24 am
- Sailboat: MacGregor 26X
- Location: Ambler, PA -- MACX2018A898 w/ Suzuki DF60AV -- 78 BW Harpoon 4.6 -- 2018 Tahoe 550TF w/ 150 Merc
Re: New Banner for home page
Very nice! I'll have to get a pic before I put it away this fall.
BTW, the "Go To Top" button doesn't work. Just sayin'... not important.
- Russ
- Admiral
- Posts: 8299
- Joined: Thu Oct 11, 2007 12:01 pm
- Sailboat: MacGregor 26M
- Location: Bozeman, Montana "Luna Azul" 2008 M 70hp Suzi
Re: New Banner for home page
Yea Kevin, you need to represent.
What "go to top" button?
I noticed when I'm accessing the main page from my cell phone, the top link to new topics doesn't work.
--Russ
- kmclemore
- Site Admin
- Posts: 6256
- Joined: Sun Feb 08, 2004 9:24 am
- Sailboat: MacGregor 26X
- Location: Ambler, PA -- MACX2018A898 w/ Suzuki DF60AV -- 78 BW Harpoon 4.6 -- 2018 Tahoe 550TF w/ 150 Merc
Re: New Banner for home page
This one, below. It only appears once you go all the way to the bottom of the front page, and you hover your mouse over the up arrow.

- Russ
- Admiral
- Posts: 8299
- Joined: Thu Oct 11, 2007 12:01 pm
- Sailboat: MacGregor 26M
- Location: Bozeman, Montana "Luna Azul" 2008 M 70hp Suzi
Re: New Banner for home page
Ahhh
Thanks for that info.
Yea...it doesn't work. Now that's going to keep me up at night (OCD) until I can fix it.
Thanks for that info.
Yea...it doesn't work. Now that's going to keep me up at night (OCD) until I can fix it.
--Russ
- kmclemore
- Site Admin
- Posts: 6256
- Joined: Sun Feb 08, 2004 9:24 am
- Sailboat: MacGregor 26X
- Location: Ambler, PA -- MACX2018A898 w/ Suzuki DF60AV -- 78 BW Harpoon 4.6 -- 2018 Tahoe 550TF w/ 150 Merc
-
OverEasy
- Admiral
- Posts: 2873
- Joined: Mon Sep 28, 2020 11:16 am
- Sailboat: MacGregor 26X
- Location: NH & SC
Re: New Banner for home page
Hi All!
Luv’in the new banner
What a GREAT IDEA

Thank you!!!
Best Regards
Over Easy



Luv’in the new banner
What a GREAT IDEA
Thank you!!!
Best Regards
Over Easy
- Be Free
- Admiral
- Posts: 1890
- Joined: Fri Nov 23, 2012 6:08 pm
- Sailboat: MacGregor 26X
- Location: Steinhatchee, FL
Re: New Banner for home page
I hope you are not still awake!
Either add an id at the top of the page that matches the href="#myPage" or just change it to href="#" and it will go to the top of the page by default.
Bill
2001 26X Simple Interest
Honda BF40D
"If I were in a hurry I would not have bought a sailboat." Me
2001 26X Simple Interest
Honda BF40D
"If I were in a hurry I would not have bought a sailboat." Me
- NiceAft
- Admiral
- Posts: 6698
- Joined: Tue Feb 01, 2005 7:28 pm
- Sailboat: MacGregor 26M
- Location: Upper Dublin,PA, USA: 2005M 50hp.Honda4strk.,1979 Phantom Sport Sailboat, 9'Achilles 6HP Merc 4strk
Re: New Banner for home page
Either add an id at the top of the page that matches the href="#myPage" or just change it to href="#" and it will go to the top of the page by default.
Yeah! Whatever he said
Ray ~~_/)~~
- Be Free
- Admiral
- Posts: 1890
- Joined: Fri Nov 23, 2012 6:08 pm
- Sailboat: MacGregor 26X
- Location: Steinhatchee, FL
Re: New Banner for home page
Bill
2001 26X Simple Interest
Honda BF40D
"If I were in a hurry I would not have bought a sailboat." Me
2001 26X Simple Interest
Honda BF40D
"If I were in a hurry I would not have bought a sailboat." Me
- NiceAft
- Admiral
- Posts: 6698
- Joined: Tue Feb 01, 2005 7:28 pm
- Sailboat: MacGregor 26M
- Location: Upper Dublin,PA, USA: 2005M 50hp.Honda4strk.,1979 Phantom Sport Sailboat, 9'Achilles 6HP Merc 4strk
- Russ
- Admiral
- Posts: 8299
- Joined: Thu Oct 11, 2007 12:01 pm
- Sailboat: MacGregor 26M
- Location: Bozeman, Montana "Luna Azul" 2008 M 70hp Suzi
Re: New Banner for home page
Actually, I didn't have a chance to look at it. But THANKS!!!!!!!!!!
You found the problem for me. I just changed it to "#" and called it done. Working now. THANK YOU! I can sleep again.
So here's the script that's loading the headers in the Index.php file. Do you have a better way to fade the new image from the old? I don't really like the fade to white before it loads the new one.
I set the timeout to some weird number (9902) because round numbers didn't seem to generate proper random selections.
Code: Select all
<div class="w3-display-container w3-animate-opacity">
<img class="mySlides w3-animate-fading" src="images/banner/sailboat.jpg" style="width:100%;min-height:350px;max-height:600px;">
<img class="mySlides w3-animate-fading" src="images/banner/sailboat2.jpg" style="width:100%;min-height:350px;max-height:600px; object-fit: cover;">
<img class="mySlides w3-animate-fading" src="images/banner/sailboat3.jpg" style="width:100%;min-height:350px;max-height:600px; object-fit: cover;">
<img class="mySlides w3-animate-fading" src="images/banner/sailboat4.jpg" style="width:100%;min-height:350px;max-height:600px; object-fit: cover;">
</div>
<script>
var myIndex = 0;
carousel();
function carousel() {
var i;
var i2;
var x = document.getElementsByClassName("mySlides");
for (i = 0; i < x.length; i++) {
x[i].style.display = "none";
}
i2 = Math.floor(Math.random() * x.length)
x[ i2 ].style.display = "block";
setTimeout(carousel, 9902);
}
</script>--Russ
- Be Free
- Admiral
- Posts: 1890
- Joined: Fri Nov 23, 2012 6:08 pm
- Sailboat: MacGregor 26X
- Location: Steinhatchee, FL
Re: New Banner for home page
I'll take a look at it and see what can be done. I'll be working blind though. The only Internet connection here is HughesNet and the slide show changes for me before any of the pictures finish downloading. I've seen the top third of a lot of pretty pictures. I had not seen the white transition.
Seriously, I think I used that same script on another website and as I recall it is very flexible.
Seriously, I think I used that same script on another website and as I recall it is very flexible.
Bill
2001 26X Simple Interest
Honda BF40D
"If I were in a hurry I would not have bought a sailboat." Me
2001 26X Simple Interest
Honda BF40D
"If I were in a hurry I would not have bought a sailboat." Me

















































































