Side navigation
#12109 closed bug (invalid)
Opened July 20, 2012 06:49AM UTC
Closed July 20, 2012 12:10PM UTC
.on() method not working for multiple events
Reported by: | bernhard567@live.de | 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
Attachments (0)
Change History (1)
Changed July 20, 2012 12:10PM UTC by comment:1
resolution: | → invalid |
---|---|
status: | new → closed |
Please ask for help on a forum.