• myFAV.ES
  • Help Center
  • Tutorials
  • Extensions
  • Blogs

  

  • Logos
  • Logo Requests
  • Themes
  • Backgrounds
  • Forums
  • Contact

Error message

Warning: count(): Parameter must be an array or an object that implements Countable in antispam_user_load() (line 1555 of /home/ul/public_html/userlogos/sites/all/modules/antispam/antispam.module).
Home » Forums » 11012008 » NonAutohide v2.14 - Fast Dial

NonAutohide v2.14 - Fast Dial

Mafia_Penguin —Sat, 11/01/2008 - 20:14

Not exactly a style, but closer than any other area. If this is a bad place to post this, then contact an admin.
This may not work with some themes!

Thanks to PedroMRP for the fix!
How to disable the autohide of the toolbars:
A, Replace overlay.xul (in your profile folder->extensions->fastdial@telega.phpnet.us->chrome->content) with THIS.
Or, if you don't trust me (; then do this:

B, Open overlay.xul (in your profile folder->extensions->fastdial@telega.phpnet.us->chrome->content)
and replace ALL OF IT with this:

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="chrome://fastdial/skin/toolbar.css" type="text/css"?>

currentTime) continue;
FdSnapshot.create(item, items[item.folderId]);
}
setTimeout(Fd.autoRefresh, 60 * 1000);
},

setAsHome: function() {
var menupopup = document.popupNode.firstChild;
if (menupopup._resultNode) {
FdBookmark.setRoot(menupopup._resultNode.itemId);
}
},

populateFoldersMenu: function(menupopup, onCommand) {
FdDom.clear(menupopup);

var bookmarks = FdBookmark.getBookmarks("BOOKMARKS_MENU").concat(
FdBookmark.getBookmarks("TOOLBAR"));

for(var i in bookmarks) {
var bookmark = bookmarks[i];

if (bookmark.isFolder) {
var menuitem = document.createElement("menuitem");
menuitem.setAttribute("label", bookmark.title);
menuitem.setAttribute("oncommand", onCommand(bookmark));
menupopup.appendChild(menuitem);
}
}
},

populateAddMenu: function() {
var menupopup = FdDom.get("fd-add-menu").firstChild;
Fd.populateFoldersMenu(menupopup,
function(bookmark) {
return "Fd.addPage(" + bookmark.id + ");";
});
},

populateOpenMenu: function() {
var menupopup = FdDom.get("fd-button").firstChild;
Fd.populateFoldersMenu(menupopup,
function(bookmark) {
return "FdUtils.openLink('" + bookmark.url + "');";
});

if (menupopup.childNodes.length > 0) {
var separator = document.createElement("menuseparator");
menupopup.appendChild(separator);
}
var menuitem = document.createElement("menuitem");
menuitem.setAttribute("label", FdBundle.getString("preferences"));
menuitem.setAttribute("oncommand", "Fd.openPreferences();");
menupopup.appendChild(menuitem);
},

populateLinkMenu: function() {
var menupopup = FdDom.get("fd-add-link").firstChild;
Fd.populateFoldersMenu(menupopup);
},

populateSearchMenu: function() {
var menupopup = FdDom.get("fd-search-menu");
FdDom.clear(menupopup);

var searchService = Components.classes["@mozilla.org/browser/search-service;1"]
.getService(Components.interfaces.nsIBrowserSearchService);
var engines = searchService.getEngines({});

for(var i in engines) {
var menuitem = document.createElement("menuitem");
menuitem.setAttribute("class", "menuitem-iconic");
menuitem.setAttribute("label", engines[i].name);
menuitem.setAttribute("image", engines[i].iconURI.spec);
menupopup.appendChild(menuitem);
}
},

setSearchEngine: function(menuitem) {
var uri = menuitem.getAttribute("image");

var searchService = Components.classes["@mozilla.org/browser/search-service;1"]
.getService(Components.interfaces.nsIBrowserSearchService);
var engines = searchService.getEngines({});

for(var i in engines) {
if (engines[i].iconURI.spec == uri) {
searchService.currentEngine = engines[i];
}
}
var wnd = content.wrappedJSObject;
if (wnd.FdDom) {
var search = wnd.FdDom.get("search");
var searchIcon = wnd.FdDom.child(search, "img");
searchIcon.src = uri;
}
},

