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
  #31  
Old 04-26-2008, 03:00 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

ok.. i'm going to try and do this.. maybe we can use tbody for this.. what do you think?!

or maybe I can try and put it in here:
{$lng.txt_welcome_to_the_partners_zone_note}
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #32  
Old 04-26-2008, 03:12 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

actually, I think putting it in a language variable helped out a lot!!!!
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #33  
Old 04-26-2008, 03: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

Did you try the table and put it inside the central space from post number 28 http://forum.x-cart.com/showpost.php?p=213985&postcount=28

It will save you a lot of headaches (below the breadcrumb row has been removed).

Code:
<!-- central space --> <table> <!-- 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
  #34  
Old 04-26-2008, 03:36 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

I figured out the problem with .right.. its in the .css for example if i change .object embed the table actually resizes accordinally. how can we fix that?!?

/* partner main page */

.left {
position: absolute;
border: 1px;
margin-left: 5px;
}
.right {
border: 1px;
height: 1px;
}
.object embed {
height:170px;
width:250px;
}
.video {
BACKGROUND-COLOR: #448ccb;
}
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #35  
Old 04-26-2008, 03:51 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

Also get rid of the...

<p align="justify"> </p>

so the table can be closer to the top.
__________________
Doms
kube v4.1.9
Reply With Quote
  #36  
Old 04-26-2008, 03:53 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

I just went with what you helped.. I think this just did save me another day.. thank you so much!
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #37  
Old 04-26-2008, 03:58 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

Also remember: if you're going to change the dimensions of the object, you'll also have to change the dimensions within the embed as well.
__________________
Doms
kube v4.1.9
Reply With Quote
  #38  
Old 04-27-2008, 10:28 AM
  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

Give the outer lying table that contains the image and vid a width of around 690. And that should get you closer to the image.
__________________
Doms
kube v4.1.9
Reply With Quote
  #39  
Old 04-27-2008, 12:47 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

Hey, the bottom.. where the text is. how can I made that one td not two?!
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #40  
Old 04-27-2008, 01:40 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

Within the the 3 TRs you have created put a colspan="2" in each single TD.

for example...
<tr>
<td colspan="2"><h1><center> Your Header </center></h1></td>
</tr>
<tr>
<td colspan="2"><strong> Your Welcome Txt </strong></td>
</tr>
<tr>
<td colspan="2"> Your UL's </td>
</tr>
__________________
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 07:00 AM.

   

 
X-Cart forums © 2001-2020