473,796 Members | 2,426 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Code Samples

Drop Down Menu

Mozilla : work well widowed elements such as drop downs, except for flash
movies
IE : work well so far

http://pwp.netcabo.pt/falmartins/index.htm

Sep 6 '05 #1
25 2352
Delta wrote:
Drop Down Menu
http://pwp.netcabo.pt/falmartins/index.htm


* Breaks in Opera
* Breaks in Konqueror
* Abuses tables for layout
* Invalid markup
* Appears to be immune to keyboard control.
* No links if CSS available but JS not.
* Impossible to work out the difference between a menu heading and a real
link in a text browser

Not something I would recommend to anybody.
--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Sep 6 '05 #2
"David Dorward" <do*****@yahoo. com> wrote in message
news:df******** ***********@new s.demon.co.uk.. .

* Breaks in Opera
* Breaks in Konqueror

don't have all browsers of the world installed on my PC
* Abuses tables for layout
just because I want it full compatible with VB.NET/ASP.NET

* Invalid markup
* Appears to be immune to keyboard control.
My mouse does everything
* No links if CSS available but JS not.
* Impossible to work out the difference between a menu heading and a real
link in a text browser

Not something I would recommend to anybody.


for beginners should be helpful, not for experts
Sep 6 '05 #3
Delta said the following on 9/6/2005 6:10 PM:
"David Dorward" <do*****@yahoo. com> wrote in message
news:df******** ***********@new s.demon.co.uk.. .
* Breaks in Opera
* Breaks in Konqueror
don't have all browsers of the world installed on my PC


Considering that Opera is the #3 Browser for an MS based PC, for someone
that is attempting to give free code samples, you should have it
installed. www.opera.com
* Abuses tables for layout

just because I want it full compatible with VB.NET/ASP.NET


You need a better server setup then if your server dictates that you
abuse tables for layout.
* Invalid markup
* Appears to be immune to keyboard control.

My mouse does everything


Evidently it doesn't do your thinking for you. Or, can you tell me how
to plug a mouse into my web-browser capable cell phone?
* No links if CSS available but JS not.
* Impossible to work out the difference between a menu heading and a real
link in a text browser

Not something I would recommend to anybody.

for beginners should be helpful, not for experts


Not even helpful for beginners if it's going to teach more bad habits
than good.
--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Sep 6 '05 #4
"Randy Webb" <Hi************ @aol.com> wrote in message
news:lr******** ************@co mcast.com...

You need a better server setup then if your server dictates that you abuse
tables for layout.


And how do you do a ASP.NET drop-down menu with Web Forms Links that you
can enable/disable ? where some of the menu items should be disabled by
checking users privileges ?

So I made a table for each menu option, and I can change each menu link with
a WebForm Control in design mode (VB.NET)

Sep 6 '05 #5
Delta wrote:
Drop Down Menu

Mozilla : work well widowed elements such as drop downs, except for flash
movies
IE : work well so far

http://pwp.netcabo.pt/falmartins/index.htm


Try this one
http://www.drclue.net/projects/jsDHT...sMenuTest.html

It uses XML , so if one (i have not ) included a link to the XML file
then google , and screen readers for the blind (JAWS/Homepage) or those
w/o js could still read/spider.

But heck , yours still looked like a menu so kudos for making that far,
keep up your efforts and perhaps even the ney-sayers who could not code
even what you have might be silenced.
--
--.
--=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML/CSS,Javascript, TCP ...
--`
Sep 6 '05 #6
Randy Webb wrote:
Considering that Opera is the #3 Browser for an MS based PC, for someone
that is attempting to give free code samples, you should have it
installed. www.opera.com


Opera probably could do better too.
Being the supposed champions of standards , hiding CSS from
javascript don't help.

In order for me to connect CSS to javascript in Opera
I have to use HTTP , a proxy and a parser as opposed to
the 24 lines of js code that handles everyone else.

I've never been a browser racist , but Opera is a development
pig costing more time than all the other browsers combined.

I continue to make the effort for Opera, but IMHO
Opera has consistantly denied itself market share through no
fault but their own.

--
--.
--=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML/CSS,Javascript, TCP ...
--`
Sep 6 '05 #7
Dr Clue wrote:
Delta wrote:
Drop Down Menu
<snip> Try this one

http://www.drclue.net/projects/jsDHT...jsMenuTest.htm
l

It doesn't cope that well if/when the user increases the font size.

Richard.
Sep 7 '05 #8
Richard Cornford wrote:
Dr Clue wrote: <snip> http://www.drclue.net/projects/jsDHT...jsMenuTest.htm
l

It doesn't cope that well if/when the user increases the font size.


Your correct in that regard , but in order to allow
free-form content the menu needs to measure the size results
of the rendered content.

It's almost too much to do so on a single load , much less a multiple
size change in a single session.

I'm open to suggestions , got any?

