rejetto forum

Software => HFS ~ HTTP File Server => HTML & templates => Topic started by: TCube on November 30, 2007, 12:22:58 PM

Title: [Closed] button form on Iframe ?
Post by: TCube on November 30, 2007, 12:22:58 PM
salut à nouveau,

There no way around .. I have to have one Iframe link to a proxy.

I wish I could just present just a "button form"  which would open the Iframe, would be somehow more elegant  on the page; then users would drag/drop the Hfs links (that part works fine).

Many thanks for help
TCube
Title: Re: button form on Iframe ?
Post by: TCube on December 04, 2007, 10:29:22 AM
mars,

Je reviens au sujet maintenant parceque le proxy était tombé depuis quelques jour.
Si ca ne te gêne pas mars et si tu dispose d'un peu de temps [je peine un peu]  envoie le bout de javascript, mes exemples perso. ne sont pas bons.

merci à toi
TCube
Title: Re: button form on Iframe ?
Post by: TCube on December 04, 2007, 05:58:33 PM
Merci encore mars !
Si tout fonctionne deux rép. vont fusionner (Freenautes/non Freenautes avec bouton appel Proxy)
Très gentil à toi; mon retour dans les prochains jours
TCube
Title: Re: button form on Iframe ?
Post by: TCube on February 21, 2008, 07:29:29 PM
Hello to all !

Taken from Mars advice and code sample ... all is fine under Opera.
Still, underneath code is now compliant with IE and FF

Code: [Select]
<html>
<head>
<title></title>
 
<script type="text/javascript">
<!--
function myiframeshow(etat)
{
    document.getElementById("myiframe").style.display = etat;
}
 
//-->
</script>
</head>
<body>
<input type="button" value="Afficher Site Allmusic"onclick="myiframeshow('block')">
<input type="button" value="Masquer Site Allmusic" onclick="myiframeshow('none')">
 
<br>
 
<iframe id="myiframe" style="display:none; width: 1020px; height: 320px" scrolling="yes" frameborder="0" src="http://www.xxxxxxxxxxxxx.com/xxxxxxxxxxxxxx">
 
</iframe>
</body>
</html>


TCube