Anchor doesn't work until on the page
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?
by teddirez
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Anchor doesn't work until on the page
Posted 8 years 5 months ago #31299
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
by ced1870
Please Log in or Create an account to join the conversation.
Replied by teddirez on topic Anchor doesn't work until on the page
Posted 8 years 5 months ago #31314
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.
by teddirez
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Anchor doesn't work until on the page
Posted 8 years 5 months ago #31316sorry 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
by ced1870
Please Log in or Create an account to join the conversation.
Replied by teddirez on topic Anchor doesn't work until on the page
Posted 8 years 5 months ago #31330
hmm, this is all very odd. as it is listed in the style. Something must be blocking it out.
It doesn't seem to follow the expected anchor behaviour even without the styling..
I'm willing to spot a $50 bounty to get these links to visit the anchor properly if you're interested..
It doesn't seem to follow the expected anchor behaviour even without the styling..
I'm willing to spot a $50 bounty to get these links to visit the anchor properly if you're interested..
by teddirez
Please Log in or Create an account to join the conversation.
Replied by ced1870 on topic Anchor doesn't work until on the page
Posted 8 years 5 months ago #31331
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
by ced1870
Please Log in or Create an account to join the conversation.
Time to create page: 0.753 seconds