|
Apologies - this should work:
var root = window.opener;
while(root.opener!=null)
{
root = root.opener;
}
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
Can any one help me how to create graphical report in ASP. Thanks in Advance.
|
|
|
|
|
Take a look at FusionCharts - depends on what you intend to use them for though as the license can get pretty pricey.
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
1) Upgrade to ASP.NET
2) Use ZedGraph[^].
---- You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets .
|
|
|
|
|
|
Hi Guys,
Is it possible to use document.getElementByID("variableID").innerHTML in Classic ASP? Or is there a way on how to do it in classic asp? Because I am converting the codes from javascript into vbscript.
I would like to do something like this:
document.getElementByID("variableID").innerHTML = "100"
hifiger2004
|
|
|
|
|
hifiger2004 wrote: document.getElementByID("variableID").innerHTML = "100"
You need to see the exact property name...
|
|
|
|
|
Yup. javascript used only for Client side while the vbscript is used both in client and server side.
I actually got this link http://www.codeproject.com/KB/vbscript/SOAP___Classic_ASP.aspx
It shows here that the document.getElementById is used, but when I used the document.getElementByID in my code, it gives an error. It says - Object required 'document'
hifiger2004
|
|
|
|
|
hifiger2004 wrote: javascript used only for Client side while the vbscript is used both in client and server side.
Only on IE.
And there's still a strict separation between client VBS and server VBS. You can't touch the DOM server-side, or the server objects client-side.
---- You're right.
These facts that you've laid out totally contradict the wild ramblings that I pulled off the back of cornflakes packets .
|
|
|
|
|
hifiger2004 wrote: Is it possible to use document.getElementByID("variableID").innerHTML in Classic ASP?
No.
You can only access the DOM using client script. You can't do that from the ASP code as that runs on the server.
Despite everything, the person most likely to be fooling you next is yourself.
|
|
|
|
|
Yeah you're rightit is not possible. Anyway, I already found an alternative. But I have a new issue on how to call a function written in vbscript within the javascript?
I will just post this question as a new question.
Thanks Guys
hifiger2004
|
|
|
|
|
when you have a page that displays articles from DB...
in the normal way, you will make the page read some parameter to specify the articles
article.aspx?art_id=1
article.aspx?art_id=200
..
..
..
but what you will do if you want to name the pages by the articles names, like
here in CP ??
http://www.codeproject.com/KB/recipes/OctreeSearch.aspx
http://www.codeproject.com/KB/list/CListCtrl_ToolTip.aspx
i mean its impossible that every time CP add an article they and a new page to the
project and compile it then upload it.
what do you think ??
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
|
Hi Guys,
I have problem passing the javascript variable "tt" to vbscript. The code below doesn't work. How will I do it?
example:
var tt //javascript variable
var iResult //javascript variable
iResult = "<%=GetRoomRate(tt)%>" //here,using the tt variable in vbscript
hifiger2004
|
|
|
|
|
If you want to add some VBScript to the page, use the JavaScript document.write() function:
document.write('<script language="VBScript">/* insert VBScript code here */</script>');
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
Given the syntax, i'm guessing you're trying to call an ASP VBScript method. If so, you fail to realize that the VBScript is executed by the ASP runtime on the server, while the Javascript is executed by the end-user's browser (the client). To communicate, you'll need to use XMLHttpRequest / IFRAMEs / postbacks / etc. to initiate a request client-side and process it on the server.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
yes Shog you're right
hifiger2004
|
|
|
|
|
hifiger2004 wrote: "<%=GetRoomRate(tt)%>"
This is a serverside tag. YOu may need to use a little AJAX to communicate that way.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
All the world's a stage,
And all the men and women merely players.
They have their exits and their entrances;
And one man in his time plays many parts... --William Shakespeare
|
|
|
|
|
Hello,
I ahve a page which contains the top of my website .I want to insert it in another page so that I can keep the top same throughout all my pages.
I tried <#include top.html> but the top page didn't show up.
Regards,
Pritha
|
|
|
|
|
maybe i didn't understand you...
but check the iframe
When you get mad...THINK twice that the only advice
Tamimi - Code
|
|
|
|
|
hello,
thanks for your reply,
but I wanted to insert the side page which usually has page links to be inserted with the
#include "File.html"
command
but this somehow doesn't work.
Pritha
|
|
|
|
|
web resolution with different resolution
i have a web page i have problem that when i use table as a outer container and measure in percentage than height also fixed means i want a vertical scroll bar but its not show like not show with horizontal scroll bar.
how i can insert vertical toolbar not horizontal bar.
I will do my best?
Integrated Solutions, Bikaner (Raj.), India
|
|
|
|
|
Layout your page such that it conforms to the width of the browser client. If you're having trouble doing that, then start simple and work your way up to what you want.
Citizen 20.1.01 'The question is,' said Humpty Dumpty, 'which is to be master - that's all.'
|
|
|
|
|
Hi,
This is a client side only request,
I create a page dynamically looks like
<center>
<span style="font-size: 9pt; color: #00455a; font-family: Arial">One Line Text Here.</span>
<div><img id="Image1" style="border-top-width: 0px; border-left-width: 0px; border-bottom-width: 0px;
border-right-width: 0px" src="%image url here%"></td>
</tr></div>
<span style="font-size: 9pt; color: #00455a; font-family: Arial">Enother Text Here.</span>
</center>
the image is long and automatically generated,
When I send the page to the printer I can only see a part of the image, from the begging of the image to wherever fits one A4 piece of paper + the html.
I need the image to be printed fully. Any Ideas how to make all Image available to printer ? (Re size is not an option ... I wish it was... )
Thank for the Help and Excuse My English
|
|
|
|
|