473,410 Members | 1,873 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,410 software developers and data experts.

OnClick output size help

Hi

I need to modify the output size upon click on 'more photos" so that I can add some pictures in the out put box ...

The relevent html code I can find (copied from the display html) is as follows: -

<table style="margin-top:2px; margin-bottom:2px;" border=0 cellspacing=0 cellpadding=0><tr height=20><td width=4 height=20><img src=templates/tmpl_act/images_act/button3_left.gif width=4 height=20></td><td height=20 valign=middle background=templates/tmpl_act/images_act/button3_fill.gif><a href="javascript: void(0);" onClick="javascript: get_gallery(1);"><img src=templates/tmpl_act/images_act/pa_photos.gif border=></a></td><td height="20" valign="center" background=templates/tmpl_act/images_act/button3_fill.gif class=small3>
&nbsp;&nbsp;<a href="javascript: void(0);" onClick="javascript: get_gallery(1);">more
photos</a>&nbsp;&nbsp;</td><td width=4 height=20><img src=templates/tmpl_act/images_act/button3_right.gif width=4 height=20></td></tr></table>
</td>
but the php page (no html or mentioning of output size) doesn't say anything like that?

</td>
</tr>
<tr class=table>
<td align="left" valign="bottom">
<form id="Private{$pic_index}Form" action="{$_SERVER['PHP_SELF']}" method="POST">
<input type="hidden" name="mark_private" value="$pic_index">
<table class="text2" cellpadding="0" cellspacing="0" border="0">
<tr class=table>
<td valign="middle"><a href="javascript: void();" onClick="javascript: document.forms['DeletePrimary{$pic_index}Form'].submit(); return false;">$delete</a></td>
<td align=\"center\" valign=\"middle\" width=\"6\">&nbsp;|&nbsp;</td>
<td valign="middle">
<input class="no" $checked onClick="javascript: document.forms['Private{$pic_index}Form'].submit();" type="checkbox" name="mark_private_{$pic_index}">
</td>
<td valign="middle">$private_photos</td>
</tr>
</table>
</form>
Please help ...
May 9 '07 #1
0 1229

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

Similar topics

3
by: Jamie Jackson | last post by:
I'm rewriting all links' onclick events, but I'm having a problem. The onclick event that I'm inserting works correctly in Opera, but not in FF or IE. I'm retroactively adding the statement...
3
by: juicy | last post by:
Hi, I have 4 check box and a textarea. When user check each check box, it will append text in the textarea. In onclick event, it calls getSurcharge function and append value in variable output....
4
by: jj6849 | last post by:
I have been using the dom to add a row to my form for awhile now, but now I need to do some validation to make sure certain check boxes aren't checked with other check boxes. Now of course it works...
4
by: since | last post by:
How do I in IE prevent the onclick action from being fired when I am done dragging? have tried "window.event.cancelBubble = true", for onmouseup , onmousedown, and onmousemove handlers. The onclick...
1
by: sourcie | last post by:
I am changing an existing quiz found on "JavaScriptKit.com Multiple Choice Quiz" I have an image. Instead of using the radio buttons with the normal true/false question, I want to place two...
2
by: stevemtno | last post by:
I've got a problem with a web page I'm working on. I have 4 modules - one of them has 2 tabs, two of them have 4 tabs. When the user clicks on the tabs, the content below them changes. However, when...
1
by: timmehtong | last post by:
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...
1
by: Amit1980 | last post by:
I have to toggle the arrow image on onclick event. Here is the code with the required functionility. What I want now is, when the page loads there will be right arrow images. The arrow should be...
18
by: wizdom | last post by:
Help - change text on click - text has another onclick inside with php variables ---------- I think what I'm trying to do is simple. I have a 2 buttons on a page. 1 button allows a thread of...
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?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

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.