473,326 Members | 2,168 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,326 software developers and data experts.

Resize pictures to take up given table area and resize back to original size onclick

Can someone help me on this. I got part of it done but i need help on the last part. What I'm trying to do is make the pictures from the smaller size go bigger and take up the given table area and then when i press it again it will reduce back to its previous size

[HTML]
<Tr>

<td align="center" height="5%" colspan="3"><font size="5"><font color="white"><b><u><center>Chandra's Photos</u></b></font></td></tr>
<tr>
<td height="95%"><font size="3"><font color="white"><center>

<img id="img1" src="F4Elite_Chandra_Pyramid.JPG" width="200" hspace=10 title="Derek" style="cursor:pointer;" onClick="javascript:switch_to_big_area(this.id);"> </td>
<td><img id="img2" src="Chandra's_Cake.JPG"width ="200" hspace=10 title="Best Badminton Cake Ever" style="cursor:pointer;" onClick="javascript:switch_to_big_area(this.id);"> </td>
<td><img id="img3" src="F4Elites_Chandra.JPG" width="200" hspace=10 title="Jon, Justin, Chandra, Pete, Tim" style="cursor:pointer;" onClick="javascript:switch_to_big_area(this.id);"> </td>

</tr>
<tr>
<td><img id="img4" src="GGBC_Team_Chandra_Birthday.JPG" width="200" hspace=10 title="The Whole Badminton Team With Chandra" style="cursor:pointer;" onClick="javascript:switch_to_big_area(this.id);"> </td>
<td><img id="img5" src="augustus1.jpg" width="200" hspace=10 title="No Picture" style="cursor:pointer;" onClick="javascript:switch_to_big_area(this.id);"> </td>
<td><img id="img8" src="augustus2.jpg" width="200" hspace=10 title="No Picture" style="cursor:pointer;" onClick="javascript:switch_to_big_area(this.id);"> </td>
</tr>[/HTML]
Mar 12 '08 #1
1 1508
acoder
16,027 Expert Mod 8TB
According to your other thread, it seems that you solved this. It would be courteous to post your final working solution.
Mar 12 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

4
by: Matt | last post by:
When the user resize the browser, the "Frequently Used Link" and "Table 1" and "Table 2" will shift to the left hand side, but table position is unchanged. I really have no idea how to fix that. I...
6
by: David Hayes | last post by:
juglesh <juglesh@nospamRadioKDUG.com> wrote in "Re: how to maximize the browser window that fits the monitor size?" (Saturday, January 01, 2005 3:12 AM): > > >I want to maximize the browser...
2
by: joltman | last post by:
OK, this is kind of hard to explain, so I'll do my best: I have a form where I have a row where there could be multiple entries, so I have a link where it will dynamically add another row like it,...
6
by: Ty Salistean | last post by:
I have a form that I inherited from System.Windows.Forms. I use that form everywhere in my system. I went back to my base class form and changed the size, expecting all of my children forms to...
15
by: David Lozzi | last post by:
Howdy, I have a function that uploads an image and that works great. I love ..Nets built in upload, so much easier than 3rd party uploaders! Now I am making a public function that will take the...
0
by: RubbedLung | last post by:
http://www.hometeamproperties.net/Forms/PVA/LPV.htm As you can see its a valid page but now the bottom right rounded corner is gone, and there are entire blocks of color missing from the interior...
3
by: =?Utf-8?B?UiBSZXllcw==?= | last post by:
Hi! This discussion may help other programmers get a better idea of how to save uploaded images through a website. Why? Well currently, I save 3 versions of every uploaded image on my own...
1
oranoos3000
by: oranoos3000 | last post by:
hi would you please help me i have a online shopping center that i show pictures of the my product in home page. in the InterExplorer pictures is shown correctly but in Firefox browser is shown...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.