Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

resize youtube

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #21  
Old 04-26-2008, 01:11 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: resize youtube

It won't have a background of blue because you're entering invalid TDs. A TD cannot go inside another TD without it having a table supporting it first.

<td><td></td><td> doesn't work

<table><tr><td><table><tr><td></td></tr></table></td></tr></table> although ugly, works.

But we're not asking for extra TDs so I have no ideas where they're coming from as they weren't there before
__________________
Doms
kube v4.1.9
Reply With Quote
  #22  
Old 04-26-2008, 01:18 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

I'm using the x-affiliate and just recolored the page.. In the
<div class="right" >
I made a
<td class="video" >

added this to css:
.video {
BACKGROUND-COLOR: #448ccb;
}

Now it's up and down.. not too high and low.. but need to have it from left to right too.. so we're getting close.

also if i delete the <br /> the breadcrums is hidden but its aligned good! than we will need to just get the blue to the left and right and have the video in the middle.. thanks for working with me..
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #23  
Old 04-26-2008, 01:28 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

Im just going to share with you the updated code:

Code:
<td valign="top" width="100%"> <br /> <br /> <div class="left" > <img src="img/partner.jpg" /> </div> <br /> <div class="right" > <td class="video" > <object class="object"><param name="movie" value="http://www.youtube.com/v/4g9Mqs-Pw2o&hl=en"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/4g9Mqs-Pw2o&hl=en" type="application/x-shockwave-flash" wmode="transparent" width="425" height="355"></embed></object> </td> </div> </td>

and invite you to the page..

http://www.discountprintingnetwork.com/partner/

thanks!
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #24  
Old 04-26-2008, 01:36 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: resize youtube

So there are 5 columns now and the floats are back. I'm not sure how to handle this. The image you've supplied has only 2-3 columns.

Is there going to be any text underneath?
__________________
Doms
kube v4.1.9
Reply With Quote
  #25  
Old 04-26-2008, 01:38 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

yes, I'm going to add text underneath all of this.. did you see the image I posted? also.. I dont have the floats in the css...
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #26  
Old 04-26-2008, 01:45 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

I tried to change the <td valign="top" width="100%"> to a <table valign="top" width="100%"> but it all messed up.. but maybe if you tell me where all the extra stuff is coming from.. we can delete it..
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #27  
Old 04-26-2008, 01:56 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

I see where you got your
<td><td></td><td>

(from the source..) but I even tried to open it up.. I added:
<table>
(everything we have now)
</table>

Didnt work..
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #28  
Old 04-26-2008, 02:11 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: resize youtube

This is what you should be aiming for. This should go inside the central space provided it has a beginning TD and ending /TD outside of it....

Code:
<!-- central space --> <table> <!-- TR breadcrumb row (2cols combined) --> <tr> <td colspan="2"> <font class="NavigationPath"> <a class="NavigationPath" href="home.php">Main page</a> </font> </td> </tr> <!-- TR picture and vid row (2cols) --> <tr> <td> <!-- TD cell 1 picture --> <img src="img/partner.jpg"/> </td> <td bgcolor="#FF0000"> <!-- TD cell 2 vid --> <object width="150" height="125"><param name="movie" value="http://www.youtube.com/v/4g9Mqs-Pw2o&hl=en&rel=0"></param><param name="wmode" value="transparent"></param><embed src="http://www.youtube.com/v/4g9Mqs-Pw2o&hl=en&rel=0" type="application/x-shockwave-flash" wmode="transparent" width="150" height="125"></embed></object> </td> </tr> <!-- TR text row (2cols combined) --> <tr> <td colspan="2">some loads of text</td> </tr> </table> <!-- /central space -->
__________________
Doms
kube v4.1.9
Reply With Quote
  #29  
Old 04-26-2008, 02:21 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

how can we delete the breadcrums from the main page only?!
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #30  
Old 04-26-2008, 02:33 PM
  kube's Avatar 
kube kube is offline
 

X-Adept
  
Join Date: Sep 2005
Location: London: a small place East of Wales
Posts: 529
 

Default Re: resize youtube

locate something like this for breadcrumbs...

{include file="location.tpl"}

and {* comment it out *}
__________________
Doms
kube v4.1.9
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:24 PM.

   

 
X-Cart forums © 2001-2020