Hello i have this codes to try to get this working. But when on ./index.html all the li are given a class of current_yes exept for the ./clients.html link. And the other way aroud if i go to Clinets/clients.html then all li exept ./index.html are given a class of current_yes. I also use this script with a menu with no sub level and for this menu it works. So if any boudy have any idea please share. Thank you. jQuery(document).ready(function($){ var url = location.href; $('.ribbon a').filter(function() { return this.href == url;}) .closest('li').addClass('current_yes'); }); And this is how my menu html …

Member Avatar
Member Avatar
+0 forum 1

Hello, im making a bookmark script to save on a web page as links. I have the following code but i want to have links movable. That is i want to able to change position on the links. Demo: [Click Here](http://test3.fcab.se/links/temp/index.php) The code i use: <?php require("../config.php"); if ($enablegzip == "1") { ob_start("ob_gzhandler"); header("Content-Encoding: gzip"); } session_start(); ?> <!doctype html> <html> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, target-densitydpi=high-dpi"> <title>Web links - List (<?php echo basename(dirname(__FILE__));?>)</title> <link rel=StyleSheet href="style.css" type="text/css"> <script type="text/javascript" src="../collapse_expand_single_item.js"></script> <script type="text/javascript" src="../jquery-1.11.1.js"></script> <script src="http://code.jquery.com/jquery-1.8.2.js"></script> <script src="http://code.jquery.com/ui/1.9.1/jquery-ui.js"></script> <script> $(function() { $( "#sortable" ).sortable({ placeholder: "ui-sortable-placeholder" }); }); </script> …

Member Avatar
Member Avatar
+0 forum 4

Hello, im making a bookmark script to save on a web page as links. I have the following code but i want to have links movable. That is i want to able to change position on the links. Demo: [Click Here](http://test3.fcab.se/links/temp/index.php) i have tested several Jquery/Java dragg/dropp/sort scripts but i can not get it to work. The only thing i gotten to work is that i can dragg the first link but no other links and even the firs link will not changs position. The links are saved in and echod from a links.txt file. The code i use: <?php …

Member Avatar
+0 forum 0

The End.