addPage: function(folderId) {
var item = {
url: content.location.href,
title: content.document.title,
folderId: folderId,
index: -1
}
FdBookmark.saveBookmark(item);
var message = FdBundle.getString("pageAdded");
FdUtils.popup(message);
},

export: function() {
var file = FdFile.chooseFile("save", ["*.json"]);
if (!file) return;

var menupopup = document.popupNode.firstChild;
if (menupopup._resultNode) {
var rootId = menupopup._resultNode.itemId;
var root = FdStorage.getItem(rootId);
var folder, folders = [ root ];

while(folder = folders.shift()) {
var items = FdStorage.getItems(folder.id);
folder.items = items;
for(var i in items) {
if (items[i].isFolder) folders.push(items[i]);
}
}
FdFile.writeFile(file, FdUtils.toJSON(root), true);
}
},

import: function() {
var file = FdFile.chooseFile("open", ["*.json"]);
if (!file) return;

var data = FdFile.readFile(file);
var root = eval(data.value);

var translatedIds = [];
var folders = [ FdUtils.clone(root) ];
var id = root.id;
var menuitem = document.popupNode;
root.folderId = menuitem.node.parent.itemId;

delete root.id;
delete root.items;
FdStorage.saveItem(root);
translatedIds[id] = root.id;

var folder;
while(folder = folders.shift()) {
var items = folder.items;
for(var i in items) {
var item = items[i];
if (item.isFolder) folders.push(FdUtils.clone(item));
var id = item.id;
item.folderId = translatedIds[folder.id];
delete item.id;
delete item.items;
FdStorage.saveItem(item);
translatedIds[id] = item.id;
}
}
}
}

FdLegacy.migrate();
setTimeout(Fd.autoRefresh, 3 * 1000);
addEventListener("load", Fd.initialize, false);
]]>

To undo this fix, simply reinstall Fast Dial 2.14.
That will not get rid of your logos.

  • Styles for FD or UL
  • Log in or register to post comments or vote.
  • +1
  • 1 vote
chiaroscuro's picture

Re: Disable Autohide in v2.14

Submitted by chiaroscuro on Sat, 11/01/2008 - 21:16

@Mafia_Penguin

I am a little unclear as to why the settings in your post differ from those recommended in PedroMRP's fix in his post here

showNavBar: function() {
FdDom.get("fd-toolbar").collapsed = true;
FdDom.get("toolbar-menubar").collapsed = false;
FdDom.get("nav-bar").collapsed = true;
},

hideNavBar: function() {
FdDom.get("fd-toolbar").collapsed = true;
FdDom.get("toolbar-menubar").collapsed = false;
FdDom.get("nav-bar").collapsed = true;
},

  • log in or register to post comments
Mafia_Penguin's picture

Re: NonAutohide

Submitted by Mafia_Penguin on Sun, 11/02/2008 - 01:39

Here?

showNavBar: function() {
FdDom.get("fd-toolbar").collapsed = true;
FdDom.get("toolbar-menubar").collapsed = false;
FdDom.get("nav-bar").collapsed = false;
},

Notice how the nav-bar is not collapsed...
Let me see if I made a mistake...
-----------------------------------------


  • log in or register to post comments
chiaroscuro's picture

Re: NonAutohide

Submitted by chiaroscuro on Sun, 11/02/2008 - 01:41

Here?

Yes those lines and the four lines below.

Both are different from PedroMRPs post.

  • log in or register to post comments
Mafia_Penguin's picture

Re: NonAutohide

Submitted by Mafia_Penguin on Sun, 11/02/2008 - 01:45

Hmmm....
My navigation bar disappears when I do it pedroMRP's way...
-----------------------------------------


  • log in or register to post comments
Mafia_Penguin's picture

Re: NonAutohide

Submitted by Mafia_Penguin on Sun, 11/02/2008 - 01:49

Aha!
It depends on your theme!
Odd....

-----------------------------------------


  • log in or register to post comments
Mafia_Penguin's picture

Re: NonAutohide

Submitted by Mafia_Penguin on Sun, 11/02/2008 - 01:51

