Os dejo la pagina en que me da fallo para que lo veais [URL="http://www.icebergworldweb.com/formulario.html"]http://www.icebergworldweb.com/formulario.html[/URL]
Alguna ayuda? he repasado los codigos una y otra vez y no veo el problem. pero si que es verdad que el dreamweaver me dice que hay un error que os comento mas abajo. os lescribo todos los codigos para mayor info:
Este seria el codigo del html (creo que esta ok)
Código:
div id="page"> <div id="content"> <body id="main_body" > <img id="top" src="top.png" alt=""> <div id="form_container"> <h1><a>Formulario de contacto</a></h1> <form id="form_65580" class="appnitro" method="post" action="[email protected]"> <div class="form_description"> <h2>Formulario de contacto</h2> <p>Haznos la consulta que te surga, lo contestaremos con la mayor brevedad posible.</p> </div> <ul > <li id="li_1" > <label class="description" for="element_1">Nombre </label> <span> <input id="element_1_1" name= "element_1_1" class="element text" maxlength="255" size="8" value=""/> <label>Nombre</label> </span> <span> <input id="element_1_2" name= "element_1_2" class="element text" maxlength="255" size="14" value=""/> <label>Apellido</label> </span> </li> <li id="li_2" > <label class="description" for="element_2">E-m@il </label> <div> <input id="element_2" name="element_2" class="element text medium" type="text" maxlength="255" value=""/> </div> </li> <li id="li_3" > <label class="description" for="element_3">Teléfono </label> <div> <input id="element_3" name="element_3" class="element text medium" type="text" maxlength="255" value=""/> </div> </li> <li id="li_4" > <label class="description" for="element_4">CONSULTA </label> <div> <textarea id="element_4" name="element_4" class="element textarea medium"></textarea> </div> </li> <li class="buttons"> <input type="hidden" name="form_id" value="65580" /> <input id="saveForm" class="button_text" type="submit" name="submit" value="Enviar" /> </li> </ul> </form> <div id="footer2"> Gracias por tu consulta </div> </div> <img id="bottom" src="bottom2.png" alt=""> </div>
Aca viene un archivo muy raro que nunca habia visto esa extension "iepngfix.htc" lo llamo como si fuese javascript en el html y es donde me dice que hay un error en la function filt(s,m) mas concretamente dice que es en la linea del "if":
Código:
Alquien me hecha un cable?? Muchas gracias de antemano. <public:component> <public:attach event="onpropertychange" onevent="doFix()" /> <script type="text/javascript"> // IE5.5+ PNG Alpha Fix v1.0RC4 // (c) 2004-2005 Angus Turnbull http://www.twinhelix.com // This is licensed under the CC-GNU LGPL, version 2.1 or later. // For details, see: http://creativecommons.org/licenses/LGPL/2.1/ // This must be a path to a blank image. That's all the configuration you need. if (typeof blankImg == 'undefined') var blankImg = 'blank.gif'; var f = 'DXImageTransform.Microsoft.AlphaImageLoader'; function filt(s, m) { if (filters[f]) { filters[f].enabled = s ? true : false; if (s) with (filters[f]) { src = s; sizingMethod = m } } else if (s) style.filter = 'progid:'+f+'(src="'+s+'",sizingMethod="'+m+'")'; } function doFix() { // Assume IE7 is OK. if (!/MSIE (5\.5|6\.)/.test(navigator.userAgent) || (event && !/(background|src)/.test(event.propertyName))) return; var bgImg = currentStyle.backgroundImage || style.backgroundImage; if (tagName == 'IMG') { if ((/\.png$/i).test(src)) { if (currentStyle.width == 'auto' && currentStyle.height == 'auto') style.width = offsetWidth + 'px'; filt(src, 'scale'); src = blankImg; } else if (src.indexOf(blankImg) < 0) filt(); } else if (bgImg && bgImg != 'none') { if (bgImg.match(/^url[("']+(.*\.png)[)"']+$/i)) { var s = RegExp.$1; if (currentStyle.width == 'auto' && currentStyle.height == 'auto') style.width = offsetWidth + 'px'; style.backgroundImage = 'none'; filt(s, 'crop'); // IE link fix. for (var n = 0; n < childNodes.length; n++) if (childNodes[n].style) childNodes[n].style.position = 'relative'; } else filt(); } } doFix(); </script> </public:component>