chrometweaks.org

Using Web Page Maker v2 with iPage?

Click Here To View All Answers...


First question I have is Using Web Page Maker v2 with iPage? Looking forward for any answer. My other question... Hello , Again.

I am want to add this code to my productinfo.php. Where do I put it to fit just under the product attributes. thanks so much guys.

<form><input type="button" value="Size Chart" onClick="window.location.href='images/chart1.jpg'"></form>..

Comments (88)

Hmm... I need to find out myself. I don't know what is the answer to that question. I'll do some poking around and get back to you if I bump into an anything. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

Thanks, that could works just awesome, but where in my productinfo.php do I place this code to fit under the product attributes...

Comment #2

I have marked the new code above - this shows where it goes in your file - it can be further refined to control the window size etc..

Matti..

Comment #3

Oh, OKay thanks Matti I really appreciate your help. thank you..

Comment #4

Matti,.

Go to my iPage website and check it out..

My Webpage..

Comment #5

Looks good, works nice, except for:.

This post has been edited by.

Fl70.

: 24 April 2004, 03:00..

Comment #6

Dunno - works ok on my server, but yours wants to put product_info.php into the URL - try:.

      <td align="left"><input type="button" value="Size Chart"  onClick="window.open('<?php echo tep_href_link(DIR_WS_IMAGES'account_orders.gif'); ?>', 'Sizes','width=470,height=452,left=10,top=163,location=no, menubar=no,status=no,toolbar=no,scrollbars=no,resizable=yes')"></td>..

Comment #7

Great! You just need to set the width and height options I posted to size the window correctly. Use left and top to position the window on the screen - have a play.

Matti.

This post has been edited by.

Johnson.

: 24 April 2004, 05:58..

Comment #8

Hello , Again.

I am want to add this code to my productinfo.php. Where do I put it to fit just under the product attributes. thanks so much guys.

<form><input type="button" value="Size Chart" onClick="window.location.href='images/chart1.jpg'"></form>..

Comment #9

It should not have <form> tags - I have posted what I think you are trying to do:.

<tr>.

<td class="main"><?php echo $products_options_name['products_options_name']':'; ?></td>.

<td class="main"><?php echo tep_draw_pull_down_menu('id['$products_options_name['products_options_id']']', $products_options_array, $selected_attribute); ?></td>.

</tr>.

<?php.

}.

?>.

<! new code //>.

<tr>.

<td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>.

</tr>.

<tr>.

      <td align="left"><input type="button" value="Size Chart"  onClick="window.open('<?php echo DIR_WS_IMAGES'chart1.jpg'; ?>', 'Sizes','width=470,height=452,left=10,top=163,location=no, menubar=no,status=no,toolbar=no,scrollbars=no,resizable=yes')"></td>.

</tr>.

<! EOF new code //>.

</table>.

<?php.

}.

?>.

This post has been edited by.

Johnson.

: 24 April 2004, 02:36..

Comment #10


This question was taken from a support group/message board and re-posted here so others can learn from it.