473,804 Members | 2,141 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
25 2355
Delta wrote:
"David Dorward" <do*****@yahoo. com> wrote in message
news:df******** ***********@new s.demon.co.uk.. .
If there isn't a library built it that gives sane output, then I'd find a
third party library or write my own from scratch. Rendering a menu with
some options dependent on the uid isn't exactly a complicated task!

Do you know
I haven't a clue what your response has to do with the material you quoted.
that almost every good looking professional menus
has a very peculiar feature :

Auto hide window elements, including Flash, Selected box, IFRAME, and etc.

Did you saw that my sample doesn't have that problem ?
No, I didn't see that. Your sample broke so horribly that it was entirely
unusable.
so it isn't that so bad and useless for people, and a uid full intregated
with menus isn't exactly a simple task


No, it is a simple task - just so long as your JavaScript is expecting sane
markup. It is just a question of adding and removing list items. The rest
will flow naturally.

--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Sep 9 '05 #21
"David Dorward" <do*****@yahoo. com> wrote in message
news:df******** ***********@new s.demon.co.uk.. .

No, it is a simple task - just so long as your JavaScript is expecting
sane
markup. It is just a question of adding and removing list items. The rest
will flow naturally.


Well, ok, you know much more dan I do, I'm not an expert, I did my best

What is a markup ? i.e, when you said this :

"* Invalid markup"

what does it mean ? where can I define a VALID markup and how does it looks
like ?

thank you
Sep 10 '05 #22
Delta said the following on 9/10/2005 12:29 PM:
"David Dorward" <do*****@yahoo. com> wrote in message
news:df******** ***********@new s.demon.co.uk.. .
No, it is a simple task - just so long as your JavaScript is expecting
sane
markup. It is just a question of adding and removing list items. The rest
will flow naturally.

Well, ok, you know much more dan I do, I'm not an expert, I did my best

What is a markup ? i.e, when you said this :

"* Invalid markup"

what does it mean ? where can I define a VALID markup and how does it looks
like ?


<URL: http://validator.w3.org/ >

--
Randy
comp.lang.javas cript FAQ - http://jibbering.com/faq & newsgroup weekly
Sep 10 '05 #23
"Randy Webb" <Hi************ @aol.com> wrote in message
news:04******** ************@co mcast.com...

<URL: http://validator.w3.org/ >


I had submited my page and the result was : Failed validation

How can I fix that ? use simple english because I don't know what a markup
is, is something that I use in the <header> tag ?

I'm just a beginner level 2 :)


Sep 10 '05 #24
Delta wrote:
What is a markup ?
Markup refers to the sequence of characters or other symbols that you insert
at certain places in a text or word processing file to indicate how the
file should look when it is printed or displayed or to describe the
document's logical structure. The markup indicators are often called
"tags."
-- http://www.softwareag.com/xml/about/glossary.htm

Special codes in a document that specify how parts of it are to be processed
by an application. In a word-processor file, markup specifies how the text
is to be formatted; in an HTML document, the markup specifies the text's
structural function (heading, title, paragraph, etc.).
-- http://web.mit.edu/hotmetal_v2.0/www/Chapter14.html

HTML is the HyperText Markup Language.
"* Invalid markup"

what does it mean ?


http://www.cs.tut.fi/~jkorpela/html/validation.html

--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Sep 10 '05 #25
Delta wrote:
I had submited my page and the result was : Failed validation

How can I fix that?


You look at each error message in turn, in this case its a little unusual as
the error indicates that the program couldn't read the markup as the error
were at a lower level:

Sorry, I am unable to validate this document because on line
162, 179, 216, 226, 235 it contained one or more bytes that
I cannot interpret as utf-8 (in other words, the bytes found
are not valid values in the specified Character Encoding).
Please check both the content of the file and the character
encoding indication.

Looking at the http headers, it looks like your server is failing to send
any character encoding information with the document (so the validator
seems to be assuming UTF-8). Some guesswork and trial and error makes it
look like your document is encoded using windows-1250.

http://www.w3.org/International/O-HTTP-charset explains how to configure a
number of different servers (including your IIS server) to include the
character encoding information.

--
David Dorward <http://blog.dorward.me .uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Sep 10 '05 #26

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

Similar topics

0
1548
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
5527
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
1475
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
4555
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
1841
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
9714
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10600
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...
1
10351
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10096
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...
1
7638
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6866
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();...
1
4311
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
2
3834
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
3002
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.