Bỏ qua để đến Nội dung
Menu
Câu hỏi này đã bị gắn cờ
2 Trả lời
1180 Lượt xem

Hello everyone,

I’m experiencing an issue with anchor links in Odoo Website Builder. I’ve created a button that should scroll to a specific section on the same page (#anmeldung), but clicking the button does nothing.

I tested the link manually by appending #anmeldung to the URL in the browser and it works as expected.

The button works if I right-click it and open the link in a new tab, but it doesn’t scroll to the section on the same page.

I suspect it could be an Odoo-specific issue, possibly with caching, JavaScript interference, or how the website builder handles anchor links.


Any guidance on resolving this would be greatly appreciated!

Thanks in advance for your help!

Ảnh đại diện
Huỷ bỏ
Tác giả Câu trả lời hay nhất

Hi Eva,

Thank you for your response. I had already tried this, but unfortunately, the scrolling still isn’t working. It only works if I right-click on the button and select "Open Link in New Tab."


Ảnh đại diện
Huỷ bỏ
Câu trả lời hay nhất

Hi Elen,

You may have forgotten a step in preparing the whole thing.

Step 1.  Select the place where you want to move to.

Step 2. Click on the anchor-creation button 

Step 3. Add the anchor as the goal for the button. it should be selectable.


Good luck

Eva P.

Ảnh đại diện
Huỷ bỏ
Bài viết liên quan Trả lời Lượt xem Hoạt động
0
thg 2 25
818
1
thg 11 24
1329
1
thg 3 16
3067
1
thg 3 25
807
1
thg 5 25
677