×

Notice

The forum is in read only mode.
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: Keep "Newest Locations" open by default

Keep "Newest Locations" open by default 13 years 3 weeks ago #11849

  • Avi Zuber
  • Avi Zuber's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi,
I'm looking to keep "Newest Locations" open by default. I don't know js well enough to figure it out. Thanks!

Keep "Newest Locations" open by default 13 years 3 weeks ago #11851

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
Look at media/com_hotspots/js/hotspots.js

the second fucntion in the file is effects() at the end of it you have this line:
if(show_footer_menu == 1) {
slide_address = new Fx.Slide('hs_foot_info').hide();
} 
right after it add
expandfootmenu();
Cheers,
Daniel

Keep "Newest Locations" open by default 13 years 3 weeks ago #11852

  • Avi Zuber
  • Avi Zuber's Avatar Topic Author
  • Offline
  • Fresh Boarder
  • Fresh Boarder
  • Posts: 2
  • Thank you received: 0
Hi Daniel,

Thanks for the prompt reply! Works perfectly. One issue is that I set the Newest Locations bit (following instructions from a forum thread) so that way more than 5 recent locations are shown. Here is what happens now:

When you open the page, the first 5 are automatically shown. When you click Newest Locations, it closes. When you click Newest Locations again, it expands, showing all of the newest locations.

Is there a way to have them all show off the bat?

Thanks for your time, I appreciate it.

All the best.

Keep "Newest Locations" open by default 13 years 3 weeks ago #11855

  • Daniel Dimitrov
  • Daniel Dimitrov's Avatar
  • Offline
  • Administrator
  • Administrator
  • Posts: 9618
  • Karma: 155
  • Thank you received: 1081
  • Page:
  • 1
Time to create page: 0.115 seconds