473,395 Members | 1,931 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Help with this code here

http://www.teatime.pwp.blueyonder.co.uk/music.htm

I want the 'More information | Time.... | Download' to be in a table so
each time it appears it lines up with the previous one, but I can't work out
how to do it - each time I try, the text appears on the line below rather
than the line as it currently is. Any suggestions?
Also I'd like all the information to display expanded if the person doesn't
have javascript enabled, which I don't think happens currently. Again any
help welcome...
TIA
--
My music - http://www.jonathandalton.com
Jul 23 '05 #1
3 866
"Mr. Teatime" <mr*************@SPAMhotmail.com> wrote in message
news:h%*********************@news-text.cableinet.net...
http://www.teatime.pwp.blueyonder.co.uk/music.htm

I want the 'More information | Time.... | Download' to be in a table so each time it appears it lines up with the previous one, but I can't work out how to do it - each time I try, the text appears on the line below rather
than the line as it currently is. Any suggestions?
<table>
<tr>
<td colspan="5" style="text-align: left;">
<!-- title here, eg "NEW ♪ ♫ Bring On The Rain" -->
</td>
</tr>
<tr>
<td> <!-- More info --> </td>
<td> | </td>
<td> <!-- Time/Size details --> </td>
<td> | </td>
<td> <!-- Download link --> </td>
</tr>
<tr class="open">
<td colspan="5"> <!-- colspan="6" if you want it to horizontally
overrun the other table contents -->
<!-- Additional info text block -->
</td>
</tr>
<tr>
<td> <!-- Divider --> </td>
</tr>
<!-- repeat for other entries -->
</table>

I'm not 100% sure that "display: none;" will work on <tr>s, but I can't see
why not.
Also I'd like all the information to display expanded if the person doesn't have javascript enabled, which I don't think happens currently.


Set the info blocks to "open" in the code, then use Javascript to close them
when the page loads. You've already got the function written, so you just
have to add
onload="setup();"
to your body tag.

Hope that helps.

--

Jason, aka The Blue Raja
Jul 23 '05 #2

Set the info blocks to "open" in the code, then use Javascript to close them when the page loads. You've already got the function written, so you just
have to add
onload="setup();"
to your body tag.

Hope that helps.

I have tried this - if you go to music3.htm, it's there. Whilst loading from
my HD, the code works, but from the server, all text is displayed expanded
(some computers it works fine). Any ideas?

--
My music - http://www.jonathandalton.com
Jul 23 '05 #3
"Mr. Teatime" <mr*************@SPAMhotmail.com> wrote in message
news:Jf*********************@news-text.cableinet.net...
Set the info blocks to "open" in the code, then use Javascript to close them
when the page loads. You've already got the function written, so you just have to add
onload="setup();"
to your body tag.

Hope that helps.


I have tried this - if you go to music3.htm, it's there. Whilst loading

from my HD, the code works, but from the server, all text is displayed expanded
(some computers it works fine). Any ideas?


Using both IE6 and Netscape 7.1 I see all the text expanded until the page
has completely loaded, then it hides the extra info.
The lag is probably due to image loading times, which are tiny locally, but
significant remotely. I'm not sure what can be done to fix that :o(

--

Jason, aka The Blue Raja
Jul 23 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: dixie | last post by:
Help, I'm really out of my depth here (not unusual I hear you say :-). I have just installed HTML Help in an application. I told it in the Project Properties the path to the help file. I then...
13
by: Chua Wen Ching | last post by:
Hi there, I saw this article here in vb.net. http://www.error-bank.com/microsoft.public.dotnet.languages.vb.1/148992_Thread.aspx and ...
3
by: inkexit | last post by:
I need help figuring out what is wrong with my code. I posted here a few weeks ago with some code about creating self similar melodies in music. The coding style I'm being taught is apparently a...
0
by: gunimpi | last post by:
http://www.vbforums.com/showthread.php?p=2745431#post2745431 ******************************************************** VB6 OR VBA & Webbrowser DOM Tiny $50 Mini Project Programmer help wanted...
1
by: dsoutherland | last post by:
I am so new to ASP I'm not sure I am breathing. A company one of my clients deals with provides information over the web. They provided the ASP code for a default web site that is used to...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.