|
Tweety wrote:
And I call it as :-
Well I am not sure about what you are trying to do actually. Why detect for a ENTER key-event when it is on a button which already accepts ENTER? What are you trying to do? Stop people using the mouse to subscribe?
Anyway, your code works fine on my Mac (no modifications except commenting out the function and element calls I don't have.) I am running IE5.0 on Mac OS 9.0.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
Simon Walton wrote:
"You come across a lot of people who call themselves realists, when they are actually pessimists attempting to look intelligent."
|
|
|
|
|
Paul Watson wrote:
I am running IE5.0 on Mac OS 9.0.
You haven't upgraded to Mac OS X yet? ;)
Jeremy Falcon
Imputek
<nobr>"C# is the answer to a question nobody asked." - Chris Losinger
|
|
|
|
|
Jeremy Falcon wrote:
You haven't upgraded to Mac OS X yet?
LOL.
It is an iMac (old style) which we use maybe once a week for Mac testing.
Though I must admit I have been lusting after the latest iMac and that new Mac OS X Jaguar. That is one awesome OS.
Oh and don't forget the iPod... mmmmnnnnn
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
Simon Walton wrote:
"You come across a lot of people who call themselves realists, when they are actually pessimists attempting to look intelligent."
|
|
|
|
|
Hi,
This is probably a really stupid question. I've set up IIS under XP to point at another folder other than wwwroot (not that it should matter). Then using another account (with non-admin priveleges), I'm trying to use Interdev to create a 'solution' and edit my site locally, except Interdev is refusing to do it and giving some error message (which isn't all that helpful). What am I missing out on? The usual searches have drawn a blank so far...
Cheers,
Barry.
|
|
|
|
|
Make sure the new folder that you are using is listed within IIS as a virtual directory.
Nick Parker
|
|
|
|
|
Thanks Nick,
The part of the problem was 'user error'
It says at the top of interdev 'must have frontpage extensions installed'. Guess what?
Then I had to do the virtual directory thing
Who'd think MS stuff works straight out of the box eh?
Cheers,
Barry.
|
|
|
|
|
I've made a simple ASP.Net web application and
When i run the project without making any changes to it
it gives the following error message:
ERROR:error while trying to run the project. unable to start debugging on the web server. The server does not support debugging of ASP.Net applications or ATL server. Run setup to install .Net server components. If setup has been run verify that a valid URL has been specified.
I have run the setup again to reinstall server components.
and now they are installed successfully but the problem is still there. no Web application is running.
Please help!!
|
|
|
|
|
Anonymous wrote:
error while trying to run the project. unable to start debugging on the web server. The server does not support debugging of ASP.Net applications or ATL server. Run setup to install .Net server components. If setup has been run verify that a valid URL has been specified.
Aish, you need to give the ASP.NET Debugger user the neccesary rights. I can't remember the details, but go to MSDN.microsoft.com and search on that topic, it is all there. By default the user is not all-powerful so as to tighten up security.
You do not need to reinstall the .NET Framework or ASP.NET or anything, just the users rights.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
Simon Walton wrote:
"You come across a lot of people who call themselves realists, when they are actually pessimists attempting to look intelligent."
|
|
|
|
|
I think it's under properties | home directory | configuration | debugging
[] Enable ASP server-side script debugging
Todd Smith
|
|
|
|
|
i programed an email online system, that get the emails from the pop3 server and write them into a database.
everything works fine- but sometimes, i got emails, that do not show the content (body text), but instead have an attachment like: .msg or win.dat ...
what did i wrong and how can i show the body text of this emails ?
have anybody also had this kind of problem???
please help!!!
thank you to all answers!!!
|
|
|
|
|
I may be trying to pass a three dollar bill here...
I have a simple user control (i.e. small login form: UserName/Password Text boxes & submit button).
I would love to be able to pass the control a style or stylesheet that wouls specify the font charactics etc to use on the control (to make it a bit more re-useable across a few sites).
Any suggestions?
Mike Stanbrook
mstanbrook@yahoo.com
|
|
|
|
|
If you set the class to use for the controls in question, label, textbox, etc., they will assume that style if the stylesheet is inlcuded in the parent page.
Alternatively you can pass parameters to your control that would set the styles properly.
|
|
|
|
|
hello everybody !
I need a project for registeration of the students and their billing of the fess of the courses for all the centres of an Institution accross country...
can anybody please help me???
please contact me....plz !!!
|
|
|
|
|
Can you give more specifics, like platform, langauges, and is this volunteer project or paid. Sounds like a big project for a homework assignment.
Soliant | email
"The whole of science is nothing more than a refinement of everyday thinking." -Albert E.
|
|
|
|
|
How can I force a bar to sit at the bottom of the page, I currently have a table, but it won't sit at the very bottom of the page unless the page contents requires the usage of the scroll bar at the bottom. Does this make sense? Here is what I have, however again it doesn't always work the way I want it to. Any ideas?
<table valign="bottom" border="0" width="100%" cellspacing="0" cellpadding="0">
<tr>
<td valign="bottom" style="height:20" bgcolor="#6699CC" cellspacing="0" cellpadding="0" width="100%"/>
</tr>
</table>
Nick Parker
|
|
|
|
|
Try sth like this:
<html>
<body>
<table height="100%>
<tr valign="top"><td valign="top" bgcolor="red" height="100%">Page!</td></tr>
<tr><td bgcolor="orange">this is at the bottom!</td></tr>
</table>
</body>
</html>
This will work!
Ñ There is only one MP Ð
|
|
|
|
|
Nick, in my experience Netscape (4.x at least) is very, very finicky about the height attribute. Maciej's post will work, but depending on what other elements you have in the document, NS may or may not decide to display that properly because NS 4.x's height calculations are dumb IMO. What I usually do to ensure a bar is always at the bottom is use nested tables.
Example...
<body bgcolor="#FFFFFF" topmargin="0" leftmargin="0" marginwidth="0" marginheight="0">
<table width=100%" height="100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign="top">Top Bar!</td>
</tr>
<tr>
<td valign="bottom">
<table bgcolor="#6699CC" width=100%" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>Bottom Bar!</td>
</tr>
</table>
</td>
</tr>
</table>
</body> This will ensure it always looks like it's supposed to in Netscape.
Jeremy Falcon
Imputek
<nobr>"C# is the answer to a question nobody asked." - Chris Losinger
|
|
|
|
|
Nick Parker wrote:
Any ideas?
Use JavaScript and a DIV, TABLEs are bad. If'n I ever catch you using TABLEs to layout your HTML I will tell your mum.
<html>
<head>
<script language="javascript">
function alignFooter(){
document.all.footer.style.top = (document.body.clientHeight - 21);
}
</script>
</head>
<body onload="alignFooter();" style="padding: 0px; margin: 0px; border: 0px;">
<div id="footer"
style="padding-left: 5px;
position: absolute;
height: 20px;
border: 1px solid #000000;
width: 100%">
Footer Content
</div>
</body>
</html>
Naturally is not 100% in all browsers, but you can add in the cross-browser code quit easily (not that you should.)
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
Simon Walton wrote:
"You come across a lot of people who call themselves realists, when they are actually pessimists attempting to look intelligent."
|
|
|
|
|
<title>Demo
Keep Smiling... )
|
|
|
|
|
WebRavi wrote:
Yes your's works but TABLEs are not for laying out your page, they are for tabular data.
My 2 cents
|
|
|
|
|
I'm using VBScript to generate some formatting code in an HTML page. When I
MouseOver an area of the screen, I want to change some caption somewhere
(enclosed in a SPAN tag) in order to provide a description of what clicking
on that area will cause to happen (kinda like the text on a Windows app's
status bar). I'm displaying a GIF (strGIF) and a string (strDesc) in a
table (for proper formatting):
strOnMouseOver = "idDesc.innerHTML=" + chr(34) + _
"" + _
"" + _
"" + _
"" + _
"" + _
"" + _
"" + chr(34)
This string, in turn, is used in a table cell:
strCell = "" + _
"Click me" + _
""
[...]
Document.Write( strCell )
[...]
Here's the problem--I generally surround all attribute values by quotes
(either single or double, as it's generally good practice), however in this
case I had to remove them all in the strOnMouseOver string, because that
string itself eventually gets embedded within single quotes
(onmouseover='[whatever]' in strCell). If I add them back, the parser ends
up "seeing" something like:
onmouseover='idDesc.innerHTML=""'
...then of course the first quote surrounding the 0 above is paired up with
the very first quote (just before idDesc--it's intrepreted as the closing
quote).
I'm fortunate enough (for now) that this works simply by leaving out the
quotes, but that's just dumb luck. What if the path to the IMG above
contained a space? That'd throw everything off; whatever came after the
space would be interpreted as the next attribute. I *need* to have the IMG
tag's SRC attribute using quotes.
How can I do this? I've tried using ", chr(34) and chr(39) in various
combinations, to no avail. Is there any way in VBScript to escape single or
double quotes so it'd work in this context?
(the code pasted above might be a bit difficult to read using a
proportional-spaced font, so you might want to paste it back in something
like Notepad using a fixed-sized font)
|
|
|
|
|
try using two double qoutes, that's generally used in VBScript... so:
mystring = "<table width=""10""></table>"
that will probably give the desired result, however i would consider getting your results differently
/\ /\
\/\ /\/
\o/ uritsukidoji \o/
\=--------------=/
|
|
|
|
|
You need to use double quotes around the attribute value, and replace any double quotes within the value with " :
stronmouseover = Chr(34) & "idDesc.innerHTML="" & _
"<table BORDER='0' CELLSPACING='0' CELLPADDING='0'>" & _
"<tr>" & _
"<td><img SRC='../../icons/" & Replace(strGIF, Chr(34), """) & "'></td>" & _
"<td WIDTH='5'></td>" & _
"<td>" & Replace(strDesc, Chr(34), """) & "</td>" & _
"</tr>" & _
"</table>"" & Chr(34)
strCell = "<td HEIGHT='23'" & _
" WIDTH='70'" & _
" ALIGN='RIGHT'" & _
" VALIGN='BOTTOM'" & _
" BGCOLOR=" & Chr(34) & Replace(strColor, Chr(34), """) & Chr(34) & _
" onmouseover=" & stronmouseover & _
" onmouseout=" & stronmouseout & _
" onclick=" & strClickEvent & ">Click me" & _
"</td>"
|
|
|
|
|
i got the following problem:
everytime, i read out an email (i think it was sent by outlook), the body isn't shown. instead of the body, there is an attachment (Always .msg), that i cannot open... but i think, that the body is in this .msg (=message???)...
but anyway- i dont want to have an attached file, i want to show the content of that file to the webpage.. has anyone an idea???
|
|
|
|
|
I created a User Control that transforms XML using XSL. (The XSL stylesheet is in a file.) Now this control is to be used for different projects. What is the best thing to do?
(1) Just keep the User Control and make the developers copy the User Control and XSL files?
(2) Create a Web Custom Control and just have the developers reference the control library? If this is the best solution, what do I do with the XSL file?
|
|
|
|