|
Hi there,
For this, IMO, you might set the client browser will refresh itseft after an interval time , and also should have a look at AJAX technology about how to refresh a part of webpage to increase performance.
<< >>
|
|
|
|
|
Hi, Thank you for information. It definitely give me some clues. I will look into it...
|
|
|
|
|
You can use this to refresh your web page
N.Rajakumar B.E.,
Application Developer,
|
|
|
|
|
>Having some trouble with this. I'm not the sharpets knife in the drawer when it comes to html. I've googled and apparently the "GET" or "POST" don't work on static html. What gets me is that I'm using this in other pages on the same server but in other domains and it's working fine. Any suggestions?
This below is the problem and the error is under it:
<FORM ACTION="sourcecode/fullinterest.php" METHOD="GET">
Is causing this:
Method Not Allowed
The HTTP verb used to access this page is not allowed.
--------------------------------------------------------------------------------
Web Server at blah-blah-blah.com
Some assembly required.
Code-frog System Architects, Inc.
|
|
|
|
|
"GET" ought to work just fine. I don't have a good answer, but you might want to check for restrictions on the server itself (.htaccess settings, etc.).
BTW: Googling the error you recieved turns up a lot of stuff about misconfigured IIS... so perhaps it boils down to IIS not recognizing .php files as dynamic.
|
|
|
|
|
What would the below code load?
<%@ Language=VBScript %>
<%If false Then%>
<%Else%>
<%End If%>
The Result of Above Code is FunctionTwo.inc
I want to know why it load the secound file ?
and what based the condition is executing?
Please any one help me..
N.Rajakumar B.E.,
Application Developer,
|
|
|
|
|
What happens is this:
:: The files FunctionOne.inc and FunctionTwo.inc are loaded and merged into the code to form the complete source.
:: The complete source is compiled.
:: The code is executed.
As the condititon in the If statement is False, the code between Else and End If is run.
---
b { font-weight: normal; }
|
|
|
|
|
Hi..I'm currently learning a new language of C# web application which requires me to design a web page just like the link below:
(www.nyp.edu.sg)
.But my problem is that if i wants to design a menu page just like which i have a navigator bar on top/side, when i on the menu page i can select/click on the navigator bar and goes straight to the adduser page. I'm currently using C# web application program to do. So now i not too sure how the menu page can be done. But i try using .ascx to design my menu page but its not workable.. Is there any simple way which i can design just user menu page (on the navigator bar i have adduser, deleteuser & etc..) Anyone who has done it before mind sharing with me as i'm using C# to design my website.. Thanks for your help...
Cheers!
|
|
|
|
|
|
hi dotnethead, thanks for your reply. But currently i'm only allow to use Mircosoft Visual Studio .NET 2003 to do my web page. Is there any way that i can do it using 2003 program.. Or other methods which i can easily create a navigation bar? Thanks!!
Cheers!
|
|
|
|
|
I've done a site wide navigation control before using a User Control. A User Control is just like any other control on your page (ei, button, textbox, checkbox, etc.) but it is one that you write yourself. Once it is written you can include it in any page on your site. Cehck out this page for a simple User Control tutorial:
http://www.asp101.com/lessons/usercontrols.asp[^]
"Half this game is ninety percent mental."
- Yogi Berra
|
|
|
|
|
So I have a div on my page
now How can I put two more divs inside "containter" side by side, giving me a 2 column page? What is the best method (i.e. css) to do this with divs and so it shows up (semi) the same in ie and firefox?
I try this...
<%@ Page language="c#" Codebehind="test.aspx.cs" AutoEventWireup="false" Inherits="wpmc2006.org.test" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
<HTML>
<HEAD>
<title>test</title>
<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
<meta name="CODE_LANGUAGE" Content="C#">
<meta name="vs_defaultClientScript" content="JavaScript">
<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
<style> div { border-right: black 1px solid; border-top: black 1px solid; border-left: black 1px solid; border-bottom: black 1px solid; }
div.right { float:right; width:50%;}
div.left { float:left; width:50%}
</style>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="Form1" method="post" runat="server">
<div>
<div class="left">left</div>
<div class="right">right</div>
</div>
</form>
</body>
</HTML>
IE displays it just how I want but firefox always ruins it. How do i do 2 parallel columns in firefox?
/\ |_ E X E GG
-- modified at 18:53 Wednesday 7th December, 2005
|
|
|
|
|
Use 2 spans instead?
daniero
|
|
|
|
|
well if I use spans, i eventually want to use divs inside them and you cant use divs inside of spans..
/\ |_ E X E GG
|
|
|
|
|
Take a look at Little Boxes[^]. I think that will help you.
Wout Louwers
|
|
|
|
|
If IE and Fx displays the page differently, it's almost always Fx that displays it correctly.
Use a more recent doctype. Just version 4.01 should make a noticable improvement.
W3C: Recommended DTDs[^]
---
b { font-weight: normal; }
|
|
|
|
|
I have text in my webpage and I want to make a simple Buton that on click : selects, copy all the text on clipboard, and finally deselects all
or at least just selects all
I think it´s very simple using JavaScript but I cant get it
any comments ?
THANX ¡¡¡
Armando
Monterrey, Mexico
|
|
|
|
|
Hi there,
IMO, just simple getting the selected text from the textbox control and do paste the selected text into clipboard by using this statement
window.clipboardData.setData("Text",selectedText);
<< >>
|
|
|
|
|
I tried by using this " onClick="javascript:select();" " but it only selects the text that is into the button not the text on the webpage
And I didnt get the idea you gave me so could you give another one using my example?
|
|
|
|
|
where is the text you put it into (textbox or textarea control)? or do you want to copy whole page?
<< >>
|
|
|
|
|
I want to copy the whole page, My page doesnt have any pics, only text
thanx ¡
|
|
|
|
|
Just a suggestion, but IMO it's not the best
save the page's content into a hidden field before generating the page. Then, when user clicks on the button, just copy the value of the hidden field to the clipboard.
Hope it gives u an idea...
<< >>
|
|
|
|
|
I hate Internet-Explorer-only solutions; however, here's one for you:
var r = document.body.createTextRange();
r.select();
r.execCommand( "copy" );
If you want a cross-browser implementation, may I suggest reading the innerHTML property of document.body and using regular expressions to remove any tags.
"we must lose precision to make significant statements about complex systems."
-deKorvin on uncertainty
|
|
|
|
|
Found this on the web. It copies the selection in a drop-down to the clipboard. Could probably be modified to copy other text on the page:
<html>
<head>
<script>
function copyText(theSel) {
if (!document.all) return; // IE only
theForm = theSel.form;
theForm.copyArea.value=theSel.options[theSel.selectedIndex].value;
r=theForm.copyArea.createTextRange();
r.select();
r.execCommand('copy');
}
</script>
</head>
<body>
<form>
<select onChange="copyText(this)">
<option value="">Please select
<option value="alpha">A
<option value="bravo">B
</select>
<input type="hidden" name="copyArea" value="">
</form>
</body>
</html>
"Half this game is ninety percent mental."
- Yogi Berra
|
|
|
|
|
Hello, I am new to this forum.
sorry i got a bit carried away and did not get a chance to post my question the first time. I am new to programming. I am trying to build an ASP form.
So far I was being successful. Until I came across checkboxes.
When I check a checkbox in my form it sends the information to ms access and the checkbox gets checked. but when I try to access the data in my Update form, all my checkboxes are empty. I did an <% = rsGuestbook("standard") %>
after the " just to be sure that the checkbox was checked when it checked it shows True and when is not it shows False.
How can I get the checkbox to show checked in my Update Page?
edgarv
|
|
|
|