Members: 16,996
Threads: 38,846
Posts: 159,391
Online: 27

Newest Member: Kl_broka@rediffmail.com


Odoo.tv - Outdoor Television


Sedo - Domains kaufen und verkaufen das Projekt mambers.com steht zum Verkauf Besucherstatistiken von mambers.com etracker® Web-Controlling statt Logfile-Analyse
Old 13.05.2004, 03:46   #1 (permalink)
Junior Mamber
 
old_mac's Avatar
 
Join Date: May 2004
Location: Ontario
Posts: 26
old_mac is on a distinguished road
Disk Macs rock Mambo

If you have a Mac you know the problems of the pop-up menus in the Mambo administrator. It is because the Mambo guys used a javavscript plug-in, that never worked with anything but Windoz browsers.

I really like Mambo, but the admin menus prevented me from using it with my Mac clients. It has been over a year and no fixes so I did it myself.

Simple replace the file called JSCookMenu.js in the js folder inside the includes folder.

It hardwires the menus to Safari and only Safari, but does not effect other Windoz browsers, incase you have two administrators.

It could be changed for IE , Fire Fox, Mozilla etc. Just change the pixel positions in the large 'case' function. It is marked, but takes hours of trial and error.

The replacement 'Safari-fied' file is attached to this posting

Have fun..
Chris.
Attached Files
File Type: zip JSCookMenu.js.zip (6.5 KB, 114 views)
old_mac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Old 13.05.2004, 09:37   #2 (permalink)
Professional Mamber
 
stingrey's Avatar
 
Join Date: Apr 2004
Location: Marikina, Manila, Philippines
Posts: 776
stingrey is on a distinguished road
Default Re: Macs rock Mambo

Just to clarify.

This replacement js file allows the JSCook menu's to function in Safari?

What do you mean by "hardcoded"
Does this mean that if I view the mambo backend in IE, the menus wont work.


Just wondering as I've released a module called Display Menu - JSCook, which allows people to integrate the JSCook Script to 'replace' their normal menu.

However, i know the JS Script I have included in the module wont work in Safari, if their is a way to allow Safari functionality, i would love to add it to the module.
__________________
Joomla! Core Team Member
Software Coding & Design - Stability Team Leader
www.joomla.org
Former Mambo Core Team Member
stingrey is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 13.05.2004, 15:46   #3 (permalink)
Mamber
 
mibi's Avatar
 
Join Date: Apr 2004
Location: Quebec City, Canada
Posts: 57
mibi is on a distinguished road
Default Re: Macs rock Mambo

Chris,

Thanks for sharing this with us!!!

Do you have a site where we could view the JSCook menu horizontal dropdown that I could ask my Mac friend to visit?
__________________
Michelle Bisson
POPcliQ - www.popcliq.com

Mambo Docs Team Leader
mibi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 13.05.2004, 20:22   #4 (permalink)
Mamber
 
Riba's Avatar
 
Join Date: Apr 2004
Posts: 79
Riba is on a distinguished road
Default Re: Macs rock Mambo

Quote:
Originally Posted by old_mac
If you have a Mac you know the problems of the pop-up menus in the Mambo administrator. It is because the Mambo guys used a javavscript plug-in, that never worked with anything but Windoz browsers.
A correction is in order - it worked with most of the browsers except Safari. The fact that they are running on Windows or Mac OS does not affect the operation of the menus.
Of course, being a Mac user, I will try your fix
Riba is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14.05.2004, 02:21   #5 (permalink)
Baby Mamber
 
Join Date: Apr 2004
Posts: 9
Craigster is on a distinguished road
Default Re: Macs rock Mambo

Well, it seems to work ok in Safari, though sometimes the sub menu's don't appear to the right of the items (i.e components). But at least you can click and select the items, and not have to use another browser. I've been using Netscape to admin my site.
Craigster is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14.05.2004, 03:27   #6 (permalink)
Junior Mamber
 
old_mac's Avatar
 
Join Date: May 2004
Location: Ontario
Posts: 26
old_mac is on a distinguished road
Default Re: Macs rock Mambo

