can some one help me here coz this is really killing me!
the problem is, i have this javascript code in my aspx page that i want it
to work on almost all browsers, especially opera and safari :
function resize(){
displayFrm = document.getElementById("ifrmDisplay");
innerDoc = (displayFrame.contentDocument) ?displayFrm.contentDocument :
displayFrm.contentWindow.document;
objToResize = (displayFrm.style) ? displayFrm.style : displayFrm;
objToResize.height = innerDoc.body.scrollHeight;
}
the code above gets called every time a new page is loaded inside the iframe
(ifrmDisplay) what its doing is resizing the iframe so it can have the same
size as the page inside it, so i can eliminate the need for vertical
scroller for the iframe, i assumed that it works on opera and IE at the same
time, when i tried it out, it worked on IE but not on opera. after lot of
time in researching how i can get workaround this issue with opera, that is
the best possible solution i have and yet it doesnt work. so i gave up and
asking you if you can help me out here , coz this is jst driving me crazy!
the problem is im not a javascript expert, to be honest i jst started doing
javascripts about two days ago, that is why im in need for help
by the way, here is inner html for the iframe if its any use
<iframe id="ifrmDisplay" style="Z-INDEX: 99; LEFT: 187px; WIDTH: 567px;
POSITION: absolute; TOP: 136px; HEIGHT: 408px" src="" scrolling="no"
onload="resize();">
</iframe> 4 1922
On Thu, 18 Nov 2004 13:39:17 +1300, khothikhe wrote: can some one help me here coz this is really killing me!
Sure..
can..
Sentences always start with Upper Case letters. Always.
some one..
For future reference, it is a single word - 'someone'.
help me ..
Try not to sound needy, it lowers your chances of useful answers.
here ..
here,
An occasional break in the sentence assists the reader.
coz
Kewl spellings make you sound like an SMS teenager, please
use proper words wherever practical. The word is 'because'.
..this is really ..
Really? Really, truly?
..killing me!
A good way to get help on groups is *not* to imply that the art
or craft that is the topic of discussion of the group is killing
you. It can be taken the wrong way.
For the expert answers, I leave you to the experts.
--
Andrew Thompson http://www.PhySci.org/codes/ Web & IT Help http://www.PhySci.org/ Open-source software suite http://www.1point1C.org/ Science & Technology http://www.LensEscapes.com/ Images that escape the mundane
Go fuck yourself!
if you don't have an answer to the problem then why reply with your stupid
comments!
"Andrew Thompson" <Se********@www.invalid> wrote in message
news:n7*****************************@40tude.net... On Thu, 18 Nov 2004 13:39:17 +1300, khothikhe wrote:
can some one help me here coz this is really killing me!
Sure..
can..
Sentences always start with Upper Case letters. Always.
some one..
For future reference, it is a single word - 'someone'.
help me ..
Try not to sound needy, it lowers your chances of useful answers.
here ..
here,
An occasional break in the sentence assists the reader.
coz
Kewl spellings make you sound like an SMS teenager, please use proper words wherever practical. The word is 'because'.
..this is really ..
Really? Really, truly?
..killing me!
A good way to get help on groups is *not* to imply that the art or craft that is the topic of discussion of the group is killing you. It can be taken the wrong way.
For the expert answers, I leave you to the experts.
-- Andrew Thompson http://www.PhySci.org/codes/ Web & IT Help http://www.PhySci.org/ Open-source software suite http://www.1point1C.org/ Science & Technology http://www.LensEscapes.com/ Images that escape the mundane
sounds like you have a mental problem!
go seek some professional help
"Andrew Thompson" <Se********@www.invalid> wrote in message
news:ym*****************************@40tude.net... On Thu, 18 Nov 2004 14:43:50 +1300, khothikhe wrote:
Go fuck yourself!
Well tut-tut. Your mum should wash your mouth out with soap. But at least you found your shift key, that's progress. ;-)
-- Andrew Thompson http://www.PhySci.org/codes/ Web & IT Help http://www.PhySci.org/ Open-source software suite http://www.1point1C.org/ Science & Technology http://www.LensEscapes.com/ Images that escape the mundane This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Catherine Lynn Smith |
last post by:
I want to know the recommended way to handle scripting of/with
containers such as an iframe. I have a page with border-navigation
bars on the top/bottom/left/right and I want to use an iframe to...
|
by: Ben |
last post by:
Hi,
I'm having trouble with the CSS apparently not working fully on the form
input fields when inside an iFRAME. The problem is that if I resize the
text size on the test.html page(see below)...
|
by: khothikhe |
last post by:
Can someone help me here because this is really killing me!
the problem is, i have this javascript code in my aspx page that i want it
to work on almost all browsers, especially opera and safari...
|
by: Paul Fi |
last post by:
Can someone help me here because this is really killing me!
the problem is, i have this javascript code in my aspx page that i want
it to work on almost all browsers, especially opera and safari...
|
by: paul |
last post by:
HI! I have an script that resizes an iframe and it works fine but now I need
to know how to get the iframe size after it has been resized for another
task,
Below is the iframe resizing script...
|
by: Dave |
last post by:
Usual apologies if this is old territory.
I'm resizing a bunch of iframes on a page to the height of their
contained documents. Some of the contained documents contain IMG tags.
On IE this...
|
by: Z1P2 |
last post by:
I would like to gradually resize an iframe in an onmouseover event.
I can easily do it with an image, but when I try to do it with an iframe, it doesn't do anything. So first of all, is it possible...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: jfyes |
last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome former...
| |