Anchor doesn't work until on the page
9 years 2 days ago #31292
by teddirez
Anchor doesn't work until on the page was created by teddirez
If you visit
middlerock.com.au/accommodation/accommodation-types
and click on the first accommodation type "3 bedroom townhouses", you will see it loads the relevant page but not at the anchor. Clicking it a second time (once page has loaded) will take you to the anchor. How can I get it to work on page load?
and click on the first accommodation type "3 bedroom townhouses", you will see it loads the relevant page but not at the anchor. Clicking it a second time (once page has loaded) will take you to the anchor. How can I get it to work on page load?
Please Log in or Create an account to join the conversation.
9 years 2 days ago #31299
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Anchor doesn't work until on the page
Hi
There is no css class "scrollTo" on your link, so the plugin will not work on this
here you are just using a standard anchor behavior
CEd
There is no css class "scrollTo" on your link, so the plugin will not work on this
here you are just using a standard anchor behavior
CEd
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
9 years 1 day ago #31314
by teddirez
Replied by teddirez on topic Anchor doesn't work until on the page
OK, maybe wrong example there as you're right, the CSS isn't present.. however.. it IS in the menu item "bookings/accommodation/2 br spa" and yet still behaves similarly.
Please Log in or Create an account to join the conversation.
9 years 1 day ago #31316
by ced1870
there is no css class scrollTo
Joomlack Webmaster and Developer
Replied by ced1870 on topic Anchor doesn't work until on the page
sorry but no, it is not. Check the code of your linkyou're right, the CSS isn't present.. however.. it IS in the menu item "bookings/accommodation/2 br spa"
Code:
<a class="item" href="http://middlerock.com.au/accom/2-bedroom-spa-cabin#rt-mainbody">
there is no css class scrollTo
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
9 years 18 hours ago #31330
by teddirez
Replied by teddirez on topic Anchor doesn't work until on the page
Please Log in or Create an account to join the conversation.
9 years 9 hours ago #31331
by ced1870
Joomlack Webmaster and Developer
Replied by ced1870 on topic Anchor doesn't work until on the page
try to publish a native joomla menu module with this menu, because here the menu is rendered by the RT framework
Joomlack Webmaster and Developer
Please Log in or Create an account to join the conversation.
Time to create page: 0.233 seconds