- This topic has 40 replies, 4 voices, and was last updated 17 years, 9 months ago by
imported_Ryan.
-
AuthorPosts
-
at #4450
malcalevak
ModeratorCheck your e-mail already! I think we’d make better progress if we were able to talk outside of the forum…
at #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.
at #4452imported_Ryan
MemberExcellent. That new keyboard script is great
” title=”Smiley” />at #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]at #4454malcalevak
ModeratorIf you’re planning to keep it, sure. I’d actually pulled it out of my most recent release.
at #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.
at #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.
at #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.
at #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.
at #4459imported_Ryan
MemberIt’s sticky posted at the top of the board index … https://geek.hellyer.kiwi/forum/http://local … .php?f=4.0
at #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.