Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Up for a challenge?


blueline

Recommended Posts

I assumed you had a little knowledge due to your other post about charging people...

 

I don't know exactly what you are trying to acheive other than setting your page height to be a full page. So put the style definition in the stylesheet. You'll then need to in header.php

 

<table class="maxheight">

<tr>

<td>

 

And in footer.php

</td>

</tr>

</table>

 

And then you should have a 100% height effect.

Link to comment
Share on other sites

Burt,

 

Thanks, but that doesn't do anything in the way of what I am trying to accomplish. All that does is tell the table to be at max height.

 

I don't mean to sound rude hear, but if you read the other posts you should have a pretty good understanding of what I am trying to accomplish. I don't know that I can make it any easier to explain than I have already done.

 

I have written it out, and drawn pictures, and explained multiple times.

 

Thanks for trying though,

 

-Chris

Chris Sullivan

Link to comment
Share on other sites

I want the height to be 100%, but not the width....

 

Chris,

 

If you place the tags where I told you, (in the header and footer), your tables will be full height....To set the width of the columns use <td width"whatever">

Link to comment
Share on other sites

Burt,

 

That line related to the table that this whole post revolves around. This doesn't revolve around the entire catalog.

 

-Chris

 

 

Kim,

 

I will try that in just a minute. Will that make all of my tables equal to 100% in height? I believe by your posts that it will. My other question is this: If I set the background of the table to "this.jpg" will it show the image over and over vertically?

 

Thanks,

-Chris

Chris Sullivan

Link to comment
Share on other sites

Provided your bg images are in catalog/images, this is going to work no matter what ... :)

 

right below opening <body> tag

 

<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%">

<tr> 

 <td width="100" style="background-image:  url(images/fading_left.jpg)"> </td>

 <td>

 

right before closing </body> tag

 

</td>

 <td width="100" style="background-image:  url(images/fading.right.jpg)"> </td>

</tr>

</table>

 

if it doesn't, I promise I'wont bother you anymore.

 

ivan

Link to comment
Share on other sites

If I set the background of the table to "this.jpg" will it show the image over and over vertically?

 

It is supposed to...if it doesn't....assign the column a CSS class and then give it a background on the stylesheet...

Link to comment
Share on other sites

Ivan,

 

Just because something may or may not work, that doesn't mean you should stop trying. I appreciate all the help that I can get....

 

Unfortunately it didn't work. If you want to see what happened, go to http://www.bluelinehifi.com/shop/ivan.php

 

Sorry, but please try again. I really am grateful for everyone's help in this.

 

-Chris

Chris Sullivan

Link to comment
Share on other sites

I got it. I got it. YEAA. I got it.

 

This is the code that I used:

 

<table width="100%" border="5" cellspacing="0" cellpadding="0" height="100%">  

<tr>  

 <td  align="left" width="40" style="background-image:  url(c:disc from jleft.jpg)"> </td>  

 <td>

 

and at then end of body like Ivan said:

 

</td>

 <td width="40" align="right" style="background-image:  url(c:disc from jleft.jpg)"> </td>  

</table>

 

 

WOW! THIS IS GREAT.

 

Thanks to everyone that helped.

 

-Chris

Chris Sullivan

Link to comment
Share on other sites

Oops. Spoke to soon. I am getting the entire page to load... http://www.bluelinehifi.com/shop/works.php but I am getting an error at the top of the page.

 

Warning: Cannot send session cookie - headers already sent by (output started at /home/blueline/public_html/shop/includes/configure.php:47) in /home/blueline/public_html/shop/includes/functions/sessions.php on line 67

 

Warning: Cannot send session cache limiter - headers already sent (output started at /home/blueline/public_html/shop/includes/configure.php:47) in /home/blueline/public_html/shop/includes/functions/sessions.php on line 67

 

Any ideas? :?:

 

 

Thanks,

-Chris

Chris Sullivan

Link to comment
Share on other sites

Cannot send .... error see:

 

http://www.oscommerce.com/community.php/faq,1-7/q,17

 

Unfortunately it didn't work. If you want to see what happened, go tohttp://www.bluelinehifi.com/shop/ivan.php
check the FAQ above

or use 'search' function, there are many posts/answers on the subject.

 

However it appears to me that you are not enclosing the whole page inside the fading borders, just the central part (excluding header and footer), correct ?

In this case forget the 100% height, as it should be applied to a table that includes the whole HTML from <body> to </body> (including header and footer).

Assuming that every page sits in folder "shop" and for this to work in every page try moving the first block of code

 

<table width="100%" border="0" cellspacing="0" cellpadding="0" height="100%"> 

<tr> 

 <td  align="left" width="40" style="background-image:url(./images/border/left.jpg)"> </td> 

 <td>

 

at the very bottom of includes/header.php below the last tag '?>'

 

and the second block

 

</td>

 <td width="40" align="right" style="background-image:url(./images/border/right.jpg)"> </td> 

</table>

 

at the top of includes/footer.php below '?>' in line 14 (or near).

 

good luck

Link to comment
Share on other sites

Warning: Cannot send session cache limiter - headers already sent (output started at /home/blueline/public_html/shop/includes/configure.php:48) in /home/blueline/public_html/shop/includes/functions/sessions.php on line 67

 

This is what I get if I want to see your products...

 

Torsten

Link to comment
Share on other sites

The site works...I got the sides and the bottom to work, and format in the correct place.

 

As for the cache error, thanks to Mattice that is now fixed as well. If you would like to see the outcome you may access it by clicking here http://www.bluelinehifi.com/shop/works.php but please understand that it isn't incorporated into the whole site, and that if you click any buttons it leads you to a different style page.

 

I am still getting a small error,

 

Warning: fopen("/temporary/categories_box-english.cache", "w") - No such file or directory in /home/blueline/public_html/shop/includes/functions/cache.php on line 22

 

Warning: fopen("/temporary/manufacturers_box-english.cache", "w") - No such file or directory in /home/blueline/public_html/shop/includes/functions/cache.php on line 22

 

 

Thanks guys,

Chris

Chris Sullivan

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...