|
You could set Page.SmartNavigation = true.
MAC IE has problems with though.
|
|
|
|
|
Hi
I would like to display a separate html page within a section of a table. The page needs to be dynamically changed when the user clicks a button...
I've tried to read the file in javascript and then modify the contents of a tag... but to no avail.
I've also tried to load the page into a hidden frame and then copy its contents across to the tag... and as this posting suggests that didn't seen to work either.
can anyone be of assistance?
thanks in advance.
Steve;)
|
|
|
|
|
IE 4+ and NS 6+ support the iframe tag. You could try that or rewrite the page to use frames and have the "inner" page reload in a given cell. Alternatively, PHP's file I/O (and ASP, *cough* *cough*) can read any web page off any server dynamically, so you could have it read the page and insert it into the HTML document before it's sent to the browser.
Jeremy Falcon
Imputek
<nobr>"..." - Paul Watson 07-17
|
|
|
|
|
Jeremy Falcon wrote:
and ASP, *cough* *cough*
Lol, why, "cough cough"?
Philip Patrick
Web-site: www.stpworks.com
"Two beer or not two beer?" Shakesbeer
|
|
|
|
|
Philip Patrick wrote:
Lol, why, "cough cough"?
Well, I prefer PHP, but I have to mention ASP because CP is all about MS technologies. I'm trying to keep the going.
Jeremy Falcon
Imputek
<nobr>"..." - Paul Watson 07-17
|
|
|
|
|
|
Where to find the code examples for that book!?
Can you give me a link?
Rickard Andersson@Suza Computing
C# and C++ programmer from SWEDEN!
UIN: 50302279
E-Mail: nikado@pc.nu
Speciality: I love C#, ASP.NET and C++!
|
|
|
|
|
Sorry for the proto-advertisement but I think this is a worthwhile "cause."
WestCiv are offering a free weekly online course on HTML and CSS. They can explain it much better than I can so go read the introduction.
Highly recommended as these guys know what they are talking about. Even for us chaps who think we know HTML, this kind of course is worthwhile.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge
Alison Pentland wrote:
I now have an image of you in front of the mirror in the morning, wearing your knickers, socks and shoes trying to decided if they match!
|
|
|
|
|
When I had a look at this a couple of days ago it was talking about $24.95. Did they change from the time you posted the link or once again am I blind to the obvious?
Michael Martin
Australia
mjm68@tpg.com.au
"I personally love it because I can get as down and dirty as I want on the backend, while also being able to dabble with fun scripting and presentation games on the front end."
- Chris Maunder 15/07/2002
|
|
|
|
|
Michael Martin wrote:
Did they change from the time you posted the link or once again am I blind to the obvious?
Well I won't comment on you going blind but no nothing has changed.
Basically you can either do the course for free at their weekly pace, or pay $24.95 and get the whole course and do it at your pace.
i.e. They have the whole course already, but are releasing it for free week by week. If that pace is too slow for you and you just have to get to week 7 right now, then buy the course.
regards,
Paul Watson
Bluegrass
Cape Town, South Africa
The greatest thing you'll ever learn is just to love, and to be loved in return - Moulin Rouge
Alison Pentland wrote:
I now have an image of you in front of the mirror in the morning, wearing your knickers, socks and shoes trying to decided if they match!
|
|
|
|
|
I you known any cheap Web Hosting Service support ASP,
Ms SQL Server. Let me known.
Thank
|
|
|
|
|
Hi,
I'm having a problem rounding some numbers using Javascript.
I'm using Server Side Include to call the header of my page, inside the header I'm storing numeric variables. On the main page I'm multiplying and totalling the variables. But the results do not round to 2 decimal places.
As an example
the code in my header looks like this
<script language="JavaScript">
var aa = 20.15;
var bb = 4.08;
var cc = 30.00;
</script>
the code in my main page looks like the following
<script language="JavaScript">
var a =(aa + bb)*cc;
a=a*100;
if(a % 10 == 0){ a = Math.round(a);
a=a/100; a=a+'0' } else{ a = Math.round(a);
a=a/100;
} document.write(a);
</script>
The result is 726.9
I want the result to be displayed as 726.90
Can anyone help?
Thanks in advance
|
|
|
|
|
You'll have to use some trickery to get two decimal places deep. And, leave the value as a string only converting when needed; otherwise, a trailing zero could be dropped.
x = 726.9
x = Math.round(x * 100);
x = String(x);
x = x.substring(0, x.length-2) + "." + x.substr(x.length-2, 2);
Jeremy Falcon
Imputek
<nobr>"..." - Paul Watson 07-17
|
|
|
|
|
I obtain a variant VT_ARRAY | VT_UI1 from a COM in an ASP script. I need to write the content of the variant as a response to the client.
How could i do it?
rechi
|
|
|
|
|
Response.BinaryWrite
cheers,
Chris Maunder
|
|
|
|
|
Hi,
I want to have a web service which reads data continuosly from an external hardware(eg rpm) on a serial port and returns a byte array.
I want to access this data from a aspx file. The problem is that since it is continuous data, i have to call the web service in a loop.. and this creates 100% cpu load.
Is there a better way to do it ?. I heard that there is pushlet technology in java where the server contiuosly sends data to the client (Javascript).. is there an equivalent in .net ?
In summary is there any way that the server could send data to the client continuosly without the client requesting for the data in a loop?
Thanks for any help.
Nityananda
|
|
|
|
|
I am looking to add a hit counter to an Intranet Site and was curious of the best way to do this. The only requirement is that each user should only be counted 1 time per day.
The only page that we need to track is the home page. However, if we could EASILY add a counter to all pages on our site such as adding some code to the footer on our site (which is automatically pulled into all pages through SSI) then we would be willing to do things that way.
Does anyone have any code that might be useful to me?
Chris LaQuerre
Internet Technologies Consultant
|
|
|
|
|
write a function called GetPageCount which simply gets the page count from a database or a file, increment it, and then saves it again. Then return the incremented value. Adding things like IP blocking will simply need some extra work.
Then, you can add this to the SSI and it will start counting.
<%=GetPageCount()%>
|
|
|
|
|
Hi Folks..
Im using multiple forms ie form1 and form2 in my web page(html page) and each of the form submits its values to seperate asp pages.Now after the asp pages process the values i have to comeback top this webpage.
So i use response.redirect and sometimes server.transfer from the asp page to come back the html page.and my question is how do
i avoid the page from being refreshed. i mean my webpage has some pictures(say pic1) in them and they all belong to form1 and they get changed when the user changes it to say pic2.
But now its refreshed becos form2 was submitted and comes back to the html page then my form1 has picture1 while i want it to have picture2..
Do i have to use of ispostback or some propery like that to make the page understand that it has to kind of maintain its state.
Why Need Parking lots in Bars when Drunken Driving is Prohibited
Why Need Parking lots in Bars when Drunken Driving is Prohibited
|
|
|
|
|
You can't avoid a refresh in code. I've used soem trickery in frames to have the browser look like it's not refreshing, but this is a request sent by the browser to the web server and not your page.
In short, you'll have to save the state.
Jeremy Falcon
Imputek
<nobr>"The happy people are those who are producing something; the bored people are
those who are consuming much and producing nothing." - William Ralph Inge
|
|
|
|
|
I have encountered a scenerio where I need the ability to customize a form method="post", but I cannot use this method.
Basically I need to know if it's possible using JScript to generate my own post's without using forms.
I cannot use get (open a new window w/ custom URL created in JScript) too much data.
I also would like to avoid using cookies for transmission of data....is this possible?
Thanx in advance!
Cheers!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
You'll have to send raw HTTP information directly to the server to avoid using <form ... method="post"> . I would avoid this if at all possible.
You don't need to have visible form elements at all if you are trying to pass a value. For instance...
<form action="something.html" target="_new" method="post" name="frmMain">
<input type="hidden" name="mydata" value="this is so like my data">
<a href="javascript:frmMain.submit();">Clickety</a>
</form> This will send the information without displaying anything but the link (anchor) in the browser.
What is it exactly you are wanting to do? There may be another way. If not, I'll outline some details on using raw HTTP data.
Jeremy Falcon
Imputek
<nobr>"The happy people are those who are producing something; the bored people are
those who are consuming much and producing nothing." - William Ralph Inge
|
|
|
|
|
Just send data in form fields to the server without using form tag, cookies or encoded URL's...
Pushing raw http data is the only way I see available.
How would I go abouts doing this and why would you recommend me not using this approach...so long as I do it correctly is see no worries...???
Thanx again!
Cheers
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|
|
Hockey wrote:
Just send data in form fields to the server without using form tag, cookies or encoded URL's...
From a web page or from a program? Netscape won't even render form elements unless they are enclosed in form tags. And the default method is GET, so unless you specify otherwise you won't be able to POST the data.
Jeremy Falcon
Imputek
<nobr>"The happy people are those who are producing something; the bored people are
those who are consuming much and producing nothing." - William Ralph Inge
|
|
|
|
|
From a webpage using JScript.
I've used text elements before without wrapping them in form tags in NS6+ and it worked fine.
I find in IE form tag just adds padding and causes alignment issues sometimes...
Plain and simple I hate form tags...
Thanx again!
"An expert is someone who has made all the mistakes in his or her field" - Niels Bohr
|
|
|
|