chrometweaks.org

Help, I need a lawyer to help with a problem with my iPage web host?

Click Here To View All Answers...


First question I got is Help, I need a lawyer to help with a problem with my iPage web host? Thanks for any answer or 2. Another quick question... I'm trying to setup an anchor on the product_info.php page..

At the top I have a link to #images and at the bottom I have the anchor #images..

So it's supposed to refer to the anchor on the same page and scroll down..

But it tries to go to site/#images..

Is there a special php coding for anchors?..

Comments (25)

I would like to know the answer too. Anyone here know what is the right answer to your question. I'll do some research in Google and get back to you if I bump into an useful answer. You should email the people at iPage as they probably could answer your iPage question..

Comment #1

Thanks for that..

However is there a way that the page doesn't have to reload as I am using the anchor within a page?..

Comment #2

Sorry I already have the answer..

Your code contained "/#a" but it's should be "#a".

Thanks heaps for this...

Comment #3

Sorry it doesnt totally work yet..

When my current page for example is:.

Product_info.php?cPath=32&products_id=92&osCsid=fbc2312465b85457b586046455354433.

Then the anchor links to:.

Http://www.x-mods.co.nz/product_info.php?o...6046455354433#a.

So it leaves out cPath=32&products_id=92& which links to the current product..

How do I solve this?..

Comment #4

Are you using the tep_href_link function I gave above? If not, that is your problems. If so, post your code..

Jack..

Comment #5

Hi,.

I am using this:.

<a href="'tep_href_link(FILENAME_PRODUCT_INFO, '', 'NONSSL')"#a"'">''Click here to see result</a>.

<p><a name="a">Here is the result.</a>..

Comment #6

The code you use depends on what kind of page you are using it on (one from catalog or one from english). Pick a catalog page, say privacy.php and place this somewhere near the top so that it is one of the first things you see when the page is displayed.

<tr>.

 <td>.

<?php echo '<a href="'tep_href_link(FILENAME_CONTACT_US, '', 'NONSSL')"/#a"'">''Click here to see result</a> ' ?>.

 </td>.

 </tr>.

Then farther down the page (only adding this spacing to show it works) add the following:.

<tr>.

   <td>.

   <p><a name="a">From</p>.

   </td>.

   </tr>.

It works fine here. Be sure to add the code snippets above in the proper places - in a table but outside of a row..

Jack..

Comment #7

I worked it out..

Since I was in a products page I needed to link to the product parameters aswell..

So this was the final coding:.

Link at the top of the page:.

<?php echo '<a href="'tep_href_link(FILENAME_PRODUCT_INFO, tep_get_all_get_params())"#a"'">Click for additional images</a>' ?>.

Images at bottom of the page:.

<a name="a">&nbsp;</a><?php require(DIR_WS_MODULESFILENAME_ADDITIONAL_IMAGES); ?>.

Thanks heaps for all your help...

Comment #8

I'm trying to setup an anchor on the product_info.php page..

At the top I have a link to #images and at the bottom I have the anchor #images..

So it's supposed to refer to the anchor on the same page and scroll down..

But it tries to go to site/#images..

Is there a special php coding for anchors?..

Comment #9

Something like this should work.

<ol>.

 <li><p>.

 <a href="'tep_href_link(FILENAME_SOME_PAGE, '', 'NONSSL')"/#a"'">''Click here to see result</a></li>.

</ol>.

<ol>.

 <li><p><a name="a">Here is the result.</a></li>.

</ol>.

Jack..

Comment #10


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