![]() ![]() ![]() ![]() |
kits graphiques
![]() ![]() ![]() |
#1
|
|||
|
|||
![]()
Bonjour,
J'utilise le template 9 (vraiment génial d'ailleur) pour le site d'un ami. Je voudrais insérer un lien vers un autre site web sur l'un des boutons mais que celui ci s'ouvre dans une nouvelle page. Pourriez vous me donner une solution. Par avance merci Last edited by edagh; 10-07-2010 at 08:12 AM. |
#2
|
|||
|
|||
![]()
Bonjour,
Dans main.js vous pouvez essayer de remplacer la fonction : function myButton (buttonText,buttonLink) { if (!online && !isIE) { document.write(' <DIV ID="flashMovie'+(anim_ids+1)+'" STYLE="width: 200; height: 31; z-index: 100;" onClick="showPage(\''+buttonLink+'\','+anim_ids+1+ ')">'); } AC_FL_RunContent('codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','width','200','height ','31','src','flash/button','quality','high','pluginspage','http://www.macromedia.com/go/getflashplayer','movie','flash/button','flashvars','custom_xml_url=button.xml&ite m_text='+buttonText+'&item_url='+buttonLink+'&butt on_id='+(anim_ids+1)+'&isIE='+isIE,'scale','noScal e','wmode','transparent'); if (!online && !isIE) { document.write('</DIV>'); } } par function myButton (buttonText,buttonLink) { document.write(' <DIV ID="flashMovie'+(anim_ids+1)+'" STYLE="width: 200; height: 31; z-index: 100;" onClick="showPage(\''+buttonLink+'\','+anim_ids+1+ ')">'); document.write('</DIV>'); }
__________________
Cela nous fait toujours plaisir de vous lire dans notre rubrique témoignages... |
![]() |
|
|