|
Jamal Abdul Nasir wrote: how to disable or remove the minimize/maximize buttons in browser window?
From Developer.Mozilla [^]
[quote]
minimizable
This setting can only apply to dialog windows; "minimizable" requires dialog=yes. If minimizable is set to yes, the new dialog window will have a minimize system command icon in the titlebar and it will be minimizable. Any non-dialog window is always minimizable and minimizable=no will be ignored.
[/quote]
modified 1-Aug-19 21:02pm.
|
|
|
|
|
hello Friends
I need ur help.I am in difficult condition.
On some Image I am calling one function to load.But different images are saved at different places.Where do i can save those path so that whenever I click on any image it will take tht particular path and pass to load function.
here is my general code:
<img src="images/sample1.jpg" width="58" height="61"onClick="load()" id="z" />
Any Ideas?
Thanks & Regards
Yogesh
|
|
|
|
|
<!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>
</title>
<script type="text/javascript">
load=function(){
alert(arguments[0]);
}
</script></head>
<body>
<img src="images/sample1.jpg" width="58" height="61"
onclick="load('path1')" id="z" />
<img src="images/sample1.jpg" width="58" height="61"
onclick="load('path2')" id="z" />
</body>
</html>
-- Modified Monday, August 2, 2010 2:02 PM
|
|
|
|
|
I want to get complete URL address is displaying on address bar of browser in JSP
Example At present,The address bar of browser is containing the following address
http://wwww.eshop.com/ShowMember?name=Peter White&id=123
In JSP, how to get this address.I cann't get it with request.getRequestURL().toString()
|
|
|
|
|
Hey! i am new in web development and asp.net as well. actually i am a student and want to make social network type website for my institute. Can any body help me by giving me some url about development of social networking. thank you!
|
|
|
|
|
|
The starter kits that Andy mentioned are excellent, and Microsoft offers quite a few, too. They're a great way to learn 'how it's done' without all the trial and error that usually happens when you try to do what others have already figure out. And they're completely customizable for your purpose, once you understand what's being done and why. Good luck!
"A Journey of a Thousand Rest Stops Begins with a Single Movement"
|
|
|
|
|
Thanks Man!
|
|
|
|
|
I have 1 php page. What I want to do is update a label on this page with a record count. So lets say the label is called "Records" and it looks like this "Records: 15" well while you are on the page not doing anything I want it to refresh this label every so often with the latest record count.
Ive tried to search and read about ajax/js ect but still have not found a viable solution to my issue.
Remember I am using php/mysql.
Thanks in advance.
Josh
|
|
|
|
|
You should be able to do that with AJAX pretty easily, but since you don't say what you have tried and the specific problem you ran into I'll suggest a different route.
META refresh[^]
|
|
|
|
|
If you don't want the whole page to refresh when you update, then you probably need to use AJAX with a timer event to call the PHP code that returns the updated record count. On the PHP side it could be as simple as doing a select query and returning a count. On the Javascript side you'll need to provide a call to your PHP using AJAX and if all you want back is a record count, you can get that with the text property rather than doing a whole XML transfer. Without writing the whole thing, your PHP could be as simple as:
$sql= "SELECT COUNT(*) FROM mytable WHERE Whatever = 'What Im looking for'";
$result = mysql_query($sql) or die("Sorry, you screwed up!");
echo mysql_num_rows($result);
Here's an example of doing the stuff based on a timer event in Javascript[^]. You'd put your function to do the update call as the argument to the timer.
To handle the AJAX, take a look at this PHP AJAX tutorial[^]. You put your own Javascript code to handle the return and update your label as required.
CQ de W5ALT
Walt Fair, Jr., P. E.
Comport Computing
Specializing in Technical Engineering Software
|
|
|
|
|
Hello.
I have a web application which is based on JAVA/JSP, Apache Tomcat Server and this application is working fine.
Now I have to test this for when many users visit this web site.
There is no complex test condition,
and I just need to open many web browsers(IE) and access this site at the same time.
At the first time,
I tried to do this test manually(using mouse and enter key), and soon found it's not a good idea.
So I searched for hours and found some utility programs.
But they are only for .NET project or too difficult and complex to use.
I read some manuals but I couldn't find out how to solve my problem.
Is there a tool for simple multi user access test?
Or could you please tell me how I can use these tool programs for this case?
Or please let me know the keyword I need to search / where I can visit.
(I visited the site : http://www.softwareqatest.com/qatweb1.html#FUNC and if you know one of the list is suit for my case, please let me know.)
Thank you for reading this.
May the sky bring you a full measure of health and prosperity.
|
|
|
|
|
I found the tool program I needed, and it's name was "Jmeter"
http://jakarta.apache.org/jmeter/
I could get multi access performance result report easily by using this.
Thanks!
May the sky bring you a full measure of health and prosperity.
|
|
|
|
|
How did the page suddenly display ads to the clothing sites I'd visited the previous day??
Is it done through cookies? Through I.P address.
I would like to know how this functionality is achieved!
|
|
|
|
|
Probably a cookie tracker like doubleclick. Basically, it tracks which websites you visit and then based on that history it predicts what sort of advertising is likely to be of interest to you.
Some people like this because it delivers advertising tailored to your likes and needs (in theory). Others see it as a breach of privacy. Others don't care one way or the other. There are various solutions for blocking this if it bothers you, just search on Google for "cookie tracker".
|
|
|
|
|
Ah! Thanks for that. so it is probably to do with cookies eh!
I'm studying ASP.NET 3.5 and I guess this sort of thing is more web design stuff than development?
Do you reckon studying ASP.NET technology is the way to go if you want to learn about how this sort of thing works? or is it more the preserve of web designers?
The trouble with learning Microsoft stuff and passing the MCP's is it doesn't teach you the creative flair! and seems mostly concerned with business apps!
|
|
|
|
|
I need help with this javascript - ajax code and I'm new to both js and ajax. I have this code that the onClick function is not working. I'm not receiving any errors. I'm expecting the code to return the value for var str within the function getForm(fobj) to to equate to " name = value" when the onclick function executes. Instead I'm getting empty string. Thanks for your help.
<script>
var req = createXMLHttpRequest();
function createXMLHttpRequest() {
var ua;
if(window.XMLHttpRequest) {
try {
ua = new XMLHttpRequest();
} catch(e) {
ua = false;
}
} else if(window.ActiveXObject) {
try {
ua = new ActiveXObject("Microsoft.XMLHTTP");
} catch(e) {
ua = false;
}
}
return ua;
}
function sendRequest(frm, file) {
var rnd982g = Math.random();
var str = "";
if(str = getForm(frm)) {
req.open(
req.onreadystatechange = handleResponse;
req.send(null);
}
return false;
}
function handleResponse() {
if(req.readyState == 4){
var response = req.responseText;
document.getElementById("results").innerHTML = response;
}
}
function getForm(fobj) {
var str = "";
var ft = "";
var fv = "";
var fn = "";
var els = "";
for(var i = 0;i < fobj.elements.length;i++) {
els = fobj.elements[i];
ft = els.title;
fv = els.value;
fn = els.name;
switch(els.type) {
case "image":
str += fn + "=" + encodeURI(fv) + "&";
alert ("string is" + str);
break;
} // switch
} // for
str = str.substr(0,(str.length - 1));
alert ("string -1 is: " + str );
return str;
}
<script>
<html>
<head>
<head>
<body>
<table border=1 cellspacing=0 cellpadding=0 width=850 height=550>
<tr>
<td width=660 valign=top> <div id="results" /> </td>
<td width=190 valign=top>
<FORM NAME ="form1" METHOD ="POST">
<INPUT type="image" src="2.gif" name ="mod1" value="webmenu1" onclick="sendRequest(this.form, 'test.php' )"
onmouseover="this.src='1.gif'" onmouseout="this.src='2.gif'"><br><br>
<tr>
<table>
</FORM>
</body>
</html>
modified on Tuesday, May 18, 2010 9:25 PM
|
|
|
|
|
You don't need to post everything in your app and although formatting it is more than most even attempt, you are screwing up the entire forum.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Dear all,
I have a dedicated server where I used to publish the project developed in asp.net.
Somebody deletes all source code from server. I cound not find any information of them either in IIS log or FTP log.
Any body can help me please how I can detect who is doing this hell.
I am very disappointed with such activity.
Thanks
Rohit
|
|
|
|
|
Do not cross-post. You've already got this posted in the ASP.Net forum.
me, me, me
"The dinosaurs became extinct because they didn't have a space program. And if we become extinct because we don't have a space program, it'll serve us right!"
Larry Niven
|
|
|
|
|
|
I apologize if this is a repost but I searched for something similar and came up with nothing. I have a couple of questions I'd like to ask some of the more informed web gurus out there. I have Adobe Dreamweaver, Microsoft Expressions Web, Microsoft Expressions Blend, Visual Studio 2008, 2010. I'm not savvy when it comes to web development but I am looking to better myself in this field over the summer. Out of the above mentioned web dev IDE's what (or what combination) would be the best to learn?
|
|
|
|
|
If you are looking to develop web applications that need to interface with a database, I would start with VS 2008.
|
|
|
|
|
I all depends on what you want to do. If you have VS2010 then VS2008 isn't necessary at all. IMO Dreamweaver is more for designers, if you really want to dig in to web development then use VS. Of course Dreamweaver also doesn't do ASP.NET, so if you want to learn that, then there is no choice, only VS. Expression will help with good graphics and layout support and integrates with VS. So my recommendation would be VS2010 and Expression.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
Hi,
I want to take MCTS certification on .Net Framework 3.5. for this which exams i need to take?
i think first i should take 70-528 after that 70-562. am i right? i didn't done any certification previously and this is first one. Again 70-536(.Net framework 2.0) is mandatory to take before this?
please suggest me how to take this exam?
fttyhtrhyfytrytrysetyetytesystryrty
|
|
|
|