Jump to content


Click = Hide/Display table or images? n00b help.


2 replies to this topic

#1 Skullpop

    Young Padawan

  • Members
  • Pip
  • 2 posts

Posted 29 May 2005 - 05:39 AM

Hey.. First post, long time tutorial reader.

I've designed this navigation bar in photoshop, and i can export the sliced to dreamweaver, but what PHP would i need for a little button or image to be pressed next to it for the user to hide the table? Just, hide the table of images or whatever?

My page is basically HTML wrapped in PHP.

Here's the really basic code:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Untitled Document</title>
</head>

<body>
<table id="Table_01" width="798" height="76" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td width="160" height="76" align="left" valign="top" background="../images/navbar_01.gif"><p><span class="style29"><span class="style20"><span class="style20"><span class="style3">• Home Page</span></span></span></span></p></td>
                  <td width="160" height="76" align="left" valign="top" background="../images/navbar_02.gif" class="IGsoft"><p class="style30">• Video Home<br>
                    • Page 1, 2, 3, 4.<br>
                    • Video FAQ<br>
                    • Video Help Desk</p>
                  </td>
                  <td width="160" height="76" align="left" valign="top" background="../images/navbar_03.gif"><p><span class="style29"><span class="style20"><span class="style20"><span class="style3">• Pictures Home<br>
• Page 1, 2, 3, 4.<br>
• Video FAQ<br>
• Video Help Desk</span></span></span></span></p></td>
                  <td width="160" height="76" align="left" valign="top" background="../images/navbar_04.gif"><p><span class="style29"><span class="style20"><span class="style20"><span class="style3">• Flash Home<br>
• Page 1, 2, 3, 4.<br>
• Video FAQ<br>
• Video Help Desk</span></span></span></span></p></td>
                  <td width="160" height="76" align="left" valign="top" background="../images/navbar_05.gif"><p><span class="style29"><span class="style20"><span class="style20"><span class="style3">• Grand Selection List <br> 
                              <span class="style31">Breifly:</span><br>
• Video FAQ<br>
• Video Help Desk</span></span></span></span></p></td>
                </tr>
</table>
<p><a href="CHANGE%20THIS">Hide this navigational bar</a> </p>
</body>
</html>

Thanks guys, any help appreciated.

#2 fiv3isaliv3

    Young Padawan

  • Members
  • Pip
  • 258 posts
  • Gender:Male

Posted 29 May 2005 - 11:41 AM

well you could use php to do it but i would go with a different language. try dynamicdrive.com they might have what you are looking for. if you do want to know how it could be done in php just message me and i'll tell you.

#3 maansson

    Young Padawan

  • Members
  • Pip
  • 132 posts
  • Gender:Male
  • Location:Lund, Sweden
  • Interests:Hmm, not much for Photoshop. Havn't taking time to learn it yet. Use Fireworks to the graphical area. More into coding and stuff. PHP, CSS, Java and of course HTML.

Posted 30 May 2005 - 05:20 PM

I found something similar a while ago, and here's the link to it. It's not using table but div's. See if you can have anything out if it...

Sincerely yours,
maansson





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users