Opened 11 years ago
Closed 11 years ago
#12109 closed bug (invalid)
.on() method not working for multiple events
Reported by: | Owned by: | ||
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.7.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
$('body').on('ready resize', 'p.nav > a > span', function(){ var preferredHeight = 800; var displayHeight = $(window).height(); var percentage = displayHeight / preferredHeight; var newFontSize = Math.floor(fontsize * percentage) - 1; $("p.nav > a > span").css("font-size", newFontSize); });
Why is this code not working Much Thanks for your help
Note: See
TracTickets for help on using
tickets.
Please ask for help on a forum.