Jump to content

Search the Community

Showing results for tags 'eventclick'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • W3Schools
    • General
    • Suggestions
    • Critiques
  • HTML Forums
    • HTML/XHTML
    • CSS
  • Browser Scripting
    • JavaScript
    • VBScript
  • Server Scripting
    • Web Servers
    • Version Control
    • SQL
    • ASP
    • PHP
    • .NET
    • ColdFusion
    • Java/JSP/J2EE
    • CGI
  • XML Forums
    • XML
    • XSLT/XSL-FO
    • Schema
    • Web Services
  • Multimedia
    • Multimedia
    • FLASH

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests


Languages

Found 1 result

  1. hi this is my code....how to get click value from href and then show a picture on div layer....?? <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Untitled Document</title><style>#layer{ top:0; left:0; height:100%; width:100%; position:absolute; background-color:blue; display:none; opacity:0.5; color:red;}#asd{ color:red; }</style><script type="text/javascript" language="JavaScript"><!--function HideContent(d) {if(d.length < 1) { return; }document.getElementById(d).style.display = "none";}function ShowContent(d) {var img=new Array();img[0]="a.jpg"; img[1]="b.jpg";img[2]="c.jpg"; if(d.length < 1) { return; }document.getElementById(d).style.display = "block";}function ReverseContentDisplay(d) {if(d.length < 1) { return; }if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }else { document.getElementById(d).style.display = "none"; }}//--></script> </head><body><div><a onclick="ShowContent('layer'); return true;" href="javascript:ShowContent('layer')" name="show1" title="show1">[show>>>>> 1]</a><a onclick="ShowContent('layer'); return true;" href="javascript:ShowContent('layer')" name="show1" title="show2">[show>>>>> 2]</a> </div><div id="layer" >Content goes here.<a onclick="HideContent('layer'); return true;" href="javascript:HideContent('layer')" ><img src="" id="show1"/>[hide>>>>>> 1]</a></div> <!--<a onmouseover="ReverseContentDisplay('layer'); return true;" href="javascript:ReverseContentDisplay('layer')">[show/hide]</a>--> </body></html>
×
×
  • Create New...