Jump to content
php.lv forumi

mouseover script


Edijs87

Recommended Posts

vēlējos uzzināt, kāpēc pievienojot šadu rindiņu, man sānā parādās šīs bildes maliņa, bet uzejot ar kursoru nekas nemainās?

 

<div class= style="position:fixed; left:0; top:0; margin-top:193px;"><a href="SAITS UZ KURIENI VEDĪS"><img src="VIETA, KUR STAAV BILDE" alt="" width="399" height="109" border="0" class="suppimg" id="suppimg" style="float:left; position:absolute; z-index:1000; margin-left:-377px; cursor:pointer;" onmouseover="ShowBox()" onmouseout="HideBox()" /></a></div>

Edited by Edijs87
Link to comment
Share on other sites

<style type="text/css">
.magical-link .title {
 display:block;
}

.magical-link .description {
 display: none;
}

.magical-link:hover .description {
 display:block;
}
</style>

<a href="#" class="magical-link">
 <span class="title">Title 1</span>
 <span class="description">Description 1</span>
</a>


<a href="#" class="magical-link">
 <span class="title">Title 2</span>
 <span class="description">Description 2</span>
</a>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...