Menu icon Foundation

Developer

My Posts

No Content

My Comments

Adam Ransome commented on Elias Sarantopoulos's post over 5 years

What's stopping you from just creating it yourself? No plugin needed, seems like a fairly simple hover/click event.

Adam Ransome commented on Ross Grant's post over 5 years

No problem - let us know if you have any further issues!

Adam Ransome commented on Christian Solorzano's post over 5 years

What do you mean by sticky? As in fixed positioning?

Adam Ransome commented on Ross Grant's post over 5 years

You can change the SASS $topbar-breakpoint variable - set it to something like 9999px for a mobile layout at all widths. Hope this helps!

Adam Ransome commented on Chris's post over 5 years

What's your frontend code for Orbit? Try setting the timer_speed there.

Adam Ransome commented on Chris's post over 5 years

You're definitely loading the correct file? (the minified version)? Try changing the settings where you're placing orbit in the html (using the 'data-options' attribute).

Adam Ransome commented on Calley Nye's post over 5 years

Foundation is supposed to be used for responsive design, I don't think there's an easy way to just switch off all the responsive features. Saying that you could just serve up two different html templates, one for responsive one for without, and then just keep everything in the non-responsive template to using the small grid without any of the responsive classes.

Adam Ransome commented on Eileen Schmidtke's post over 5 years

If you click download the name of the folder will be 'foundation-5.3.0.zip'.

Post the code so we can see what's going on.

You could use simple media queries for breakpoints, or you can change Foundation's own small/medium/large breakpoints.

Adam Ransome commented on Marc McGee's post over 5 years

Bit confused with what you've done here. You're giving the button a type of submit/reset outside of a form, which doesn't really make sense. You can place a button tag outside of a form, but then it's more of a semantic tag than a functioning one. It's basically the same as an input tag, but buttons can have images/content inside.

Adam Ransome commented on Asif's post over 5 years

A cleaner way of doing it would be:

$(document).ready(function() {
  $(".accordion").on("click", "dd", function () {
    $("dd.active").find(".content").slideUp("slow");
    if(!$(this).hasClass("active")) {
      $(this).find(".content").slideToggle("slow");
    }
  });
});

This stops the toggle executing twice when clicking on an item that currently has the .active class. Hope this helps somebody out!

Posts Followed

No Content

Following

    No Content

Followers

My Posts

No Content

My Comments

You commented on Elias Sarantopoulos's post over 5 years

What's stopping you from just creating it yourself? No plugin needed, seems like a fairly simple hover/click event.

You commented on Ross Grant's post over 5 years

No problem - let us know if you have any further issues!

You commented on Christian Solorzano's post over 5 years

What do you mean by sticky? As in fixed positioning?

You commented on Ross Grant's post over 5 years

You can change the SASS $topbar-breakpoint variable - set it to something like 9999px for a mobile layout at all widths. Hope this helps!

You commented on Chris's post over 5 years

What's your frontend code for Orbit? Try setting the timer_speed there.

You commented on Chris's post over 5 years

You're definitely loading the correct file? (the minified version)? Try changing the settings where you're placing orbit in the html (using the 'data-options' attribute).

You commented on Calley Nye's post over 5 years

Foundation is supposed to be used for responsive design, I don't think there's an easy way to just switch off all the responsive features. Saying that you could just serve up two different html templates, one for responsive one for without, and then just keep everything in the non-responsive template to using the small grid without any of the responsive classes.

You commented on Eileen Schmidtke's post over 5 years

If you click download the name of the folder will be 'foundation-5.3.0.zip'.

Post the code so we can see what's going on.

You could use simple media queries for breakpoints, or you can change Foundation's own small/medium/large breakpoints.

You commented on Marc McGee's post over 5 years

Bit confused with what you've done here. You're giving the button a type of submit/reset outside of a form, which doesn't really make sense. You can place a button tag outside of a form, but then it's more of a semantic tag than a functioning one. It's basically the same as an input tag, but buttons can have images/content inside.

You commented on Asif's post over 5 years

A cleaner way of doing it would be:

$(document).ready(function() {
  $(".accordion").on("click", "dd", function () {
    $("dd.active").find(".content").slideUp("slow");
    if(!$(this).hasClass("active")) {
      $(this).find(".content").slideToggle("slow");
    }
  });
});

This stops the toggle executing twice when clicking on an item that currently has the .active class. Hope this helps somebody out!

Posts Followed

No Content

Following

  • No Content

Followers

  • No Content