Topic: I hate javascript menus!  (Read 7131 times)

0 Members and 1 Guest are viewing this topic.

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
I hate javascript menus!
« on: May 03, 2005, 04:01:15 pm »
I just had to get that out... ahhh... feels better.

The one on this site is irritating me in how it interferes with normal browsing... (all links disabled while the menus times itself...) I see this all over the web nowadays.

It is not browser friendly, it is not spider friendly, its just a pain in the ass all around!

Someone here was being paid recently to come up with one? I'll pay you not to... lol.

Javascript just sucks, I hate javascript menus - did I mention that?

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #1 on: May 03, 2005, 04:35:14 pm »
I just had to get that out... ahhh... feels better.

The one on this site is irritating me in how it interferes with normal browsing... (all links disabled while the menus times itself...) I see this all over the web nowadays.

It is not browser friendly, it is not spider friendly, its just a pain in the ass all around!

Someone here was being paid recently to come up with one? I'll pay you not to... lol.

Javascript just sucks, I hate javascript menus - did I mention that?

*sympathy*

What is it, a fly away menu of some sort with CSS?

Jerry
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #2 on: May 03, 2005, 05:31:33 pm »
Its javascript, dhtml and css.

Actually its billed as DHTML ultimately sourced from here:
http://ypslideoutmenus.sourceforge.net/

Author's site: http://youngpup.net/

But still runs as javascript... I've always been intrigued by dhtml stuff but it always seems to be implemented through javascript no matter what.

Found an interesting improvement on it here:
http://simplythebest.net/scripts/DHTML_scripts/dhtml_script_114a.html

Still don't like this style of menus on webpages though, I find them very difficult to browse through, IMO they only serve to hide information and do nothing to improve the organisation of its presentation.


P.S. Working with the dang thing now... check for an "Images Gallery" Link under downloads on our menu... its on a second line with just the tips of the text visible and I'm stumped as to why... arg...

Based the image gallery on this: http://qdig.sourceforge.net/

Still needs a bit of work but is shaping up nicely...

Ah, figured out the positioning/sizing of the menu... Image gallery link should be visible now.
« Last Edit: May 03, 2005, 06:13:59 pm by Bonk »

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #3 on: May 03, 2005, 06:33:01 pm »
The link looks good to me. The page layout, otoh, left me a bit bewildered. But that could just be me.

Jerry
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #4 on: May 03, 2005, 06:46:35 pm »
The link looks good to me. The page layout, otoh, left me a bit bewildered. But that could just be me.

Jerry

Thanks for checking, the layout does look odd with that long skinny gif as the first image...(I also had to  edit the thumbnail generation code to account for long skinny gifs) perhaps I'll upload something with a better aspect ratio that appears first alphabetically... the other sub-galleries appear more natural. (it reads from the library images folder)

There are other options though... no thumbnails, etc. I'll post an announcement soon and see what we get for feedback and suggestions. (once I get the menu links sorted out completely...)

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #5 on: May 03, 2005, 06:49:16 pm »
Just for the heck of it I thought I'd post some of what I'm working through right now for my cert test--

private void btnCreateFile_Click(object sender, System.EventArgs e)
      {
         //Create a new fiule to work with
         FileStream fsOut= File.Create(Server.MapPath("test.txt"));
         //Create a StreamWriter to handle writing
         StreamWriter sw= new StreamWriter(fsOut);
         //And write some data
         sw.WriteLine("Quotes by Ghandi");
         sw.Flush();
         sw.Close();
         fsOut.Close();
         //Now open this file for reading
         FileStream fsIn= File.OpenRead(Server.MapPath("test.txt"));
         //Create a StreamReader to handle reading
         StreamReader sr= new StreamReader(fsIn);
         //And read the data
         while (sr.Peek() > -1)
         {
            lbLines.Items.Add(sr.ReadLine());
         }
         sr.Close();
         fsIn.Close();
      }


This bit of code allows me to write to a text file on the server. I'm also working through StreamWriters and BinaryWriters. Next up, SqlConnection objects vis-a-vis ADO.NET objects.

Jerry
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #6 on: May 03, 2005, 06:58:09 pm »
Good show! Writing back to a text file on the server can be very handy. Haven't used it much in php myself, but reading binary files (flatfile webmap) covered much of the same material.

