# Javascript header slide show is not working when published

**URL:** <https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320>\
**Category:** RapidWeaver Classic\
**Created:** [July 19, 2022, 5:18am UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320 "2022-07-19T05:18:09Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![edo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/edo/32/11263_2.png) [@edo](https://forums.realmacsoftware.com/u/edo)\
**Post date:** [July 19, 2022, 5:18am UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/1 "2022-07-19T05:18:09Z")

</div>

Greetings,

For some reason the Javascript header slide show is not working when published. I works fine when viewed in RW8 Preview Mode. Any ideas why it is not working on my Bluehost server?  
[https://www.edophoto.com](https://www.edophoto.com)

ALSO the pop-up

 's (about halfway down the page) also stopped working. I can just delete them and embed the Vimeo videos as is, but was wondering if anyone can tell why they aren’t working.  
[https://www.edophoto.com/movies.html](https://www.edophoto.com/movies.html)

Using RW 8 Thanks in advance,

Ed

---

<div class="post-metadata">

**Author:** ![thang](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/thang/32/303_2.png) [@thang](https://forums.realmacsoftware.com/u/thang)\
**Post date:** [July 19, 2022, 6:32am UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/2 "2022-07-19T06:32:03Z")

</div>

Did you recently change to https? You have errors of insecure content from google and vimeo as they are linked with http urls. Not sure if that is causing the problems, but worth checking.

---

<div class="post-metadata">

**Author:** ![edo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/edo/32/11263_2.png) [@edo](https://forums.realmacsoftware.com/u/edo)\
**Post date:** [July 19, 2022, 6:51am UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/3 "2022-07-19T06:51:39Z")

</div>

Thanks for the reply. Its been https for some time, BUT recently I had to get them to redo the lock after having some problems. The straight embedded Vimeo links work for me. Its the pop window players (“fancy zoom” I think its called) isn’t working on my movie page. They seem to work in Rapid Weaver Preview mode on my HD.

---

<div class="post-metadata">

**Author:** ![edo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/edo/32/11263_2.png) [@edo](https://forums.realmacsoftware.com/u/edo)\
**Post date:** [July 19, 2022, 7:29am UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/4 "2022-07-19T07:29:20Z")

</div>

If this helps This is the HTML code under the Javascript category.  
on the index page [http://www.edophoto.com](http://www.edophoto.com)

$qube(document).ready(function() {  
$qube(’.lowerHeader’).crossSlide({  
sleep: 3,  
fade: 1  
}, [  
{ src: ‘%resource(Edward\_Levinson\_head\_1.jpg)%’ },  
{ src: ‘%resource(Edward\_Levinson\_head\_2.jpg)%’ },  
{ src: ‘%resource(Edward\_Levinson\_head\_3.jpg)%’ },  
{ src: ‘%resource(Edward\_Levinson\_head\_4.jpg)%’ },  
{ src: ‘%resource(Edward\_Levinson\_head\_5.jpg)%’ },  
{ src: ‘%resource(Edward\_Levinson\_head\_6.jpg)%’ },  
{ src: ‘%resource(Edward\_Levinson\_head\_7.jpg)%’ },  
{ src: ‘%resource(Edward\_Levinson\_head\_8.jpg)%’ },  
{ src: ‘%resource(Edward\_Levinson\_head\_9.jpg)%’ },  
{ src: ‘%resource(Edward\_Levinson\_head\_10.jpg)%’ }  
]);  
});

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [July 19, 2022, 2:59pm UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/5 "2022-07-19T14:59:27Z")

</div>

Yu have mixed content on the `jquery` library being loaded. It’s also a very old version of jquery (1.7).

My guess is this i very old verion of an old theme (Qube).

Might check with @nimblehost and see if there is an update, if not change themes.

I doubt this version would have worked a https since browsers started blocking mixed content.

---

<div class="post-metadata">

**Author:** ![edo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/edo/32/11263_2.png) [@edo](https://forums.realmacsoftware.com/u/edo)\
**Post date:** [July 20, 2022, 12:41am UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/6 "2022-07-20T00:41:41Z")

</div>

Doug, thanks for the reply, I suspect you might be right. The Qube theme is quite old. Though what I had did work up until very recently. Bluehost had to redo/edit my .htaccess file some problem mistake my end. The problem appeared after that.

Curious if the problem would still exist using Rapid Weaver Classic instead of RW8?

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [July 20, 2022, 3:18pm UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/7 "2022-07-20T15:18:17Z")

</div>

My bet would be that the site hasn’t worked as an `https` since browsers began blocking active mixed content (Chrome January 2020).

If you still access the site using `http` , it would work. So again my guess would be the changes that the host made to your `.htaccess` File Forced any none secured (`http`) requests to be redirected to secure (`https`) requests.

That being said, you might be better off picking a modern, supported theme.

You could also modify the existing theme to use `https` instead of `http` . It’s not a difficult change.

---

<div class="post-metadata">

**Author:** ![edo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/edo/32/11263_2.png) [@edo](https://forums.realmacsoftware.com/u/edo)\
**Post date:** [July 21, 2022, 12:48am UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/8 "2022-07-21T00:48:24Z")

</div>

Thanks Doug. see below

> [@teefers](#):
>
> If you still access the site using `http` , it would work. So again my guess would be the changes that the host made to your `.htaccess` File Forced any none secured (`http`) requests to be redirected to secure (`https`) requests.
> 
> \*\*Well I don’t want visitors to see the Not Secure Message, so maybe not change that??
> 
> That being said, you might be better off picking a modern, supported theme.
> 
> \*\*\* something to investigate for sure (I sent a message to Nimble Host)
> 
> You could also modify the existing theme to use `https` instead of `http` . It’s not a difficult change.

\*\*\*1. I downloaded the `.htaccess` but not sure what I am looking for 😉

\*\*\*\*2. How/Where about would one modify the existing theme to use `https` instead of `http` ?

Thanks in advance, Ed

---

<div class="post-metadata">

**Author:** ![differentdan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/differentdan/32/33530_2.png) [@differentdan](https://forums.realmacsoftware.com/u/differentdan)\
**Post date:** [July 21, 2022, 1:52am UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/9 "2022-07-21T01:52:27Z")

</div>

1. In the .htaccess file you would be looking for a rewrite rule from http to https. There’s several ways to write the rule, so can’t say for certain what you’re looking for without seeing it directly.

2. It would involve navigating to the theme in Finder, expanding package contents, then going through the theme’s files to update http links to https via a text editor. Not really a great way to do it. I would agree with teeters assessment that you would probably be better off picking a modern, supported theme and migrating your data over to it.

---

<div class="post-metadata">

**Author:** ![edo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/edo/32/11263_2.png) [@edo](https://forums.realmacsoftware.com/u/edo)\
**Post date:** [July 21, 2022, 2:12am UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/10 "2022-07-21T02:12:44Z")

</div>

Rapid weaver Guy, thanks. I can see the rewrite rules in the file (not sure if its a good idea to attach or paste here) and will look into the other suggestions (self update theme or just migrate to something else). Either way will take some time.

---

<div class="post-metadata">

**Author:** ![teefers](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/teefers/32/8173_2.png) [@teefers](https://forums.realmacsoftware.com/u/teefers)\
**Post date:** [July 21, 2022, 2:21pm UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/11 "2022-07-21T14:21:01Z")

</div>

I wouldn’t suggest that you “go back” to `http`, as the security warnings are probably going to keep visitors away. Down the road, I wouldn’t be surprised to see the warnings becoming more aggressive or even blocking access altogether.

The easiest and most long-term solution would be is to pick a modern supported theme. The version of qube that you are using is loading jQuery 1.7 (November 2011). The current stable jQuery version is 3.6 (March 2021).

if you are comfortable with coding then you could modify the existing template inside the theme package to simply change the `HTTP` links to their equivalents in `HTTPS`.

I’d have a look over at [Themeflood](https://themeflood.com/) (@willwood). [Qube](https://themeflood.com/qube/) is now sold and supported by Will.

There are also a ton of other themes there, free or reasonably priced and all offer a free trial version so you can see what it looks like with _your content_.

---

<div class="post-metadata">

**Author:** ![edo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/edo/32/11263_2.png) [@edo](https://forums.realmacsoftware.com/u/edo)\
**Post date:** [July 22, 2022, 2:00am UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/12 "2022-07-22T02:00:42Z")

</div>

Thanks Teffers, sorry for the slow reply. Just now before seeing this found the new Qube page and plan to give it a try.

---

<div class="post-metadata">

**Author:** ![edo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/edo/32/11263_2.png) [@edo](https://forums.realmacsoftware.com/u/edo)\
**Post date:** [July 25, 2022, 3:46am UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/13 "2022-07-25T03:46:37Z")

</div>

UPDATE: The very kind Will Woodgate at Themeflood has helped me update my older Qube theme without having to loose all my customization I had done to it a long (with kind help from Jonathan at NimbleHost. ) I am still working on correcting a few pages but the Top page slide show was fixed, quite simply in my opinion. Highly recommend Will’s service if you need help with themes from his Themeflood page. Thanks everyone for you input. BTW Will said he wasn’t able to use the “new” RW forum for some reason.

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [February 5, 2024, 11:35am UTC](https://forums.realmacsoftware.com/t/javascript-header-slide-show-is-not-working-when-published/42320/14 "2024-02-05T11:35:18Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