It simply is not there...
so no, it does not work on the theme I use...
-----------------------------------------


  • log in or register to post comments
chiaroscuro's picture

Re: NonAutohide

Submitted by chiaroscuro on Sun, 11/02/2008 - 01:56

Mafia_Penguin

If I remember correctly you first made an FD Version using the 2.11 code.

Then PedroMRP came up with a modification of the 2.14 code.

It seems odd that you are now encountering problems.

Did you not try PedroMRPs fix successfully before ?

  • log in or register to post comments
Mafia_Penguin's picture

Re: NonAutohide

Submitted by Mafia_Penguin on Sun, 11/02/2008 - 02:01

I edited it before I loaded it....
I'll post PedroMRP's code (for default theme) and post a warning about it not working with some themes.
-----------------------------------------


  • log in or register to post comments
chiaroscuro's picture

Re: NonAutohide

Submitted by chiaroscuro on Sun, 11/02/2008 - 02:06

I'll post PedroMRP's code (for default theme) and post a warning about it not working with some themes.

Mmm
Sounds like a good idea

  • log in or register to post comments
chiaroscuro's picture

Re: NonAutohide

Submitted by chiaroscuro on Sun, 11/02/2008 - 03:58

Mafia_Penguin

---

Please look at this post of Mafi0z here

---

This is getting confusing

---

It would seem that Mafi0z and maybe you too Mafia_Penguin, are in fact using a modification to the code that differs from the fix originally suggested by PedroMRP.

---

I wonder from where this other Version originates...

  • log in or register to post comments

Pages

  • 1
  • 2
  • next ›
  • last »

Search logos

Search site

Navigation

  • Blogs
  • Forums
  • Online users
  • Recent content

User login

  • Create new account
  • Request new password
 
  • Changelog
  • Latest releases
  • Important links
 
 
  • Changelog
  • Latest releases
  • Important links
  • Support Forum
 

Top Rated

  • google.com
  • youtube.com
  • fast dial folder
  • wikipedia.org
  • Firefox Black
  • fd folders, folders, folder
  • generic gaming logos
  • mail.google.com, gmail.com, googlemail.com
  • Carbon Fiber
  • iphone app style icon template
more

Recent Polls

  • What are you resolution of screen use
  • Which version of Fast Dial do you run?
  • How often do you visit Userlogos?
  • Which FD iPhone logo format do you find preferable
  • How many themes do you run in Fast Dial ?
more

Online users

There are currently 0 users online.
Active - 15 mins:
No registered users :(
  • Last 24 hours

Recent comments

  • Discover the Best Madera
    by: peter654
    8 hours 29 min ago
  • Elevate your glass handling
    by: peter654
    8 hours 34 min ago
  • Explore a world of affordable
    by: peter654
    8 hours 55 min ago
  • Uncover the secrets to
    by: peter654
    10 hours 28 min ago
  • Trust 420Delivery.online for
    by: peter654
    11 hours 18 min ago
  • Seriously sturdy, magnificent
    by: sijiv31759
    13 hours 19 min ago
  • Oasis Custodial Services:
    by: peter654
    16 hours 1 min ago
  • You will be permitted to
    by: sijiv31759
    16 hours 3 min ago
more

Recent topics

  • Lysosomaltx's
  • Спецтехника и запчасти
  • Immigration issues
  • Top 5 Reasons to Consider Investing in Platinum
  • Linebet app
  • Introduction Style: The actual Charming Globe associated with Lentor Mansion Showflat
  • Exploring the Royal Canadian Mint's Mastery in Precious Metal Refinement
  • المباني الجديدة في دولة الإمارات العربية المتحدة
more

Top contributors

User Total user points
Mafia_Penguin 912
Deva 552
gumanov 490
jumpordie 471
Karmody 457
macleod.mac 402
ingalls 354
spaljeni 310
zigzag 290
Rog 265
Sastre 256
famecky 159
x-b 152
danger83 147
1air2philou 143
more

2008-2017 userlogos.org. All logos/images belong to their respective owners. Contact administrator.

  • Logos
  • Logo Requests
  • Themes
  • Backgrounds
  • Forums
  • Contact