Plus debugging a php "webfilebrowser"  (http://www.webfilebrowser.org/) on a number of versions of php and abyss exposed me to a lot of the same functions. This asp code should be able to accomplish the same type of thing. Hmmm, I wonder if there is an asp version of such a script....

An idea I'm fascinated by is code generated code... (A script that writes other scripts) - or is that a redundant idea?


P.S. I highly dislike ADO, I suspect is as the ultimate source of problems with the SQL OP serverkit. Most SQL servers can be connected to over a named pipe (socket) or tcp/ip connection. I fail to see why all the SQL middlemen are necessary... ODBC connectors, ADO drivers... ack... just not needed IMO.

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #7 on: May 03, 2005, 08:54:00 pm »
Are you using ADO with MySql?

Jerry
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #8 on: May 04, 2005, 07:58:19 am »
Are you using ADO with MySql?

Jerry

For the OP serverkit, yes that is how SQL support was added. (ADO -> DSN -> ODBC -> MySQL).
I dislike this arrangement though it seems to be the standard approach in MS VC++. I dislike it because both ADO and MyODBC dlls do their own query caching which cannot be controlled with the dynamic cursor in use.  :(

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #9 on: May 08, 2005, 10:31:16 pm »
This question is kind of tangential to this thread, but is as good a place as any to pose it.

Do you know if (OS)XP's connection limitations have any effect upon those running the server kits on that OS?

Jerry
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #10 on: May 25, 2005, 09:47:10 am »
Hey, Bonk, I'm starting the section on legacy code and Invoking Window APIs. Maybe I'll run into somthing useful vis-a-vis launching SFC from a web page or server.

*fingers crossed*

Jerry
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #11 on: May 26, 2005, 09:51:51 am »
This question is kind of tangential to this thread, but is as good a place as any to pose it.

Do you know if (OS)XP's connection limitations have any effect upon those running the server kits on that OS?

Jerry

When running on SQL, yes. (possibly the flatfile as well).

The higher the connection limit (# open files / tables) the better, of course.

Actually as I recall I believe the kit hits/exceeds the OS handles limits regularly. (more so with SQL because of the roundabout ADO-ODBC-SQL connection...)

I tested a singlethreaded run of the kit - it fails - I checked the source - too much is missing to run as a singlethreaded server (as I recall - all my files are curently on my pc in storage... :().

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #12 on: May 26, 2005, 09:55:11 am »
Hey, Bonk, I'm starting the section on legacy code and Invoking Window APIs. Maybe I'll run into somthing useful vis-a-vis launching SFC from a web page or server.

*fingers crossed*

Jerry

I think that will mostly relate to serverside api calls, but since its MS there may be some hooks in IE? ... (actually just have the asp script generate a windows script that downloads and runs?)

I still wanna figure out how to make a plugin for IE or Mozilla.

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #13 on: May 27, 2005, 09:27:58 am »
Hey, Bonk, I'm starting the section on legacy code and Invoking Window APIs. Maybe I'll run into somthing useful vis-a-vis launching SFC from a web page or server.

*fingers crossed*

Jerry

I think that will mostly relate to serverside api calls, but since its MS there may be some hooks in IE? ... (actually just have the asp script generate a windows script that downloads and runs?)

I still wanna figure out how to make a plugin for IE or Mozilla.

Darn darn darn, you're right. All server side. All my hopes for a quick and easy solution have been dashed...dashed I tell you. Looks like if we are going to get the functionality we have discussed before we're going to have to build an app from the ground up. Ok, so that gets put on the B list for now. :(

Jerry
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #14 on: September 22, 2005, 02:09:22 pm »
Not only is javascript silly, but java and the jre is silly beyond belief, it sucks big time!  >:(

Java sucks! It is totally idiotic, it is not platform independent as claimed, and has zero backward compatibilty, nor does it work very often, its memory management is atrocius.

I cannot wait till it dies the inevitable horrible death it deserves.

Java sucks! I hate java.

Oh, yeah did I mention Java sucks! WTF is Sun thinking? Fools...

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #15 on: September 22, 2005, 09:22:26 pm »
Not only is javascript silly, but java and the jre is silly beyond belief, it sucks big time!  >:(

Java sucks! It is totally idiotic, it is not platform independent as claimed, and has zero backward compatibilty, nor does it work very often, its memory management is atrocius.

I cannot wait till it dies the inevitable horrible death it deserves.

Java sucks! I hate java.

Oh, yeah did I mention Java sucks! WTF is Sun thinking? Fools...

Bawahahahaha...

C sharp. C sharp run...
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline MrCue

  • Site Designer
  • Lt.
  • *
  • Posts: 977
  • Gender: Male
  • Proud Father
    • Battleclinic
Re: I hate javascript menus!
« Reply #16 on: September 22, 2005, 10:13:39 pm »
If your complaining about the menu on this site... its nanerslugs work :P

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #17 on: September 23, 2005, 09:00:53 am »
If your complaining about the menu on this site... its nanerslugs work :P

Originally that's what I was complaining about on this thread, yes, but now I'm pissing and moaning about the jre and its totally bogus nature. Figured I'd rant about it here as its on the theme. Right now I have java up my craw because the MySQL Migration Toolkit fails to find the jre (1.5.0 or 1.4.2) on the Windows 2003 platform... grrrrrrrrrrrrrrrr! Double grrrrrrrr! I hate java, it sucks. Did I mention I hate java? Did I mention it sucks? And oh yeah, java sucks.  >:(

And yes Toasty0, c is the best platform independent language. (not c++ or c# though). Apache and php source compiles pretty easily on Windows, QNX, BeOS, FreeBSD, Slackware... java is a major step backwards.

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #18 on: September 23, 2005, 10:15:26 am »
If your complaining about the menu on this site... its nanerslugs work :P

Originally that's what I was complaining about on this thread, yes, but now I'm pissing and moaning about the jre and its totally bogus nature. Figured I'd rant about it here as its on the theme. Right now I have java up my craw because the MySQL Migration Toolkit fails to find the jre (1.5.0 or 1.4.2) on the Windows 2003 platform... grrrrrrrrrrrrrrrr! Double grrrrrrrr! I hate java, it sucks. Did I mention I hate java? Did I mention it sucks? And oh yeah, java sucks.  >:(

And yes Toasty0, c is the best platform independent language. (not c++ or c# though). Apache and php source compiles pretty easily on Windows, QNX, BeOS, FreeBSD, Slackware... java is a major step backwards.

I'm sure there is good reason you're not using a language--like the .Net family of languages--that is desinged for optimized performace on the Window's server system.
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #19 on: September 23, 2005, 11:49:08 am »
Because that application is written in java and I did not write it.

Myself I use php which runs quite consistently regardless of platform.

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #20 on: September 23, 2005, 09:36:12 pm »
Because that application is written in java and I did not write it.

Myself I use php which runs quite consistently regardless of platform.

Wish I could help you out rewritting the app but I'm just too freaking busy to learn another language right now. Learning C# (which I love btw), and ASP.NET and wrapping my pea sized noodle around managed code and DirecX is keeping me pretty well swamped.

 
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline E_Look

  • Grand High Scribe
  • Captain
  • *
  • Posts: 6446
Re: I hate javascript menus!
« Reply #21 on: September 24, 2005, 12:13:43 am »
Kvetch, kvetch, kvetch.

Try teaching a semester's worth of FORTRAN in three weeks and expect them to be able to write scientific programs.

I wonder what bald looks like; maybe that's why Dracula avoids mirrors.

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #22 on: September 24, 2005, 01:31:31 am »
Kvetch, kvetch, kvetch.

Try teaching a semester's worth of FORTRAN in three weeks and expect them to be able to write scientific programs.

I wonder what bald looks like; maybe that's why Dracula avoids mirrors.

For college credit?
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #23 on: September 24, 2005, 09:16:04 am »
Bonk--

Just for the helluva it I thought I take a quick look at your source on the forum page and was startled to see this first thing: <meta name="keywords" content="PHP, MySQL, bulletin, board, free, open, source, smf, simple, machines, forum" />

On a gaming board?

MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #24 on: September 24, 2005, 10:18:24 am »
That's built into SMF, I can't be bothered to modify all the templates just for that. Which updates would likely overwrite anyway.

And I'm not talking about the menus here anymore regarding javascript. I'm talking about the MySQL Migration Toolkit, which runs on Java. If you want to help with it check here:

http://dev.mysql.com/doc/migration-toolkit/en/index.html

(I have nothing to do with it)

I bitched about it here:
http://forums.mysql.com/list.php?104
and here:
http://forums.mysql.com/list.php?60
but only got smart assed replies.

And oh yeah, did I mention?: I hate java!  >:(

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #25 on: September 24, 2005, 10:31:10 am »
Interesting. I'll look at it more over my weekend.
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline E_Look

  • Grand High Scribe
  • Captain
  • *
  • Posts: 6446
Re: I hate javascript menus!
« Reply #26 on: September 24, 2005, 12:52:56 pm »
I won't look in a mirror for credit; but I'll do it for real money.

Oh, you mean the kids?  Uh, no.  They've got to finish up and do all the CHEMISTRY before they get any credit.  The programming is *supposed* to make it easier.  It's going to kill me to hold my laughter in for months on end.   ;D

Offline Sarek

  • Commander
  • *
  • Posts: 2553
Re: I hate javascript menus!
« Reply #27 on: September 24, 2005, 12:58:11 pm »
If your complaining about the menu on this site... its nanerslugs work :P

Originally that's what I was complaining about on this thread, yes, but now I'm pissing and moaning about the jre and its totally bogus nature. Figured I'd rant about it here as its on the theme. Right now I have java up my craw because the MySQL Migration Toolkit fails to find the jre (1.5.0 or 1.4.2) on the Windows 2003 platform... grrrrrrrrrrrrrrrr! Double grrrrrrrr! I hate java, it sucks. Did I mention I hate java? Did I mention it sucks? And oh yeah, java sucks.  >:(

And yes Toasty0, c is the best platform independent language. (not c++ or c# though). Apache and php source compiles pretty easily on Windows, QNX, BeOS, FreeBSD, Slackware... java is a major step backwards.

The problem with C is that it requires compling.  How do you deliver an application that to install only requires inserting a CD, clicking on "Next" a few times, clicking "Install" and then "Finish", and is platform independent?
Remember, democracy never lasts long. It soon wastes, exhausts, and murders itself. There never was a democracy yet that did not commit suicide.  – John Adams (1814)


www.lp.org




Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #28 on: September 24, 2005, 01:26:15 pm »
The problem with C is that it requires compling.  How do you deliver an application that to install only requires inserting a CD, clicking on "Next" a few times, clicking "Install" and then "Finish", and is platform independent?

Not by using Java, I know that much.  :P  (which needs compiling too).

C apps will run on anything. Java is very limited and changes way too much way too often. No backward compatibility is just plain unacceptable.

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #29 on: September 24, 2005, 04:53:35 pm »
That's built into SMF, I can't be bothered to modify all the templates just for that. Which updates would likely overwrite anyway.

And I'm not talking about the menus here anymore regarding javascript. I'm talking about the MySQL Migration Toolkit, which runs on Java. If you want to help with it check here:

http://dev.mysql.com/doc/migration-toolkit/en/index.html

(I have nothing to do with it)

I bitched about it here:
http://forums.mysql.com/list.php?104
and here:
http://forums.mysql.com/list.php?60
but only got smart assed replies.

And oh yeah, did I mention?: I hate java!  >:(


Did you check those last two links using IE6? I keep getting page faults or a complete freeze of IE when linking through to them. Do they have some sort of activeX pw protection going?
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #30 on: September 24, 2005, 05:00:30 pm »
Nope didnt check in IE... using Firefox exclusively nowadays.

Maybe try getting there through: http://forums.mysql.com/

(I posted in the "MySQL Migration Toolkit" and "Microsoft SQL Server" forums.)

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #31 on: October 04, 2005, 07:49:03 pm »
Here's the solution:

The Migration Toolkit must be installed to the default of:

C:\Program Files\MySQL\MySQL Migration Toolkit 1.0

No other location will work. What a pain.  ::)

Offline toasty0

  • Application.Quit();
  • Captain
  • *
  • Posts: 8045
  • Gender: Male
Re: I hate javascript menus!
« Reply #32 on: October 05, 2005, 10:47:10 pm »
Try some cool DHTML or XHTML...

 ;D
MCTS: SQL Server 2005 | MCP: Windows Server 2003 | MCTS: Microsoft Certified Technology Specialist | MCT: Microsoft Certified Trainer | MOS: Microsoft Office Specialist 2003 | VSP: VMware Sales Professional | MCTS: Vista

Offline Bonk

  • Commodore
  • *
  • Posts: 13298
  • You don't have to live like a refugee.
Re: I hate javascript menus!
« Reply #33 on: October 06, 2005, 11:51:46 am »
Try some cool DHTML or XHTML...

 ;D

Much better options, but inevitably tied to javascript in most implementations.