|
Why are you using onbeforeunload when navigating between tabs? It makes no sense. Perhaps you need to explain more or re-think your architecture.
I know the language. I've read a book. - _Madmatt
|
|
|
|
|
|
If you have problem then you can ignore the message.....okk...
|
|
|
|
|
It is not a case of just ignoring it, i was merely trying to advise so it doesn't happen again.
Site rules;
Please do not post links to your question into an unrelated forum such as the lounge. It will be deleted. Likewise, do not post the same question in more than one forum.
It is for the benefit of all users, if you place a question in more than one place, it just causes confusion, when it starts get answered by different people in different places, and then the same thing gets repeated, or clarification is given i one place an not the other etc.
Anyway, if i hadn't mentioned it, someone else will and or if they have the authority, will just delete it, then you will be confused wondering where it went and why it was deleted.
|
|
|
|
|
I think, the forum is not being utilized to answer any related question but for posting the rules.
|
|
|
|
|
The guidelines are posted at the top of most other forums.
We are here to help solve problems and learn. If you can't be bothered with a few simple guidelines to make this a productive and enjoyable forum for all, or respond negatively when someone reminds you of them, then this is not the community for you.
I know the language. I've read a book. - _Madmatt
modified on Friday, September 3, 2010 8:41 AM
|
|
|
|
|
Wow.....
Then this ought to be verified at the time of registration....right and that too in person visit verification....
In this world if the output is acieved then no worries, how it is achieved - everyone forgets the guidelines...
So much experienced guys couldnot answer a simple question....(enjoyinggg ?????)
|
|
|
|
|
Dave has given you the reason why crossposting is not allowed. The site is for the benefit of all, and having the same question in multiple locations means that it will be hard for others who use the site to follow your problem. If, however, your question is only in one place then you have made life easier for others, and they will thank you for it.
|
|
|
|
|
Ajay Kale New wrote: setTimeout('myclose=false',100)
This is invalid syntax. In your example, myclose=false is a string and would need to be evaluated, which is not what setTimeout does. You should replace this with a function call which performs the actual operation instead.
|
|
|
|
|
like the answer that was given to him in the Q&A post? wonder who posted it
|
|
|
|
|
Ah. In that case, a 5 for yourself sir.
|
|
|
|
|
Hi
How can we make our search page in site be indexed in google ?
the page would get the search query via querystring as a url encoded string then decode it to show the reasult for search .
I wonder how it should be introduced to google to index that page with different search queries ?
Thanks if any help
|
|
|
|
|
Hi!
You can actually use the SERP checker tools to find out your position without trawling page after page.
---------------------------------------------------
custom logo design
|
|
|
|
|
|
Have to admit I'm somehwat surprised it works in them - but Firefox has a pretty good Error console built in you know - look on the Tools menu. That straightaway tells you that the problem is that "Display" is undefined (Hence my "somewhat surprise".)
You need to define this before any of the functions are called but after the page loads - so either add another script block at the foot of the page with just
var Display = document.getElementById("Display");
in it, or add this Iwithout the var) as a one-line function in your block at the top and call it from the body onload method. - if you do it this latter way, you'll need to also define
var Display;
separately as a global variable outside the function.
-- Modified Sunday, August 29, 2010 3:42 PM
|
|
|
|
|
bfis108137 wrote: It works in ie8, opera, and chrome
It doesn't work properly in chrome.
I just tried. The first calculation works, any subsequent one doesn't.
I think your logic is flawed when you calculate, think about when you use a normal calculator. The result is put back into the first operand. if another digit is then pressed instead of an operation the operand is cleared and you start to loadup the new 1st operand.
|
|
|
|
|
I am using below code to open twitter in iframe,
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE> New Document </TITLE>
<META NAME="Generator" CONTENT="EditPlus">
<META NAME="Author" CONTENT="">
<META NAME="Keywords" CONTENT="">
<META NAME="Description" CONTENT="">
</HEAD>
<BODY>
<iframe src="http://twitter.com" width ="100" height="100" border="0" > </iframe>
</BODY>
</HTML>
It is opening the twitter.com but not in iframe,the web page is loaded in entire browser.I can't understand why this is happening???
Thanks in advance for any help,
Punit
|
|
|
|
|
twitter probably has it's own iframe checking code to break out of it because they do not want you to use it that way, it's why they came up with their API.
|
|
|
|
|
I'm working on a WPF program and I have a frame that reads an html file that I have included in the project. In the html file there is an input box.
[CODE][/CODE]
Is there anyway I can make the value something I can change in the rest of the program, say back in the .cs file, instead of just a constant set number placed there, like if I want to change the number based on user input? I won't know all the numbers it will need to be ahead of time.
|
|
|
|
|
Okay, well, I'm trying to code something to help out another website, and I can't seem to figure it out... I am printing out a list with PHP and MySQL, and I want it to print part of the list in colors... this is what I am using...
------------------------------------------------
<pre><script type="text/javascript>
$("body:contains('Fire Squad')").replaceWith(("<b>Fire</b>")
</script></pre>
------------------------------------------------
and this...
------------------------------------------------
<pre><table><tr><td><b><i>Name</b></i></td><td><b><i>Squad</b></i></td><td><b><i>Friend Code</b></i></td ></tr>
<?
$list_members = mysql_query("SELECT * FROM `brawl` ORDER BY squad");
$list = mysql_fetch_array( $list_members );
while($list = mysql_fetch_array( $list_members ))
{
Print '<tr><td>';
Print "".$list['username']."</td><td>".$list['squad']."</td><td>".$list['FC']."</td></tr>";
}
?>
</div>
</table> </pre>
------------------------------------------------
EDIT: I tried something else, and now it just prints out a blank line where the squad should be....
------------------------------------------------
<pre><select id="squads" name="squads">
<option id="air">Air Squad</option>
<option id="earth">Earth Squad</option>
<option id="fire">Fire Squad</option>
<option id="water">Water Squad</option>
<option id="neutral" selected="selected">Neutral</option>
<option id="admin">Admin</option>
</select>
<script type="text/javascript">
if document.getElementById("fire").selected=true
{
document.write("<input type="hidden" id="squad" value="<span style='color:red'><b>Fire Squad</b></span>"/>");
}
else if document.getElementById("air").selected=true
{
document.write("<input type="hidden" id="squad" value="<span style='color:goldenrod'><b>Air Squad</b></span>"/>");
}
else if document.getElementById("earth").selected=true
{
document.write("<input type="hidden" id="squad" value="<span style='color:#090'><b>Earth Squad</b></span>"/>");
}
else if document.getElementById("water").selected=true
{
document.write("<input type="hidden" id="squad" value="<span style='color:blue'><b>Water Squad</b></span>"/>");
}
else if document.getElementById("neutral").selected=true
{
document.write("<input type="hidden" id="squad" value="<span style='color:black'><b>Neutral</b></span>"/>");
}
else
{
document.write("<input type="hidden" id="squad" value="<span style='color:black'><b>Admin</b></span>"/>");
}
</script></pre>
-----------------------------------------------
Please help, I'd like to have this part done by tomorrow night.... Thanks!
|
|
|
|
|
Hi,
I am using Javascript to open up the default mail client and start an email eg
string mailto = "mailto:?Subject=Link to your order&Body=Here is the link to your order" + Request.Url.ToString() + "?Id=323498;
ScriptManager.RegisterStartupScript(UpdatePanel1, typeof(string), "mailto", "window.open('" + (mailto) + "');", true);
This works well and I get an email sent through with the hyperlink visible (and clickable - yay!) What I want to do however is to provide Display Text for the hyperlink so that whilst the underlying URL is eg http://www.google.com?id=323498 the text visible to the recipient is Your Link or something appropriate. So it is the same concept as in Outlook when you Insert Hyperlink, you provide the Address but you can also provide Text to Display. (Same in GMail etc).
Any ideas how to achieve this?
Thanks!!
|
|
|
|
|
I don't know how to achieve this in javascript but your email body has to be a html body and not a plain text body as your sample code looks like. After you set this email property you can use html instead of plain text in your email body.
Greetings
Covean
|
|
|
|
|
I am asking advice on how to proceed with a project (if possible).
The prevailing conditions are as follows:
1. Excel Workbook with VSTO (MS Visual Tools for Office) DLL.
2. This workbook needs to be exposed to the web for usage by external users.
3. The external users should not able to store a copy of the workbook on their local machine.
4. General function of this workbook is for the user to enter some data on the worksheets and then press a button to generate effects based on the VSTO.
5. Users should not be required to have the current copy of MS Office.
(FYI, I have looked at a SharePoint implementation, but have not found one that can meet all the necessary conditions. If you do recommend SharePoint, please specify the implementation method. )
I was wondering if anyone else has come upon a similar situation and could direct me for a solution, whether it be 3rd party app or MS app.
Thanks
|
|
|
|
|
I have a windows service and I want to call a wcf method that passes 2 data object parameters.
The code to call the service is,
Response response = new Response();
LifecycleServiceClient serviceclient = new LifecycleServiceClient();
response = serviceclient.startCase(user, requestDetail);
However I get the following error
Message: The content type text/xml; charset=utf-8 of the response message does not match the content type of the binding (application/soap+xml; charset=utf-8). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 572 bytes of the response were: '<?xml version="1.0" encoding="utf-8"?><soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<soapenv:Fault>
<faultcode xmlns:ns1="http://xml.apache.org/axis/">ns1:Client.NoSOAPAction</faultcode>
<faultstring>no SOAPAction header!</faultstring>
<detail>
<ns2:hostname xmlns:ns2="http://xml.apache.org/axis/">ding0b09.unix.bitola.co.uk</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>'.
It mentions no SOAPAction header!
I understand the problem is SOAP going across the wire but how can I call it differently
Any help much appreciated
Gerom
|
|
|
|
|
here is my code
<div id="main_body_holder">
<div id="main_body_left">
<div class="search_pages">
Pages:
<strong>1</strong>
<div class="u_right">
<a href="/link">My Things</a>
<strong>My Stuff</strong>
</div>
</div>
css
#u_right{ float right; }
instead of getting
Pages: 1 My Things My Stuff
I am getting
Pages: 1
My Things My Stuff
If anyone knows a decent fix for this?
|
|
|
|