chrometweaks.org

Uploading a Flash Website to iPage?

Click Here To View All Answers...


First question I have is Uploading a Flash Website to iPage? Thanks for any answer or 2. Second question of mine... When I click on the link Click to Enlarge in the product information pages, only a small empty window is accessed. What do I do to make an enlarged copy of the product graphic appear in a larger window. The empty window that appears is the same size as the small graphic on the product page...

Comments (78)

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

Comment #1

Here is the Javascript from the head:.

<script language="javascript"><!.

Function popupWindow(url) {.

Window.open(url,'popupWindow','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,res.

Izable=yes,copyhistory=no,width=100,height=100,screenX=150,screenY=150,top=150,le.

Ft=150').

}.

//></script>.

And here is the Javascript from the area that activates it:.

<table border="0" cellspacing="0" cellpadding="2" align="right">.

<tr>.

<td align="center" class="smallText">.

<script language="javascript"><!.

Document.write('<a href="java script:popupWindow(\'http://mail.bankersonline.com/catalog/popup_image.php?pID=34\')"><img src="images/wheremoneyis.jpg" border="0" alt="Where the Money Is" title=" Where the Money Is " width="100" height="90" hspace="5" vspace="5"><br>Click to enlarge</a>');.

//></script>.

<noscript>.

<a href="http://mail.bankersonline.com/catalog/images/wheremoneyis.jpg" target="_blank"><img src="images/wheremoneyis.jpg" border="0" alt="Where the Money Is" title=" Where the Money Is " width="100" height="90" hspace="5" vspace="5"><br>Click to enlarge</a></noscript>.

</td>.

</tr>.

</table>..

Comment #2

Images should be as large as the enlarged image you want, other uses can be reduced to the settings you have in admin/configuration/images....

Comment #3

Your catalog/popup_image.php seems to not be creating the img tag, but does create a href with some javascript in it..

Looks like a contribution has also modified it. (meta tags etc.).....MS2 MAX......

It's a small file, 39 lines can you post it so we can see what it has in it..

Tom..

Comment #4

Need to see your catalog/popup_image.php file not the catalog...

Comment #5

Here is the catalog/popup_imagae.php.

<?php.

/*.

$Id: popup_image.php,v 1.18 2003/06/05 23:26:23 hpdl Exp $.

OsCommerce, Open Source E-Commerce Solutions.

Http://www.oscommerce.com.

Copyright © 2003 osCommerce.

Released under the GNU General Public License.

*/.

Require('includes/application_top.php');.

$navigation->remove_current_page();.

$products_query = tep_db_query("select pd.products_name, p.products_image from "TABLE_PRODUCTS" p left join "TABLE_PRODUCTS_DESCRIPTION" pd on p.products_id = pd.products_id where p.products_status = '1' and p.products_id = '"(int)$HTTP_GET_VARS['pID']"' and pd.language_id = '"(int)$languages_id"'");.

$products = tep_db_fetch_array($products_query);.

$content = CONTENT_POPUP_IMAGE;.

$javascript = $content'.js';.

$body_attributes = ' onload="resize();"';.

Require(DIR_WS_TEMPLATESTEMPLATENAME_POPUP);.

Require('includes/application_bottom.php');.

?>..

Comment #6

Hi Zia,.

Between MS2 MAX and what appears to a "Template System" I can't help out here..

This looks nothing like the standard MS2 distribution..

The "require(DIR_WS_TEMPLATESTEMPLATENAME_POPUP);", will need examination.

And trouble shooting to get this going..

If you what distribution of osc your running that would probably help someone.

Out in debugging the templates. It's just too difficult for me to solve this.

With blinder's on. Access to your code and more time will be required.

By someone, unless they see it right away..

Good Luck.

Tom..

Comment #7

When I click on the link Click to Enlarge in the product information pages, only a small empty window is accessed. What do I do to make an enlarged copy of the product graphic appear in a larger window. The empty window that appears is the same size as the small graphic on the product page...

Comment #8

Can you post a URL to your catalog so we can see the javascript?..

Comment #9


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