rejetto forum

[Closed] button form on Iframe ?

TCube · 4 · 4384

0 Members and 1 Guest are viewing this topic.

Offline TCube

  • Tireless poster
  • ****
    • Posts: 440
    • View Profile
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
« Last Edit: February 24, 2008, 06:40:27 AM by TCube »
Make it idiot-proof and I will make a better idiot


Offline TCube

  • Tireless poster
  • ****
    • Posts: 440
    • View Profile
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
Make it idiot-proof and I will make a better idiot


Offline TCube

  • Tireless poster
  • ****
    • Posts: 440
    • View Profile
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
Make it idiot-proof and I will make a better idiot


Offline TCube

  • Tireless poster
  • ****
    • Posts: 440
    • View Profile
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
« Last Edit: February 24, 2008, 06:45:53 AM by TCube »
Make it idiot-proof and I will make a better idiot