travelI'm on Holidays until the 21 august.

The questions posted during this period will receive no answer, so please be patient and wait before posting in the forum. Thank you

New registrations are suspended during this period

Je suis en vacances jusqu'au 21 aout.

Je ne répondrai à aucune question postée durant cette période. Merci d'attendre mon retour. Merci

Les inscriptions sur le site sont suspendues pendant cette période

 

Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Anchor doesn't work until on the page

Anchor doesn't work until on the page 01 Dec 2015 01:58 #31292

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?

Please Log in to join the conversation.

Anchor doesn't work until on the page 01 Dec 2015 08:43 #31299

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 17656
  • Karma: 391
  • Thank you received: 2263
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

Please Log in to join the conversation.

Joomlack Webmaster and Developer

Anchor doesn't work until on the page 02 Dec 2015 00:34 #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.

Please Log in to join the conversation.

Anchor doesn't work until on the page 02 Dec 2015 07:56 #31316

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 17656
  • Karma: 391
  • Thank you received: 2263

you're right, the CSS isn't present.. however.. it IS in the menu item "bookings/accommodation/2 br spa"

sorry but no, it is not. Check the code of your link
<a class="item" href="http://middlerock.com.au/accom/2-bedroom-spa-cabin#rt-mainbody">

there is no css class scrollTo

Please Log in to join the conversation.

Joomlack Webmaster and Developer

Anchor doesn't work until on the page 02 Dec 2015 23:05 #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..

Please Log in to join the conversation.

Anchor doesn't work until on the page 03 Dec 2015 07:34 #31331

  • ced1870
  • ced1870's Avatar
  • Offline
  • Administrateur
  • Administrateur
  • Posts: 17656
  • Karma: 391
  • Thank you received: 2263
try to publish a native joomla menu module with this menu, because here the menu is rendered by the RT framework

Please Log in to join the conversation.

Joomlack Webmaster and Developer
  • Page:
  • 1
Time to create page: 0.312 seconds

Fast and powerful creation, customizable and responsive.

Read More

Qui est en ligne

We have 226 guests and no members online