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

0 Members and 5 Guests 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.