|
hi,
please help me in devoleping code for validate login form in java script.........
please let the code for me.........
thanks in advance.......
ram
|
|
|
|
|
rambrahmam.g wrote: please help me in devoleping code for validate login form in java script..
What do you mean by "validate login form"??
Validating the empty inputs part or validating the user name and password??
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
hi,
can anybody Pls. guide me how can i disable the option of saving/copying images on its right click in asp.net webforms.
I need to perform this task in c#.net 2.0.
Thanks,
harry
|
|
|
|
|
I would say .. "Don't do that! man" it is just wasting time and money..
There are a lot of people who has already tried to achieve this but there are always some sorts of hecks for copying images.
Let me tell you some attempts that people tried to protect their images of being copied
#1. Disabling right-click.
Everybody knows this is useless.. Don't forget "Save as" or "Firebug"
#2. Showing the transparent images over the actual image.
It can trick the normal user but not for advanced user. There are very powerful tool (eg: Firebug) that can manipulate the HTML DOM in very easy way.
#3. Using third-party tool for protecting images.
If you google a lit bit, you will see a lot of ads mentioning that they can protect yours images (even HTML code). I have tried them some time back. Those tools are NOT good enough.
#4. Embedded Object(Flash or ActiveX)
Using flash might be the best way (so far) for image protection. But one thing, there are some tools or firefox extension (eg: Download Helper ) that can easily download .flv (flash) file. so, peopele might not able to copy the image but they can still copy the *.flv file.
So, don't do that.. man... Of course, this is my own opinion. so, you may wanna listen what other people say.
Thanks and Regards,
Michael Sync ( Blog: http://michaelsync.net)
If you want to thank me for my help, please vote my message by clicking one of numbers beside "Rate this message". Why vote? Plz Read it here. Thank you.
|
|
|
|
|
|
Hello guys.
I have a problem with my tab widgets.I have web pages called within tab widgets and the pages have java scripts embedded within them but the problem is that the scripts do not show when I click on the tab.The page show, but the colours changes and dropdown menus and other scripts on the page do not come up.
Could there be a reason for this.I need help guys, and thank you in advance.
Regards.
kagiso
|
|
|
|
|
Hello,
I have a download functionality in my web application. I let users to select wav files then I zip it and finally provided a download functionality. For this I placed all the wav files in one of the folder under "App_Data" folder in my solution. Their is again a "Download" folder under "App_Data" and I use it for temporarily storing zipped files.After download is over this zip file under "Download" folder is deleted automatically. Everything is working fine on my local machine. But when I deployed this Application on server and tried to download files I am receiving error "Access to the path 'MyServerpath\Applicationname\App_Data\Downloads\zipfilename.zip' is denied.
I am not using any particular accounts for user to access this functionality and is not having any groups also.
Here is my code: where i am getting error:(having //Error tag)
string filepath = (Server.MapPath("./App_Data/Downloads/") + zippedfile);
//Error System.IO.FileStream fs = new System.IO.FileStream(filepath, System.IO.FileMode.Open);
///set the content type
//Response.ContentType = "application/zip";
///set Content-Disposition
Response.AppendHeader("Content-Disposition", "attachment; filename=" + zippedfile);
Need urgent Help.
Naresh
|
|
|
|
|
Ask the server admin people (your ISP support?) to grant you WRITE access on this folder.
|
|
|
|
|
Its a simple 3 cell table layout:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><br />
<html style="height: 100%;"><br />
<head><br />
</head><br />
<body style="height: 100%; margin: 0px 0px 0px 0px;"><br />
<table height="100%" style="width: 100%; border: 5px solid #000000;"><br />
<tr><br />
<td colspan="2" width="100%"><br />
<div style="height: 60px;"><br />
top</div></td></tr><br />
<tr><br />
<td height="100%" style="border: 1px solid red;"><br />
<div style="width:250px;"><br />
left</div></td><br />
<td width="100%"><br />
cont</td></tr><br />
</table><br />
</body><br />
</html><br />
In firefox it shows up just as i wanted, but when i open it in IE7 the table is actually bigger than window size and the vertical scroll bar apears. When i resize window it sometimes shows correct, but most of the time not.
what am i doing wrong here?
|
|
|
|
|
You are not doing anything wrong. The issue here is how the html element is interpreted by the brwosers. The two browsers implement it in different ways. So you cannot fix the issue without JavaScript. Here is a possible solution:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
<script type="text/javascript">
<!--
function resizeProperly() {
if (window.innerHeight) {
document.body.style.width =
window.innerWidth + "px";
document.body.style.height =
window.innerHeight + "px";
} else {
document.body.style.width =
document.documentElement.offsetWidth + "px";
document.body.style.height =
document.documentElement.offsetHeight + "px";
}
}
window.onresize = window.onload = resizeProperly;
</script>
</head>
<body style="height: 100%;margin:0;padding:0">
<table style="height:100%;width: 100%; border: 5px solid #000000;">
<tr>
<td colspan="2" style="width:100%">
top</td></tr>
<tr>
<td style="width:100%">
left</td>
<td style="width:100%">
cont</td></tr>
</table>
</body>
</html><pre>
<div class="ForumSig"><small>
Co-Author <a href="http://www.amazon.com/ASP-NET-AJAX-Action-Alessandro-Gallo/dp/1933988142/ref=pd_bbs_sr_1/103-2120392-2503021?ie=UTF8&s=books&qid=1187033194&sr=8-1">ASP.NET AJAX in Action</a>
</small></div>
|
|
|
|
|
|
When several users access my web application simultaneously, which hosts several webservices, fails for some reason.
My application is hosted in windows xp machine.Is there any maximum limit on inbound and outbound connection limit. Does OS comes into picture when webservice is accessed by several users simultaneously.
Does anyone has any idea why this kind of behavior occurs.
Ananth
|
|
|
|
|
As far as I am aware, IIS under XP pro has the maximum number of simultaneous connections set to 10. This certainly used to be the case under 115 5 - wheterh it's changed since I don't know. Ages ago I came across this somewhere:
"XP Pro allows 10 connections. This limit is installed by default in the metabase key MaxConnections for W3SVC, and there is no user interface method for modifying the setting. You can change this setting to any number less than 40 and it works, but that is not widely advertised."
but how you set about changing this I never investigated - it still implies a max limit of 40 though.
Really, XP is only a development platform. For serious hosting you should install your app on a machine runnong one fo the Windows Server OS's...
You should really be asking this in the SysAdmin forum - you'd probably get a more informed answer!
Fred
|
|
|
|
|
Thanks for the info Fred!
Ananth
|
|
|
|
|
We are not getting the cursor position
in Light Boxes in MOZILLA.But in IE not a problem
jophin
|
|
|
|
|
|
In our project we are facing problems of
wrapping text in panels and all.With
There is no problem with Internet Explorer.
But with MOZILLA text is not Wrapped.
jophin
|
|
|
|
|
Um... shucks, what sort of an answer is even possible here, considering there was no actual question...
ah!
"there, there"
---- I don't care what you consider witty, but at least I do not blather on posting nonsense like Jim Crafton.-- Stringcheese, humbled by Crafton's ability to string together multiple sentences
|
|
|
|
|
Type "Mozilla wrap" into google and you'd gets loads...
I found this:- it gets my 5!
"I have a great fix for Firefox, Opera, and any other Mozilla-based browsers that can't render forms properly:
Use INTERNET EXPLORER! That's the browser that comes as part of the Microsoft Windows Operating System. You see, when you develop an operatibg system, you (not some geek in Geneva) get to set the standards. Internet Explorer is designed to be FORGIVABLE of many coding errors that would drive Mozilla browsers up a wall. You see, the standards aren't set by W3C, but rather they are set by Microsoft. If you can't live with this then invent your own operating system an d market it.
Sometimes I think that many of you geeks are masochists at heart, because you seem to keep coming back for more everytime you get burned by a Mozilla browser. Again, W3C doesn't set any rules that Microsoft is bound to respect, because the Windows operating System is owned by Microsoft, not W3C, so Bill and Steve just chuckle and proceed to do things as they wish. In the meantime the geeks spend much of their time hunting for fixes and patches so that somehow their Mozilla (Godzilla?) browser can be made to work with a Gateszilla system.
Hang it up, already! Did you not learn anything from the Netscape Navigator experience? Say no to crapware!"
(found on http://www.askbjoernhansen.com/2002/03/17/mozilla_textarea_wraps.html[^])
|
|
|
|
|
You see, the standards aren't set by W3C, but rather they are set by Microsoft.
Complete rubbish. Microsoft is a member of W3C.
---
single minded; short sighted; long gone;
|
|
|
|
|
Yes, but his implication is that Microsoft, being as big as they are, can ignore the W3C or not, as they Will. In other words, that they are a member of it for political reasons rather then anything else. After all, why else isn't IE 100% W3C compliant?
|
|
|
|
|
What can you do to make your web applcation look the same on different computers with different displays
|
|
|
|
|
Ship identical displays to all users?
Seriously though, if the displays are different enough, there's not a lot you can do about it. Your best bet is probably to aim for usability on various sizes, resolutions, and color depths... while accepting that the way some things look may need to change in order to allow for it.
Guidelines? How bout:
- Don't use fixed widths for content areas.
- Don't blindly force multiple columns - allow the page to reflow if there isn't room for (say) content and nav bar side-by-side.
- Use images of modest size.
- Test your site with stylesheets disabled, in smaller windows, in larger windows, in different browsers...
---- I don't care what you consider witty, but at least I do not blather on posting nonsense like Jim Crafton.-- Stringcheese, humbled by Crafton's ability to string together multiple sentences
|
|
|
|
|
Hi everyone,
Is it possible to set Functional key such as F1,F2,F3,etc as shortcut key to a button using javascript? If yes give me a explanation with example code.and also F1 seems to be a help but it should be worked as per our requirement,the help should be ignored..Any sugesstion Plz..
Regards
Kanna
|
|
|
|
|
hi
i have tried the following code but its not working,
1>
<br />
Response.Write "<Th align=""center""><FONT FACE=""ARIAL"" SIZE=""1"" color=""#800000"">" & formatnumber( rs1.Fields(i),0)& "</FONT></Th>"<br />
its giving me the following error
Error Type:
Microsoft VBScript runtime (0x800A000D)
Type mismatch: 'formatnumber'
/allpage.asp, line 126
2>i also used format instead of format ,still no result
here i am displaying the numbers from ms access database
any idea?
|
|
|
|