- This topic has 40 replies, 4 voices, and was last updated 16 years, 1 month ago by
imported_Ryan.
-
AuthorPosts
-
December 31, 2008 at 7:20 pm #4450
malcalevak
ModeratorCheck your e-mail already! I think we’d make better progress if we were able to talk outside of the forum…
January 1, 2009 at 6:52 am #4451malcalevak
ModeratorBuilding off of Ryan’s broken 1.4.9 release, I believe I’ve incorporated 90% of what he was trying to do with most of what I’d been trying to do as well.
Check for my new post with the 1.4.10 alpha/beta…whatever and give feedback there.
January 2, 2009 at 9:33 am #4452imported_Ryan
MemberExcellent. That new keyboard script is great
” title=”Smiley” />
January 2, 2009 at 9:40 am #4453imported_Ryan
Membermalcalevak – do you want me to add a GPL license to the start of your script? That way people will know where it came from and what license it is released under if they seen it within the main plugin.
My test plugin currently has it like this:
[code:3s2xlqwm]/*
jQuery sfhover Keyboard accessibility script
http://www.transientmonkey.com/Copyright (c) 2008 malcalevak
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
*/(function( $ ){
$(document).ready(function(){
$("#suckerfishnav li").hover(
function() { $(this).addClass("sfhover");},
function() { $(this).removeClass("sfhover");}
);
$("#suckerfishnav a").focus(function(){$(this).parents("li").addClass("sfhover");}).blur(function(){$(this).parents("li").removeClass("sfhover");});
$("#suckerfishnav_2 a").focus(function(){$(this).parents("li").addClass("sfhover");}).blur(function(){$(this).parents("li").removeClass("sfhover");});
});
})( jQuery );[/code:3s2xlqwm]January 2, 2009 at 3:46 pm #4454malcalevak
ModeratorIf you’re planning to keep it, sure. I’d actually pulled it out of my most recent release.
January 2, 2009 at 4:14 pm #4455malcalevak
ModeratorI just noticed this, but it can probably be written more simply for multiple menus, however I’ll wait until we get that feature fully added to smooth out the code.
January 2, 2009 at 10:27 pm #4456imported_Ryan
MemberI’ve added an extra line to cope with a single extra menu.
If you are able to change it to cope with a class rather than a single ID would be handy. The Superfish plugin seems to use that approach.
January 2, 2009 at 10:34 pm #4457malcalevak
ModeratorChange $("#suckerfishnav a") to $(".suckerfish a")
And you cover both menus.Or you could use the sf-menu class instead of the suckerfish class.
January 14, 2009 at 1:12 am #4458wander
MemberI am looking for the most recent version to try out.
rudimentary instructions welcome!I’ll be more than happy to "expand" the instructions as I go along with an installation and send it back to you.
January 14, 2009 at 1:21 am #4459imported_Ryan
MemberIt’s sticky posted at the top of the board index … https://geek.hellyer.kiwi/forum/http://local … .php?f=4.0
January 14, 2009 at 1:22 am #4460imported_Ryan
MemberOh, and I’m definitely keen to hear about any potential improvements to the installation instructions. The latest version has had that section rewritten.
-
AuthorPosts
- You must be logged in to reply to this topic.