|
OK. I tried and searched and tried and searched... and I get a solution with Asp.Net:
HttpRuntime.Close(); When I call this function, the browser forget Username and Password and brings the HTTP-Status 401.
That's the way i like it. But, is it fine? Can any problems occur?
|
|
|
|
|
hi
i have a table that has a row and 3 columns
i have a on first column
i want it to be : height=100% and weight=100%
and auto overflow
but all my tabale takes the attrebiute overflow but i want this attrbute just for first column help me
here is my code!
<table border="0" cellpadding="0" cellspacing="0" style="width:100%;height:95%;border:solid 1px #6699CC;">
<tr >
<td style="width:250px;" align="left" valign="top">
<div style="float:left;width:100%;height:600px;position:absolute;overflow:auto;padding:0px;margin:0px;">
nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />
</div>
</td>
<td style="width:6px;background-color:lightsteelblue;"></td>
<td align="left" valign="top" style="width:auto" >
<div style=" height:100%; width:100% ; ">
<iframe src="aa.htm" height="600px" id="Rightframe" name="Rightframe" width="100%"></iframe>
</div>
</td>
</tr>
</table>
N.Asgari
modified on Sunday, August 3, 2008 5:29 AM
|
|
|
|
|
Nika Asgari wrote: i want it to be : height=100%
That is superflous. If you only have one row in the table, the cells can not be anything other than 100% of the table height.
Nika Asgari wrote: and weight=100%
Table cells doesn't have a weight, so I suppose that you mean width. If you have three columns, the only way that one of them can use 100% of the width is if the other two are hidden.
Nika Asgari wrote: and auto overflow
but all my tabale takes the attrebiute overflow but i want this attrbute just for first column
How have you attempted to set the style?
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
tnx for your reply but look at this:
<table border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed;width:100%;height:95%;border:solid 1px #6699CC;">
<tr >
<td style="width:250px;" align="left" valign="top">
<div style="float:left;width:100%;height:600px;position:absolute;overflow:auto;padding:0px;margin:0px;">
nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />
</div>
</td>
<td style="width:6px;background-color:lightsteelblue;"></td>
<td align="left" valign="top">
<div style=" height:100%; width:100% ; ">
<iframe src="aa.htm" height="600px" id="Rightframe" name="Rightframe" width="100%"></iframe>
</div>
</td>
</tr>
</table>
my div scroll dosnt work it's my problem
Nika Asgari
|
|
|
|
|
<table border="0" cellpadding="0" cellspacing="0" style="table-layout:fixed;width:100%;height:95%;border:solid 1px #6699CC;">
<tr >
<td style="width:250px;" align="left" valign="top">
<div style="float:left;width:100%;height:???%;position:absolute;overflow:auto;padding:0px;margin:0px;">
nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />nika<br />
</div>
</td>
<td style="width:6px;background-color:lightsteelblue;"></td>
<td align="left" valign="top">
<div style=" height:100%; width:100% ; ">
<iframe src="aa.htm" height="???%" id="Rightframe" name="Rightframe" width="100%"></iframe>
</div>
</td>
</tr>
</table>
how can i make ??? to percent? with out changes in my scroll
Nika Asgari
|
|
|
|
|
In your div:
<div style="float:left;width:100%;height:600px;position:absolute;overflow:auto;padding:0px;margin:0px;">
get rid of the position: absolute; style, and the overflow should work.
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
|
|
|
|
|
tnx for your attention it really works!
Nika Asgari
|
|
|
|
|
Glad it helped.
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
|
|
|
|
|
Hi there.
I almost always use Dreamweaver CS3.
I couldn't enable its editor's horizontal scroll bar yet.
Well when I wrote a long line , the rest of line breaks and came down.
But I don't want it.
How can I fix it ?
|
|
|
|
|
Do you mean that the text is wrapped? If so go to View -> Code View Options, and uncheck the "word wrap" box.
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
|
|
|
|
|
Perspx wrote: Do you mean that the text is wrapped?
Yes.
Wow Thanks Perspx.
I really looking for it.
|
|
|
|
|
hi!!
actually I want to provide my users with links from where they can download files selected by them .
But ....how will I manage multiple users ....simultaneously ...won't dere be any Bandwidth issue ...
is dere some feasible solution for that !!!
Regards,
Mrinal
Mrinal
|
|
|
|
|
Multiple users simultaneously? Oh my, I'm sure that's never happened on the internet before...
Your web server will be more than a capable of handling a reasonable number of simultaneous downloads. Yes, bandwidth might be an issue and you should consult the terms of your host to see how much bandwidth you have been allocated and whether you need to increase it.
If you do find you have more downloads than the server/bandwidth can deal with then you may want to consider moving the file to something like Amazon's S3, which will gladly take care of the problem for you. However, unless you are talking about a lot of downloads, or very large downloads, then I don't think this will become an issue.
|
|
|
|
|
hi..
Thnkx for telin bout S3 ..that was a gud enough . But is dere some other alternative like diverting the traffic to some other url ...
If yes how wud dat be possible and wud dat actually be a gud idea .
Regards,
Mrinal
Mrinal
|
|
|
|
|
As Johnny ² said, there really is no need unless you have excessive amounts of users trying to access the same file at once.. And yes you could have copies of the file on different servers if this becomes a problem, but this is not usually necessary.
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
|
|
|
|
|
Pretty much most web servers are going to be able to handle multiple downloads. How do you think Firefox did the multi-million downloads in one day? Think about what you are asking.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi!!!
Well actually downloads are really goin to be large very high quality image files.
And that is why I am concerned about the issuess like download failure or long server response time ...How can I divert traffic to other url or server ...
regards,
Mrinal
Mrinal
|
|
|
|
|
Mri1a wrote: downloads are really goin to be large very high quality image files.
So what. You just have people download portions at a time.
Mri1a wrote: How can I divert traffic to other url or server ...
Probably via some load balancing. Which I would read up on if I were you.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Hi All!
Me again, still struggling and grappling with my java applet.
My problemetic code is as follows:
try{ LoginInputStream = new BufferedReader(new FileReader("Login.txt"));
UserNameString = LoginInputStream.readLine().toString();
PassWordString = LoginInputStream.readLine().toString();
LoginInputStream.close(); }
catch(Exception ex) {}
All variables shown here have been correctly declared earlier, and the problem is that as the 'LoginInputStream' BufferedReader reads a file called 'Login.txt' the two string variables that it assigns the results to are not assigned a value at all, despite my toString() conversion!
I have tried it with and without the toString() conversion but the UserNameString and PassWordString values remain firmly as they were declared. (which was null)
Any help would be greatly appreciated!
Thanks!
MrWolfy
|
|
|
|
|
Does the readLine() code execute or does the try statement fail and go onto the catch() branch?
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
|
|
|
|
|
Hi!
The 'try' code definatly executes, I tried this code with and without the toString() part:
try{ LoginInputStream = new BufferedReader(new FileReader("Login.txt"));
UserNameString = LoginInputStream.readLine().toString();
PassWordString = LoginInputStream.readLine().toString();
LoginInputStream.close(); }
catch(Exception ex) { UserNameEntryField.setText("Error"); }
And the UserNameEntryField TextBox remains empty.
Thanks
MrWolfy
|
|
|
|
|
Try:
try {
FileInputStream file = new FileInputStream("Login.txt");
DataInputStream data = new DataInputStream(file);
BufferedReader LoginInputStream = new BufferedReader(new InputStreamReader(data));
UserNameString = LoginInputStream.readLine();
PassWordString = LoginInputStream.readLine();
LoginInputStream.close();
}
catch(Exception ex)
{
UserNameEntryField.setText("Error");
}
The code above was based from this snippet
Hope this helps,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
|
|
|
|
|
Hi!
Thanks but the code isn't working, even though it's perfectly valid. The error description says it all:
java.security.AccessControlException: access denied (java.io.FilePermission Login.txt read)
That is soooooooo annoying I could just scream! But I won't.
Is there any way i can get round the 'Access denied' problem?
Thanks!
MrWolfy
|
|
|
|
|
I think you may need to change the Java IO file permissions; take a look at this.
Hope this helps,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
|
|
|
|
|
Hi!
Thanks for the link Perspx, problem solved!
Thanks Again!
MrWolfy
|
|
|
|