Hide header when scroll view smaller with same menu

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
Bluesman
 
 
Posts: 1116
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Hide header when scroll view smaller with same menu

Post by Bluesman »

Hi Pablo and wwb'rs. Have done this sometimes but this time I am placing the menu on a masterpage so I don't have to change twice in the menus that usual are on the same page (masterpage).
So it works perfect but I get the warning that I can not have two objects with the same object id on the same page...
How can I work arround this? Can it make issues later on in the project?

Tnx for the best support on the web :D
"Make My Day"

See my Website
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Hide header when scroll view smaller with same menu

Post by crispy68 »

Make sure to give your objects on a master page that you are using over and over unique id's
User avatar
Bluesman
 
 
Posts: 1116
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Hide header when scroll view smaller with same menu

Post by Bluesman »

crispy68 wrote: Sun Oct 02, 2022 5:15 pm Make sure to give your objects on a master page that you are using over and over unique id's
Hi crispy, tnx for checking in :D
Thats the problem...
1. I have a masterpage with the function that When the header (containing the menu) scrolls up it reveals the much smaller header containing the same menu.
2. I have placed this main menu on another masterpage so I just have to change once in the meny when building it and in the future when change or update the menu. So I can only have one id on this masterpage where the original menu is.
3. On the original masterpage with the on scroll hide and reveal the headers I have a content place holder in each of the two headers linking to the same original menu in the other masterpage/object
"Make My Day"

See my Website
User avatar
Bluesman
 
 
Posts: 1116
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Hide header when scroll view smaller with same menu

Post by Bluesman »

Sorry... Embedded page containers linking to the menu masterpage :o
"Make My Day"

See my Website
User avatar
Bluesman
 
 
Posts: 1116
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Hide header when scroll view smaller with same menu

Post by Bluesman »

I published a testsite. Filled with blocks as placeholders for get hight on the page so is scrollable at once. When you scroll the page the smaller header appears with the same menu that are linked from the same masterpage...
https://www.chevere.ec/virgin_merced/index.html
"Make My Day"

See my Website
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Hide header when scroll view smaller with same menu

Post by crispy68 »

So... is it working then? Your demo works as far as I can tell but I'm not clear on what the issue is.
User avatar
Bluesman
 
 
Posts: 1116
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Hide header when scroll view smaller with same menu

Post by Bluesman »

crispy68 wrote: Sun Oct 02, 2022 8:26 pm So... is it working then? Your demo works as far as I can tell but I'm not clear on what the issue is.
As I wrote... the issue is that I get the warning, and if it can make problem in the future? But other than it's some enoying with the warning it works ok
"Make My Day"

See my Website
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Hide header when scroll view smaller with same menu

Post by crispy68 »

Without see a demo of your project its hard to say how to fix it but if you are having conflicting ID's it will eventually cause problems.
User avatar
Bluesman
 
 
Posts: 1116
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Hide header when scroll view smaller with same menu

Post by Bluesman »

crispy68 wrote: Sun Oct 02, 2022 9:28 pm Without see a demo of your project its hard to say how to fix it but if you are having conflicting ID's it will eventually cause problems.
I was a little worried for that... can I send to your webpage email?
"Make My Day"

See my Website
User avatar
crispy68
 
 
Posts: 2737
Joined: Thu Oct 23, 2014 12:43 am
Location: Acworth, GA
Contact:

Re: Hide header when scroll view smaller with same menu

Post by crispy68 »

See my reply to your email.
User avatar
Bluesman
 
 
Posts: 1116
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Hide header when scroll view smaller with same menu

Post by Bluesman »

crispy68 wrote: Mon Oct 03, 2022 1:48 am See my reply to your email.
Hi crispy... no email from you, checked spam and trash folders but no :?
"Make My Day"

See my Website
User avatar
Bluesman
 
 
Posts: 1116
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: Hide header when scroll view smaller with same menu

Post by Bluesman »

crispy68 wrote: Mon Oct 03, 2022 2:59 am I resent it.
That was better. Tnx crispy, really an eyeopener. I tested the syncronize functions, but for another reason.
"Make My Day"

See my Website
Post Reply