To correct a correction. JsCookmenus does not work on all browsers except Safari. It does not work with Netscape X, works partially with Mac IE 5.22.,
it does not work with Opera, iCab X, Komodo, Gecko, OmniWeb. With the various flavours of Mozilla, it works the best with Firefox and Camino.

The script is hardwired to the admin menu. That is why the components menu does not function. Adding components changes the menu layout. I am looking into this at the moment to find a solution.

JsCookmenu is actually terrible. There are at least 20 better scripts that do the same thing and actually does work on ALL browsers. One that comes to mind is HVmenu.

To this end I am working on replacing JsCookmenu with an alternative. Somebody mentioned htmlarea3 menus too. I haven't looked at their menus but I bet it is JSCookmenu too.

I am working on a version of Mambo to use SPAW, a far superior WYSIWIG editor.

My version of JSCookmenu does not change anything in the original. It just adds a test for a Safari browser and then runs through a Case statement.

hth
Chris
admin@cllcanada.com
old_mac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14.05.2004, 03:59   #7 (permalink)
Junior Mamber
 
old_mac's Avatar
 
Join Date: May 2004
Location: Ontario
Posts: 26
old_mac is on a distinguished road
Default Re: Macs rock Mambo

re: Stingray...

I tried it on your site and I am not certain what you are doing with JSCookmenu. I could get menu rollovers, but nothing else.

Are you using the file in Mambo for the module or do you have another version?

I guess if you had a Safari browser, it would affect the module menus.

Since you are a programmer I will explain what the problem is. JSCook reads the html and builds the menus. But on the Mac the drop down menus and pop-ups are not read. Also the arrays that are built are not complete on the Mac. Most object parameters are never filled. cmGetYAT returns 0.
None of the menu offsets are filled. The only values available are left pixel position of the item in the menu bar and RowItem of the drop down menu
Interesting some menu arrays start with RowItem=1 and some start with RowItem=0.

Finally there is not a line of error checking in the script.

hth

Chris
old_mac is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14.05.2004, 06:56   #8 (permalink)
Mamber
 
mibi's Avatar
 
Join Date: Apr 2004
Location: Quebec City, Canada
Posts: 57
mibi is on a distinguished road
Default Re: Macs rock Mambo

To those who use browsers other than Explorer,

I was wondering if you could test a free horizontal dropdown menu that I found.

This is the link: http://javer.narod.ru/

Please state your brower (and version) and state if this horizontal dropdown menu works for you or not.

Thanks in advance for testing!!!
__________________
Michelle Bisson
POPcliQ - www.popcliq.com

Mambo Docs Team Leader
mibi is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14.05.2004, 20:21   #9 (permalink)
Mamber
 
Riba's Avatar
 
Join Date: Apr 2004
Posts: 79
Riba is on a distinguished road
Default Re: Macs rock Mambo

old_mac, jscook work fine in Opera 7.5 and the latest Netscape...but anyway, I agree with you, there are a lot of menu systems out there that work everywhere. Actually, Mambo developers said that in the future the menu engine will change to something more compatible, but as it seems it won't make it in until version 5

Aslo, I have replaced the original file with your modified one, but it did not help. I haven't had time to play with it, but I will take a closer look.
Riba is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 14.05.2004, 20:31   #10 (permalink)
Mamber
 
Riba's Avatar
 
Join Date: Apr 2004
Posts: 79
Riba is on a distinguished road
Default Re: Macs rock Mambo

mibi, I tested the menu on javer using Safari - works pretty well except for one quirk: if the menu item text spans over two lines, it gets truncated on the bottom.
Well, as they say, picture is worth a thousand words:
Riba is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mambo Open Source 5.0 Book Series mmx Community Announcements 13 19.09.2005 09:35
Instalación de mambo en local para novatos. Vogue Instalacion 2 05.04.2005 04:02
Einige Anfängerfragen zu Mambo taucher Mambo 4.5 Allgemein 4 15.09.2004 00:24
Mambo OS Performance; Experienced Mambo Developers required Ritchie Development Discussions 7 14.06.2004 15:23
New mambo fork xMambo scheurer Community Announcements 24 16.05.2004 09:52


All times are GMT +2. The time now is 10:46.

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
A vBSkinworks Design
© Copyright 2004-2008 by Arthur Konze Webdesign.