|
Jörgen Sigvardsson wrote:
Am I doing something wrong?
Unfortuantley not.
Here is an explanation of your problem.
The long and short of it is that the only workaround is to put dropdowns in IFrames or normal Frames, which is hardly a solution. Drop down lists are treated differently and cannot have a Z-Index assigned to them.
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
Paul Watson wrote:
Unfortuantley not
I found this out a bit later on too.
IFrames or Frames is not a solution for me at all. I'm basically doing an ASP.NET ripoff using javascript and jsp/j2ee. An IFrame or Frame would be really tricky for me to even consider maintaining state.
I've done one of the two suggestions made by the KB (yes, Microsoft has known about this a long time now! ). Their best solution was to create a popup window which I could put my HTML in. But I couldn't use it anyway since the content is of variable size - the popup only support fixed sizes. Their second, last and ugly solution is to hide all select-elements when showing the floating div. Without any other feasible option, I had to bite the bullet. I will have to redesign the UI radically later on, just because of a simple stupid bug Microsoft should have fixed a looooong time ago.
Maybe I should have a rant in the soapbox now...
--
This space for rent.
|
|
|
|
|
I created a button in my site, with a color (made color- in the CSS file).
It showed up fine in the local-server when I saw using IE/Netscape usinf IIS.
The thing began bad when hosted. It shows default color when in the site-http://. Its ok in Netscape and not in IE.
Any changes to be made for my site to display correct colors??
|
|
|
|
|
SPS wrote:
Its ok in Netscape and not in IE.
This indicates that you have written some non standard CSS or HTML. Please can you post both the HTML part showing the INPUT using the CSS class as well as the CSS class itself, then we can help.
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
Am on vacation 2day.....
Will send the stuffs 2morrow....
I started with nothing,
And I still have lots of it left with me.
|
|
|
|
|
The line in CSS file....
.myButton { COLOR: #000080; font-weight:bold; HEIGHT: 30px; BACKGROUND-COLOR: #FFE1C4 }
.
.
.
My HTML Code ....
...
...
Whats the problem??
I started with nothing,
And I still have lots of it left with me...
- SPS
|
|
|
|
|
SPS wrote:
Whats the problem??
Well the code you posted is fine, works fine here in isolation. CSS though, like most languages, can fall over from some previous class definitions and that then affects others. Post the whole CSS file.
Also are other CSS classes working?
Paul Watson Bluegrass Cape Town, South Africa Christopher Duncan wrote:
Which explains why when Santa asked, "And what do you want for Christmas, little boy?" I said, "A life." (Accesories sold separately)
|
|
|
|
|
Paul Watson wrote:
Also are other CSS classes working?
I guess... they r working
Will copy-paste the contents of my css file......
------------------
h1 {font-family: Verdana; color: navy; font-size: 18pt; font-style: italic; text-align: center; }
h2 {font-family: Verdana; color: navy; font-size: 14pt; font-style: italic; text-align: center; }
h3 {font-family: Verdana; color: navy; font-size: 12pt; font-style: italic; }
h4 {font-family: Verdana; color: black; font-size: 12pt; }
h5 {font-family: Verdana; color: black; font-size: 10pt; }
p {font-family: Verdana; color: black; text-align: justify; font-size: 10pt; }
.lnk {font-family: verdana; color: black; font-size: 10pt; }
.biglnk {font-family: verdana; color: navy; font-size: 10pt; TEXT-DECORATION: none }
.biglnk:hover {font-family: verdana; color: red; font-size: 10pt; TEXT-DECORATION: underline }
.boldlnk {font-family: verdana; color: navy; font-weight: bold; font-size: 12pt; TEXT-DECORATION: none }
.boldlnk:hover {font-family: verdana; color: red; font-weight: Bold; font-size: 12pt; TEXT-DECORATION: underline }
.footlnk {font-family: verdana; color: navy; font-size: 8pt; TEXT-DECORATION: none }
.footlnk:hover {font-family: verdana; color: red; font-size: 8pt; TEXT-DECORATION: underline}
.shead {font-family: verdana; color: black; font-weight: bold; font-size: 10pt; }
.wbld {font-family: verdana; color: white; font-weight: bold; font-size: 10pt; }
oldtbody
{
scrollbar-base-color: #FFF5EC;
scrollbar-arrow-color: black;
scrollbar-track-color: #CADBFF;
scrollbar-shadow-color: black;
scrollbar-lightshadow-color: black;
scrollbar-darkshadow-color: white;
scrollbar-highlight-color: white;
scrollbar-3dlight-color: black;
}
.myButton { COLOR: #000080; font-weight:bold; HEIGHT: 30px; BACKGROUND-COLOR: #FFE1C4 }
ol { font-family: Verdana; font-size: 10pt}
td { font-family: Verdana; font-size: 10pt}
---------------------------------------
I repeat.... it works fine in IE6, when I locally test in my PC http://localhost... but not when in the http://.....
I started with nothing,
And I still have lots of it left with me.
|
|
|
|
|
SPS wrote:
I repeat.... it works fine in IE6, when I locally test in my PC http://localhost... but not when in the http://.....
Oh.
Ok one last thing: Paste the code in your HTML file which links to the CSS file.
We are getting closer
Paul Watson Bluegrass Cape Town, South Africa Christopher Duncan wrote:
Which explains why when Santa asked, "And what do you want for Christmas, little boy?" I said, "A life." (Accesories sold separately)
|
|
|
|
|
Paul Watson wrote:
Paste the code in your HTML file which links to the CSS file
U mean.. put the piece of CSS in my ASP file itself??
I started with nothing,
And I still have lots of it left with me.
|
|
|
|
|
SPS wrote:
U mean.. put the piece of CSS in my ASP file itself??
No, I mean paste the HTML file here on CP so I can have a look at it
Paul Watson Bluegrass Cape Town, South Africa Christopher Duncan wrote:
Which explains why when Santa asked, "And what do you want for Christmas, little boy?" I said, "A life." (Accesories sold separately)
|
|
|
|
|
Will do it later....
Cant out the whole file here.... a big file. So, will put the part of the HTML page.....
PAUL!!! Something found strange here... I tried to open the page, I am using IE 5 here... the page displays the button with color properly... anything to do with the IE6???
Part of the code................
---------------------------------------------
-----------------------------------------------
I started with nothing,
And I still have lots of it left with me.
|
|
|
|
|
Hi, everyone!
I want to encrypted the data in a html form
sent to a JSP/Servlet (using POST method).
For example, password.
How to do it? Are there some sample codes or
guides?
Cheers,
George
|
|
|
|
|
This will require using SSL with the HTTP server, whether it be IIS, Apache, Zeus etc. There are many guides for installing SSL certificates across the Internet (I'd recommend Google as ever).
There's really no other better way of doing it.
--
Paul
"If you can keep your head when all around you have lost theirs, then you probably haven't understood the seriousness of the situation."
- David Brent, from "The Office"
MS Messenger: paul@oobaloo.co.uk
Sonork: 100.22446
|
|
|
|
|
Thanks, Paul pal!
Your reply is very helpful! I have rated it.
Do you have some guides on Apache and SSL?
I am a newbie, so I want you to help me out.
Cheers,
George
|
|
|
|
|
|
|
I am interested in reading a database with ASP.net and then feeding the results into javascript. Is it possible to do this directy... How can i pass the results of an ASP function to a javascript function?
Thanks...
|
|
|
|
|
What is it your attempting to accomplish? Look at the RegisterArrayDeclaration function, this might give you are starting point.
gekoscan wrote:
How can i pass the results of an ASP function to a javascript function
You can't. ASP is processed on the server, javascript is processed on the server. You would need to write the return value into the javascript before it gets rendered to the page.
string strBar = "function MyJavaFoo(" + MyFoo() + ")";
RegisterClientScriptBlock(strBar);
You get to figure out what is missing from above code.
|
|
|
|
|
gekoscan wrote:
How can i pass the results of an ASP function to a javascript function?
One important thing to remember in web development is that all you ever send back to the client from the server is text. Nothing more. The server does not care whether that text represents HTML, CSS, JavaScript or a soft pron film script.
How this helps you is that you do not have to do anything different when you want to send back JavaScript as opposed to HTML.
So you can have the following in your ASP:
...
<script language="javascript">
<%
For X = 0 to 100
Response.Write "var i" & X & " = " & (X * 100) & ";"
Next
%>
</script>
...
That will then send text back to the client which the browser will interpret as being a block of JavaScript which has 101 variables (named i1, i2, i3, etc.) and being assigned a value.
This technique once realised is quite powerful.
Paul Watson Bluegrass Cape Town, South Africa Colin Davies wrote:
...can you imagine a John Simmons stalker !
|
|
|
|
|
Hi CPians,
My IIS won't start and I get "HTTP 500 - Internal server error" always.
I got IIS 5.1 installed on Windows XP Pro with SP1.
Even http://localhost gives the same error. When I turned off the "Friendly error messages" option in IE, I get "Server Error - Bad URL"
I logged into my computer as an admin.
Default Web Site -> Properties -> Directory Security (tab) -> Edit (Anonymous Access and Authentication Control) -> cleared the checkbox (Anonymous Access)
Could you guys give me some points where to start to fix this problem?
BTW, I got Visual Studio .NET installed with C#.NET and installed ASP.NET (via aspnet_regiis.exe)
thanks
Kant
Sonork-100.28114
|
|
|
|
|
I'm trying to enumerate all <embed> tags in a page by using IHTMLDocument3::getElementsByTagName() and IHTMLElement::getElementsByTagName() (calling that on the <body> element), but both are returning an empty list. Is getElementsByTagName() just plain b0rked or is "embed" handled specially?
This is on IE6 if it matters.
--Mike--
"Adventure. Excitement. A Jedi craves not these things."
-- Silent Bob
1ClickPicGrabber - Grab & organize pictures from your favorite web pages, with 1 click!
My really out-of-date homepage
Sonork-100.19012 Acid_Helm
|
|
|
|
|