|
| ||||||||||
| Tags: cascading style sheet, css, html tag, span |
![]() |
| | Thread Tools | Search this Thread |
|
#1
| ||||
| ||||
| How to return to online for a span
HTML Code: $ mp3 = '<span title = "'$. filesize_mp3.'<br> RS "> <a href="#"> <img src="mp3.gif" align="absmiddle" class="Img01" /> </ a> </ span>'; Is there anyone who can help me or explain me about the same? |
|
#2
| |||
| |||
| Re: How to return to online for a span
The <span> is unnecessary. If you just want to put a title attribute, you can do on any item here on <a>. We can not put in an attribute tag, title or another. We can not save for end of line in a bubble title. If you really want, you'll have to go DIY and make JavaScript for bubbles whose content is in HTML. |
|
#3
| ||||
| ||||
| Re: How to return to online for a span
I tried like that, but without result: HTML Code: $ mp3 = '<script language="JavaScript"> document.write ( "span title ="'$. filesize_mp3.'\ nLine2 ">)</ script> '; $ mp3 .= <a href="#"> <img src = " '$. path2icons.'mp3_yes.gif "align =" absmiddle "class =" img01 "/> </ a> </ span>'; |
|
#4
| |||
| |||
| Re: How to return to online for a span
When I talked about tinkering in JavaScript, I meant "we can not do that with normal tooltip with title, so instead we'll schedule tooltips that accept html, JavaScript. I know it is, but I can not give you a starting point. Basically you have no need of this new line. |
|
#5
| |||
| |||
| Re: How to return to online for a span
It would be nice to have a bit more html code. I'll assume the following: HTML Code: <div class ="file"> <img id ="logo" src ="logoFile.jpg" alt =""> <span id ="bubble"> size: 2MB <br /> Duration: 02:05<br /> etc: info </ span> </ div> HTML Code: .file {
position: relative;
}
.file span {
position: absolute;
display: none;
/** has to change depending on how you want **/
width: 200px;
top: 80px;
left: 40px;
padding: 5px;
background: #eeffce;
/*****/
} HTML Code: var img = window.document.getElementById('logo');
var span = window.document.getElementById('bubble');
img.onmouseover = function(){
span.style.display = "block";
}
img.onmouseout = function(){
span.style.display = "none";
} |
|
#6
| ||||
| ||||
| Re: How to return to online for a span
I used like that, but it not even displays the tooltip HTML Code: <head> <style> .file { position: relative; } .file span { position: absolute; display: none; /** has to change depending on how you want **/ width: 200px; top: 80px; left: 40px; padding: 5px; background: #eeffce; /*****/ } </style> <script language="JavaScript"> var img = window.document.getElementById('logo'); var span = window.document.getElementById('bubble'); img.onmouseover = function(){ span.style.display = "block"; } img.onmouseout = function(){ span.style.display = "none"; } </script> </head> <body> <div class="file"> <img id="logo" src="1.png" alt=""> <span id="bubble"> size : 2MB<br /> duration : 02:05<br /> etc : info </span> </div> |
![]() |
|
| Thread Tools | Search this Thread |
| |
Similar Threads for: "How to return to online for a span" | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Making 5x1 monitor span | kAKoLI | Monitor & Video Cards | 2 | 06-12-2011 02:33 AM |
| Want to span wallpaper on two screens | Tallin | Customize Desktop | 4 | 10-11-2010 05:06 PM |
| How to span disk in linux | TechGate | Operating Systems | 4 | 11-03-2010 08:37 PM |
| span width in HTML Css | Ash maker | Software Development | 5 | 03-03-2010 09:17 PM |
| Bring Horizontal Span back please! | SteveA | Vista Help | 12 | 05-03-2009 06:38 AM |