Mac computer can not pull up the menu

Having problems with DHTML Menu? There is usually somebody here who knows the answer.
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Just remembered, you said your customer is running a dual-boot system. So why is he still hanging back on OS 9? I know that doesn't solve the problem for the other folks who are still on 9 (we'll get it!), but if he's got OS X loaded he should be using it.
John
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Hi Folks.

I've found the problem ;)

It's a bogus file - Believe it or not there is something inside the menu_data.js file that the Mac doesn't like.

Not sure what it is (don't really care :D ) But. . . If you copy the contents of the file and paste them into a new file it works, at least it does with UltraEdit on XP

Don't ya just love IE on the Mac :x

Anyway, let me know how you get on

Cheers
Andy
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Andy wrote:I've found the problem ;)
Tank U, oh great Master from the East (well, east of me, anyway!). ;)
Andy wrote:It's a bogus file - Believe it or not there is something inside the menu_data.js file that the Mac doesn't like.

Not sure what it is (don't really care :D ) But. . . If you copy the contents of the file and paste them into a new file it works, at least it does with UltraEdit on XP
Not something I would have thought of. Assuming maybe an accidental invisible character of some kind (whatever), why didn't it go with the copy?
Andy wrote:Don't ya just love IE on the Mac :x
Hate it. M$ pulled out because they couldn't fix the dopey thing (IMHO).
John
User avatar
Andy
Milonic
Milonic
Posts: 3308
Joined: Sun May 19, 2002 8:23 pm
Location: Menu Developer
Contact:

Post by Andy »

Yeah, it happend before so I had a hunch (that's the "idea" type of hunch and not the "weird growth on ones back" type of hunch, in case you were wondering)

What I normally do for testing is pull the site down with IE (File-Save As) and then edit the .htm file to point to the dev copy of the menu. Then I can play with it and tweak it till its fixed.

It had to be something to do with the file. I took EVERYTHING out of it and it still returned an error. It's the most bizzare of problems... stoopid Macs :}
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Andy wrote:It had to be something to do with the file. I took EVERYTHING out of it and it still returned an error. It's the most bizzare of problems... stoopid Macs :}
Boo Hiss - stoopid Win for not detecting the problem :!: :D
John
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Found it :!:

You have some blank lines before the first actual code line (_menuCloseDelay=500). Looking at it in ASCII mode, in the very top line there is a mysterious invisible o;? lurking there (just those 3 characters). No idea what they represent, but I don't see them in other _data files I just looked at. Also don't know why they didn't move over when Andy did a copy/paste, but it looks like you could also try just deleting those blank lines.
John
Surfergirl
Super Advanced
Super Advanced
Posts: 77
Joined: Fri Jun 27, 2003 5:38 pm
Location: TCI

Post by Surfergirl »

forgive me but I can not find (_menuCloseDelay=500) in menu_data.js - I tried copy and paste into new file and he still cannt see das menu
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Surfergirl wrote:forgive me but I can not find (_menuCloseDelay=500) in menu_data.js - I tried copy and paste into new file and he still cannt see das menu
It's the very first code line (after the mentioned blank lines) in your menu_data.js...

Code: Select all

_menuCloseDelay=500           // The time delay for menus to remain visible on mouse out
_menuOpenDelay=150            // The time delay before menus open on mouse over
_followSpeed=5                // Follow scrolling speed
_followRate=40                // Follow scrolling Rate
_subOffsetTop=10              // Sub menu top offset
_subOffsetLeft=-10            // Sub menu left offset
_scrollAmount=3               // Only needed for Netscape 4.x
_scrollDelay=20               // Only needed for Netcsape 4.x
etc.

Before that you have 3 blank lines. It's in the first blank line that I found that invisible stuff. Since the c/p didn't work, try completely removing those 3 blank lines and resaving the file.

Also, he might have to clear his browser cache. With that piece of junk browser it's entirely possible he's still looking at a cached version of the page. Another trick is to hold down the Shift key while hitting the refresh button in the browser.
John
Surfergirl
Super Advanced
Super Advanced
Posts: 77
Joined: Fri Jun 27, 2003 5:38 pm
Location: TCI

Post by Surfergirl »

ok, have corrected the file (panic caused me not to see it) deleted the "invisible" and he still says he cannut see it. Would you be so kind to look at my file to see if I deleted it please?

Confirmed - he says he on OX9.2.2, Rom 9.6.1, Netscape 7
thanks millions
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

I just pulled your menu data at /HortonRealty/milonic/menu_data.js and there are still 3 blank lines above the first menudelay stuff. Remove the lines entirely so that the file starts like this...

Code: Select all

Line1:      _menuCloseDelay=500       
Line2:      _menuOpenDelay=150            
Line3:      _followSpeed=5                // Follow scrolling speed
Line4:      _followRate=40                // Follow scrolling Rate
So basically _menuCloseDelay is the VERY first line in the file, and remember, dont copy the Line1,Line2,... that I put in the example. ;)
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
Surfergirl
Super Advanced
Super Advanced
Posts: 77
Joined: Fri Jun 27, 2003 5:38 pm
Location: TCI

Post by Surfergirl »

Ok, I do not see any 'blank lines' - have hit backspace in both notepad and word pad. Dude says he still can't see it so I guess I'm not deleting the invisible - what should I do? Can someone post the corrected file so I can copy it? thanks
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Don't see it that way here, Dave. The blank lines are gone (remember, she's moved to a new URL), and so are the goofy characters.

However, looking at the file exactly the same way I did earlier (changing the suffix to .txt, and opening it in Word as US-ASCII), I now see an unprintable character (open box) between every character in the file. I did not see that before using the same setup.
John
Surfergirl
Super Advanced
Super Advanced
Posts: 77
Joined: Fri Jun 27, 2003 5:38 pm
Location: TCI

Post by Surfergirl »

Is it possible that my method of saving the file is messing it up? I save in notpad - Unicode txt and in WordPad - Unicode txt ?
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

You said WordPad. If you used that to save it, are you sure you set the type to 'Text Document' (not unicode or the default RTF)?
John
User avatar
Maz
Milonic God
Milonic God
Posts: 1717
Joined: Fri Jun 06, 2003 11:39 pm
Location: San Francisco
Contact:

Post by Maz »

Did you leave off doctype?

I don't see it.

Regards
maz
Surfergirl
Super Advanced
Super Advanced
Posts: 77
Joined: Fri Jun 27, 2003 5:38 pm
Location: TCI

Post by Surfergirl »

In Wordpad - file name = menu_data.js and Save as type = unicode text document
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

maz wrote:Did you leave off doctype?
We're talking about the menu_data.js here. No doctype needed.
John
User avatar
John
 Team
 Team
Posts: 5967
Joined: Sun May 19, 2002 8:23 pm
Location: Phoenix, AZ
Contact:

Post by John »

Surfergirl wrote:In Wordpad - file name = menu_data.js and Save as type = unicode text document
No. As I said above - 'Text Document'!
John
User avatar
Hergio
Milonic God
Milonic God
Posts: 1123
Joined: Wed Jun 12, 2002 7:46 pm
Location: Rochester, NY

Post by Hergio »

No in wordpad...
File name: menu_data.js
Save as Type: Text Document


You DO NOT want Unicode.
Dave Hergert
Software Engineer
"Helping to make the menu better, one :?: at a time."
Surfergirl
Super Advanced
Super Advanced
Posts: 77
Joined: Fri Jun 27, 2003 5:38 pm
Location: TCI

Post by Surfergirl »

you are kidding? how do I get rid of all the little invisible things you see - will they disappear if I save it as a txt? or do I have to start over from scratch?
Post Reply