By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,521 Members | 1,420 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,521 IT Pros & Developers. It's quick & easy.

OnClick output size help

P: 1

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>
but the php page (no html or mentioning of output size) doesn't say anything like that?

<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 valign="middle">$private_photos</td>
Please help ...
May 9 '07 #1
Share this question for a faster answer!
Share on Google+

Post your reply

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