Forum Moderators: mack

Message Too Old, No Replies

jumpto iframe help needed

Seeking resources

         

LinuxGold

3:15 am on Aug 21, 2003 (gmt 0)

10+ Year Member



Right now I am trying to convert my site from frames into a single html file since I got massive documentations going on in corporate environment. I successfully got it working, however, am having difficulty trying to hide border. I am currently trying to learn new tricks such as javascripting, css and such. I have been using html sources for years on my own personal web page. But as I entered the corporate world, I've seen the need to learn javascripting to ease my workload in developing web site for corporation. Your reference in various ways of writing iframe code with menu that controls the iframes would be greatly appreciated.

My existing source is as follows, if you have any fresh ideas, they would be appreciated:

<script language="javascript">
<!--
var displaymode=0
var iframecode='<iframe id="external" style="width:100%;height:100%;" src="../bic/bic.htm"></iframe>'
if (displaymode==0)
document.write(iframecode)

function jumpto(inputurl){
if (document.getElementById&&displaymode==0)
document.getElementById("external").src=inputurl
else if (document.all&&displaymode==0)
document.all.external.src=inputurl
else{
if (!window.win2¦¦win2.closed)
win2=window.open(inputurl)
//else if win2 already exists
else{
win2.location=inputurl
win2.focus()
}
}
}
//-->
</script>

and the pointer is as follows:

<a class="menuItem" href="javascript:jumpto('procedures/Reconstruction/Microfilm_Reader.htm')">Reconstruction</a>

JamesR

8:08 pm on Aug 25, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to the board, LinuxGold. What's your favorite OS? :)

*bump*...any iframes gurus out there?

LinuxGold

1:57 am on Aug 26, 2003 (gmt 0)

10+ Year Member



My nick is pretty much self-explainatory :)

*waiting on iframes guru to assist*