Anyways can anyone tell me how can i embed this flash in the site panel at the steeleries gif on the right
http://www.igleague.org/images/Xai_160x600_US.swf
i tried using this code
<object width="160" height="600">
<param name="movie" value="Xai_160x600_US.swf">
<embed src="Xai_160x600_US.swf" width="160" height="600">
</embed>
</object>
but the problem i am facing by using this code is the flash video doesnt fit exactly to the panel i get a scroll bar at the bottom to scroll from left to right to see the full video.I do not want to increase the width of the panel but how can i do it such that it fits perfectly to the panel
My current panel width is 160
i have changed the width and height of the code but still does not solve the problem.Someone said that the core tp block codes can be modified to not use the theme settings .How do i do it?
Hard to say what is causing it without actually seeing it in action. I use tools like Firebug to figure out what change I can make to to the HTML/CSS to get what I want.
Quote from: cherryspirit on August 09, 2010, 09:45:18 AM
My current panel width is 160
Maybe you could try changing the panel width to 165 or 170 and see if the scroll bar disappears. That shouldn't mess the layout up too much.
i will attach a screen of the problem a bit later but i tried increasing the panel width but the place when its not causing problems is 200 however that makes the panel very fat .I dont want that
take a look at this screen
http://img822.imageshack.us/img822/2866/screen2wz.png
the scroll bar that u see there i want to make that flash fit to the panel without the scroll bar
u can see www.wgseries.com . At left there is a hosting ad that fits in the panel .Same thing i want with my flash video
cherryspirit,
One of the reasons your flash object is probably not showing up very good o your site is probably because of the width of that panel. The forum itself is also not set very wide. This could be a problem with the theme you are using. Also, there could be problems with the browser you are using showing it correctly, especially since the actual object is a lot wider than 160 px.
I've got it showing up fine on my 2.0 test site fine without scroll bars but my right panel is also set to 210 px. You can see it here, second block down in the right panel --> http://talesofthehavenexpanse.com/smf2test/index.php
ZarPrime
.....
the block width is 160 and the flash size is 160*600 .Why should i increase panel width
Why cant it fit perfectly to the block
The Flash Object will fit in a 160 pixel panel without scrollbars on an SMF / TP 1.1.x FrontPage if you don't show the title or frame for the block, at least when viewing it with the Google Chrome browser. Here's an example on my SMF 1.1.11 / TP 1.0 beta 4 test site. As you can see, no scrollbars are present --> http://talesofthehavenexpanse.com/smf1test/index.php
If it isn't working for you without using the title and frame, then it is an issue with the theme you are using. When using the frame for the block, you always need some extra pixels to accommodate the content. As Ichbin said earlier, if you are still having problems with this, it is much easier for us to troubleshoot it if you just show the block on your site so that we can actually see the block in action. An image just won't let us experiment with it enough to make a determination in order to help you. Feel free to help us to help you if you'd like.
ZarPrime
That tip really helped the not using frame style and all. Its fixed now.jUSTS one last question the topic or the titles like Advertisement sponsors etc for each block i wanna make them as center of the block.Its coming as alinged to left
Take a look at www.wgseries.com every blocks title is at the center of that frame.However my ones are aligned at left .I wanna make them center too
You'll have to add some CSS for that to the tp-style.css file or the index.css.
.tp_leftblock_frame h3, .tp_rightblock_frame h3, tp_centerblock_frame h3, .tp_topblock_frame h3, tp_bottomblock_frame h3 {
text-align: center;
}
Okay but the partners block and the Advertisement block doesnt center in that block.Wonder why
That's because you are not using the frame option for the block. Add this:
.tp_leftblock_noframe h3 to the code above in the same format with the comma.
Okay works perfectly