Jump to content

dsci2000

Members
  • Posts

    14
  • Joined

  • Last visited

dsci2000's Achievements

Newbie

Newbie (1/7)

0

Reputation

  1. Hi, I had a similar problem with my site. I have 3 <div> in a page and I want to make visible one of it alternative when user click on the corresponding button. <div id="attività"><p>....</p></div> <div id="tecnology"><p>....</p></div> <div id="product"><p>...</p></div>I used the following function to do thisfunction visible_div(id){ document.getElementById('attività').style.display="none"; document.getElementById('tecnology').style.display="none"; document.getElementById('product').style.display="none"; document.getElementById('main').style.display="none"; document.getElementById(id).style.display="inline";}that i call in the onClick event of the button. The result is that it work correctly on Firefox but not on Explorer 6. Someone can tell me why? "style.display" is not supported by Explorer?Thanks.
  2. Thanks for suggest. Now I'll try to modify the code.
  3. Hi, I have a problem with my site. I have to show the content of an xml file using an xsl but when I run it appear a white form. The xml and xsl text is bellow. Is there anyone that can help me to solve the problem?XML<?xml version="1.0" encoding="iso-8859-1"?><?xml-stylesheet type="text/xsl" href="vedinews.xsl"?><listanews> <news> <titolo>Barcolana 2006</titolo> <data>20061031</data> <describreve>Alfa Romeo si aggiudica l'edizione 2006</describreve> <descrizione>Anche quest'anno ad aggiudicarsi il titolo della Regata in flottiglia ormai più ambita d'Italia e non ha messo in campo la famigerata Bora dello scorso anno.</descrizione> <ref>EsitoBarcolana2006.xml</ref> </news> <news> <titolo>Barcolana 2006</titolo> <data>20061015</data> <describreve>Domenica prossima l'edizione 2006 della più famosa regata in flottiglia italiana</describreve> <descrizione>Si svolgerà la prossima settimana, domenica 8 ottobre, a Trieste, l'edizione 2006 della Barcolana, </descrizione> <ref>Barcolana2006.xml</ref> </news></listanews>XSL<?xml version="1.0" encoding="iso-8859-1"?><xsl:stylesheet version="1.0" xmlns:xsl="http://wwww.w3.org/1999/XSL/trasform"><xsl:template match="/"><html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></meta><title>Io Velista - Il sito completo per chi naviga a vela</title><link href="dsstyle.css" rel="stylesheet" type="text/css"></link></head><body>......... <table> <tr> <td width="60" valign="top"> </td> <td> <table> <tr><td> <table width="500" id="tabnews" border="0"> <xsl:for-each select="listanews/news"> <tr> <td width="450" background="logos\Sf_TitoloNews.png" class="titolonews"> <a><xsl:value-of select="titolo"/></a> </td> </tr> <tr> <td class="descrinews"><a><xsl:value-of select="describreve"/></a></td> </tr> </xsl:for-each> </table> </td></tr> </table> </td> </tr> </table> </td> </tr> <tr height="400"><td></td></tr></table></body></html> </xsl:template></xsl:stylesheet>thanks
  4. oh oh... you're right. Thanks a lot. I'll try asap.bye
  5. dsci2000

    mail with php

    Hi all,is that possible to send an email with php? I'm projecting a php site and I'd like to manage an email form on it.can someone help me?thanks
  6. thanks for your reply but i tried to correct the code and the script dosen't work.any other ideas? tdhover and titolotableft are defined in a css file. Is that a problem? thanks for your help.
  7. Hi all,I've a problem with a simple (or seem so) html page.I've the follow javascript function defined in the head section:<script type="text/javascript" language="javascript">function changeclass(vid,cls){ document.getEelementById(vid).class=cls;}</script>In the html body I write the code <td class="titolotableft" id="tdhowto" align="left" onMouseOver="changeclass('howto','tdhover')" onMouseOut="changeclass('howto','titolotableft')"> <a>Come si fa...</a> </td>but when in the browser (IE) this not work.What's wrong?thanks for help.
  8. Hi,I inserted in my site an ASP page where I try to connect with an Access database without a DSN. Bellow the code I used in my page:" objconn = Server.createObject("ADODB.connection"); strcon = "Provider=Microsoft.Jet.OLEDB.4.0; DataSource=" & Server.MapPath("mdb-database/riviera.mdb"); objconn.Open(strcon);"but when it run this is the result:"Microsoft OLE DB Provider for ODBC Drivers error '80004005' [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified /MaintManage.asp, line 150 "Is it possible the provider doesn't support this connection type? Or is the code wrong? Thneks for help?bye
×
×
  • Create New...