ckennerdale
Programmer
I am trying to set some forward and back buttons to control the content inside an iframe-
This is the code I have adapted from my navigation code I use if I have two frames, but it doesnt work despite naming the iframe.
Any ideas?
Thanks in advance.
--------
<html>
<head>
<script>
function goBack()
{
iFrame!.history.back();
}
function goForward()
{
iFrame!.history.forward();
}
</script>
</head>
<body bgcolor="#FFFFFF" onLoad="LoadVars()">
<iframe name="iFrame!" frameborder="0" align="top" noresize height="238" width="176" src=" [Your Browser Does Not Support Inline Frames]
</iframe>
<br>
<a href=javascript:goBack();>back </a>-
<a href=javascript:goForward();>forward </a>-
</body>
</html> Caspar Kennerdale
Senior Media Developer
This is the code I have adapted from my navigation code I use if I have two frames, but it doesnt work despite naming the iframe.
Any ideas?
Thanks in advance.
--------
<html>
<head>
<script>
function goBack()
{
iFrame!.history.back();
}
function goForward()
{
iFrame!.history.forward();
}
</script>
</head>
<body bgcolor="#FFFFFF" onLoad="LoadVars()">
<iframe name="iFrame!" frameborder="0" align="top" noresize height="238" width="176" src=" [Your Browser Does Not Support Inline Frames]
</iframe>
<br>
<a href=javascript:goBack();>back </a>-
<a href=javascript:goForward();>forward </a>-
</body>
</html> Caspar Kennerdale
Senior Media Developer