Supporting each other

Community forums

Welcome, Guest
Username: Password: Remember me
This is the place for questions about learning design and pedagogy; how to use different page types for different purposes.
  • Page:
  • 1

TOPIC: Documentation - position of the 'Download' button

Documentation - position of the 'Download' button 5 months 1 week ago #5687

  • anne.misselbrook@northampton.ac.uk
  • anne.misselbrook@northampton.ac.uk's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 58
  • Thank you received: 0
Hi Xerte Community,
Is there a way of changing the default position of the 'Download' button on the 'Documentation' page type?

Attached is a screenshot of a simple test Xerte, whereby I am linking back from the Documentation page to a menu, but the link to menu I have added shows above the 'Download' button which displays in the defaulted position.

Thanks in advance for any help.
Anne
Attachments:

Please Log in or Create an account to join the conversation.

Documentation - position of the 'Download' button 5 months 1 week ago #5688

  • Fay
  • Fay's Avatar
  • Offline
  • Expert Boarder
  • Expert Boarder
  • Posts: 158
  • Thank you received: 49
Hi Anne

Try adding the script optional property to your page and using this:
var $downloadBlock = $('#downloadBtn').parents('.item');
$downloadBlock.prev().before($downloadBlock);

This will move the download button section above the block above it which I think is what you want.

I hope this helps
Fay

Please Log in or Create an account to join the conversation.

Documentation - position of the 'Download' button 5 months 1 week ago #5689

  • anne.misselbrook@northampton.ac.uk
  • anne.misselbrook@northampton.ac.uk's Avatar Topic Author
  • Offline
  • Senior Boarder
  • Senior Boarder
  • Posts: 58
  • Thank you received: 0
Hi Fay,
This is perfect, thank you. Attached is the view I was wanting to achieve and using the script code did it for me.
Excellent community support and feedback as usual.

Anne
Attachments:

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Moderators: ingdon
Time to create page: 0.057 seconds
Copyright © 2019 The Xerte Project.
Xerte logo Apereo logo OSI Logo

Search