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
  #11  
Old 04-26-2008, 12:30 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

Get rid of all the excess TDs that you are putting inside the main TD. It's invalid code.
__________________
Doms
kube v4.1.9
Reply With Quote
  #12  
Old 04-26-2008, 12: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

It should look a little like this...

Code:
<td valign="top" width="100%"> <!-- central space --> <font class="NavigationPath"> <a class="NavigationPath" href="home.php">Main page</a> </font> <br/><br/> <img src="img/partner.jpg"/> <div style="border: 1px solid rgb(223, 223, 223); background: transparent url(chrome://flashblock/content/flash.png) no-repeat scroll center; overflow: hidden; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; min-width: 32px; min-height: 32px; cursor: pointer; -moz-box-sizing: border-box;" class="object" title="http://www.youtube.com/v/4g9Mqs-Pw2o&hl=en" embedsrc="http://www.youtube.com/v/4g9Mqs-Pw2o&hl=en"/> <!-- /central space --> </td>
__________________
Doms
kube v4.1.9
Reply With Quote
  #13  
Old 04-26-2008, 12:42 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

yes but remember we did that to fix the menu..
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #14  
Old 04-26-2008, 12:44 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

Get rid of the floats you do not need them.
__________________
Doms
kube v4.1.9
Reply With Quote
  #15  
Old 04-26-2008, 12:46 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

I did that but it doesnt even show the youtube video and shows the a cell space going across the bottom of the main image.

i deleted the float..
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #16  
Old 04-26-2008, 12:50 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

Use the code you had earlier that was working... do not copy straight from my code. Just use my code as a guide as I can see there are too many central spaces running around now.
__________________
Doms
kube v4.1.9
Reply With Quote
  #17  
Old 04-26-2008, 12:55 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

Think it's only the breadcrumb to sort out now, then wrap a DIV or a table around the image and vid so you can then apply a background.

And sorry about adding all the br's, those td's got me confused ;D
__________________
Doms
kube v4.1.9
Reply With Quote
  #18  
Old 04-26-2008, 01:05 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

great. but now the breadcrums are all messed up.. also .right isn't blue like I'm asking it to be..

here is my code:

Code:
/* partner main page */ .left { position: absolute; border: 1px; margin-left: -20px; } .right { border: 10px; vertical-align:middle; BACKGROUND-COLOR: #448ccb; } .object embed { height:180px; width:200px; }

but how come the right doesnt have a backround color of blue?!

Code:
<td valign="top" width="100%"> <br /> <br /> <div class="left" > <img src="img/partner.jpg" /> </div> <br /> <div class="right" > <td> <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>
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #19  
Old 04-26-2008, 01:09 PM
 
l0st l0st is offline
 

Advanced Member
  
Join Date: Mar 2008
Posts: 69
 

Default Re: resize youtube

yeah I just tried to change the <tr> to a table class and it just turns all blue throughout that whole part and you dont see the video..
and if i put the table on the image.. (which the backround should be around the youtube..) the whole things messes up. it adds the footer to the menus col and the video is under the image...
also.. thanks for helping me out. no need to be sorry. i'm glad you're taking the time to help!!!
__________________
X-Cart Gold v. 4.1.9
Reply With Quote
  #20  
Old 04-26-2008, 01:09 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

From what we had originally with your code the tds should look like as follows...

<td class="loginMenu">left</td>
<td width="100%" valign="top">central space including breadcrumb above vid and image</td>
<td class="VertMenuRightColumn">right</td>
__________________
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 10:14 AM.

   

 
X-Cart forums © 2001-2020