--
--.
--=<> Dr. Clue (A.K.A. Ian A. Storms) <>=-- C++,HTML/CSS,Javascript, TCP ...
--`
Sep 7 '05 #9
Dr Clue wrote:
Richard Cornford wrote:
It doesn't cope that well if/when the user increases the
font size.


Your correct in that regard , but in order to allow
free-form content the menu needs to measure the size results
of the rendered content.

It's almost too much to do so on a single load , much less a
multiple size change in a single session.

I'm open to suggestions , got any?


I have seen enough menus that do take account of the user
configurability of web browsers to be fairly sure it can be done (at
least on modern dynamic visual browsers, and viable clean degradation
provided for the others). It might be worth going into the perceived
issues that make you think it difficult.

Richard.
Sep 7 '05 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
1547
by: I Decker | last post by:
Hello All, I wonder if somebody can help. When programing in dotnet (c#), I have created an additional tab on my toolbox. I have called this tab 'Code Samples'. Into this tab I drag lots of commonly used chunks of code. I am then able to drag them back into my projects whereever needed. This works kind of like the clipboard ring, however the samples do not get removed at a restart etc, but instead always remain available. They are also...
2
1313
by: jm | last post by:
I got the code below from the .NET SDK. I am still new to C# and I don't understand how the code works. And by that I mean I don't understand how the program knows to execute it. I can find no entry point besides main. I cannot find an event that calls the code. It is a simple GDI+ application. I just don't see how it ever executes. I need nothing about the code itself, just how the thing "turns on." I don't ever see OnPaint called...
6
5517
by: Paolo Pignatelli | last post by:
I have an aspx code behind page that goes something like this in the HTML view: <asp:HyperLink id=HyperLink1 runat="server" NavigateUrl='<%#"mailto:" &amp; DataBinder.Eval(Container.DataItem,"StoreEmail") &amp; "&amp;Subject=" &amp; DataBinder.Eval(Container.DataItem,"ProductName") ....
19
2284
by: Swaregirl | last post by:
Hello, I would like to build a website using ASP.NET. I would like website visitors to be able to download code that I would like to make available to them and that would be residing on my personal server. Are there any code samples or books that someone can recommend so that I can implement this. I would prefer VB.NET code, but I am willing to convert from C# if necessary.
3
1890
by: David Allison | last post by:
I have written a Login page which initializes a session. I am trying to display a message to the user letting them know that the session is intializing. I would ideally like to load a page that displays while the query is running. Any ideas on how to accomplish this? I have tried to add webforms and user their page load events to launch my code but that does not work. From...
6
1474
by: GaryDean | last post by:
I need to be able to change the background color of a page from code. I found an answer to this question in another forum from Peter Huang that said that an id="bg" as follows... <body MS_POSITIONING="GridLayout" runat="server" id="bg"> then we could do the following in our codebehind file.... Private Sub Page_Load(sender As Object, e As System.EventArgs) bg.Attributes.Add("BgColor", "#ff9933")
12
4554
by: GaryDean | last post by:
In the original post I failed so indicate that I am using framework 1.1....... I need to be able to change the background color of a page from code. I found an answer to this question in another forum from Peter Huang that said that an id="bg" as follows... <body MS_POSITIONING="GridLayout" runat="server" id="bg"> then we could do the following in our codebehind file....
10
1840
by: Jim Hubbard | last post by:
I purchased Infragistics NetAdvantage 2006 Volume 1 CLR 2.0 and was mildly shocked to see no sample apps included that showed the code/settings required to replicate the UI components shown in the screenshot galleries on their website. Did I miss something?
0
1284
by: Jordi | last post by:
I'm making a feature-file to train a Neural Network, but now that I've added a new feature, the output becomes corrupted. The output is as follows: 3000 25 1_002858 5 0 0 0 0 2 2 0 0 0 0 2 2 0 0 0 0 0 4 0 0 0 0 0 4 5_002671 2 1 1 0 0 0 0 0 0 1 2 0 0 0 2 1 0 0 0 0 3 0 0 0 1 7_001096 0 0 0 0 3 0 0 0 0 2 0 0 0 0 2 0 0 0 0 2 2 2 2 2 3 7_003394 0 0 1 0 0 0 0 1 0 0 1 1 2 2 0 0 0 0 1 0 2 1 1 1 3 2_003185 2 4 2 2 2 2 0 2 0 0 0 0 1 0 0 0 0 1 0 0...
1
8705
by: tee_huipeng | last post by:
hi: i got the source code of autocorrelation (AC) for a frame (for example: 600 samples out of 40000 samples) of a signal. Can anyone show me the AC code for the whole 40000 samples which means continuosly analyse every 600 samples up to the 40000th samples, so that the result would be stored in an array. i need this for pitch tracking.
0
10456
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10230
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10012
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9052
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6788
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5442
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5575
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4118
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
2926
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.