1
nadordream
help needed to include this html in a right way
  • 2007/6/9 5:56

  • nadordream

  • Just popping in

  • Posts: 11

  • Since: 2006/8/6 1


Hi all

hopely can some help me with this:

i have included an html in XOOPS (embeded player + banner and some images)
the problem i have it comes little bit over the header of the site and the menu on the left side, see >>Screenshot

can someone correct me the fellowing html code so i can center it on a good way without coming over the header and the left menu side?

html code:

<BODY oncontextmenu="return false" onselectstart="return false" 
ondragstart="return false" text=#000000 bgColor=#f0f0f0 leftMargin=0 topMargin=0 
onload=runClock()>

<
DIV><DIV>
<
IMG 
style
="LEFT: 580px; WIDTH: 136px; POSITION: absolute; TOP: 170px; HEIGHT: 361px" 
alt="" src="/tv/images/bg1.jpg" align=top border=0
DIV>

<
DIV 
style
="Z-INDEX: 2; LEFT: 141px; WIDTH: 576px; POSITION: absolute; TOP: 107px; HEIGHT: 58px" 
align=left><IMG height=58 src="/tv/images/tvlogo.jpg" width=576 
align
=top border=0>&nbspDIV>
<
DIV 
style
="Z-INDEX: 4; LEFT: 139px; WIDTH: 578px; POSITION: absolute; TOP: 535px; HEIGHT: 27px" 
align=left><IMG height=27 alt="" src="/tv/images/strip.gif" width=578 
align
=top border=0DIV>

<
DIV>DIV><IMG style="Z-INDEX: 8; LEFT: 618px; POSITION: absolute; TOP: 188px" 
height=39 alt="" src="/tv//images/logo_tv2m.jpg" width=75 border=0
<
DIV 
style
="Z-INDEX: 9; LEFT: 582px; WIDTH: 129px; POSITION: absolute; TOP: 253px; HEIGHT: 259px" 
align=left>
<
P dir=rtl align=right><FONT face=Tahoma size=2>Channel 2M&nbsp;&nbsp
&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#1575;لمصدر : المغرب
lang=ar-ma>&nbsp;&nbsp;&nbsp;&nbspSPAN>FONT>
<
P dir=rtl align=center><FONT face=Tahoma size=2>&nbsp;&nbsp;<SPAN lang=ar-ma
SPAN>FONT>P>DIV>

<
DIV 
style
="Z-INDEX: 11; LEFT: 141px; WIDTH: 434px; POSITION: absolute; TOP: 168px; HEIGHT: 363px" 
align=left>
<
OBJECT id=WMPlay 
codeBase
=http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701 
type=application/x-oleobject height=363 
standby
="Loading Microsoft® Windows® Media Player components..." width=434 
classid
=CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95><PARAM NAME="fileName" VALUE="http://www.tvtuga.com/live02/2m.asx"><PARAM NAME="AnimationAtStart" VALUE="0"><PARAM NAME="AutoStart" VALUE="-1"><PARAM NAME="ShowControls" VALUE="0"><PARAM NAME="ShowStatusBar" VALUE="-1"><PARAM NAME="TransparentAtStart" VALUE="0"><PARAM NAME="ShowDisplay" VALUE="0"><PARAM NAME="AutoSize" VALUE="0"><PARAM NAME="AudioStream" VALUE="-1"><PARAM NAME="AllowScan" VALUE="-1"><PARAM NAME="AllowChangeDisplaySize" VALUE="-1"><PARAM NAME="AutoRewind" VALUE="0"><PARAM NAME="Balance" VALUE="0"><PARAM NAME="BaseURL" VALUE=""><PARAM NAME="BufferingTime" VALUE="5"><PARAM NAME="CaptioningID" VALUE=""><PARAM NAME="ClickToPlay" VALUE="-1"><PARAM NAME="CursorType" VALUE="0"><PARAM NAME="CurrentPosition" VALUE="-1"><PARAM NAME="CurrentMarker" VALUE="0"><PARAM NAME="DefaultFrame" VALUE=""><PARAM NAME="DisplayBackColor" VALUE="0"><PARAM NAME="DisplayForeColor" VALUE="16777215"><PARAM NAME="DisplayMode" VALUE="0"><PARAM NAME="DisplaySize" VALUE="4"><PARAM NAME="Enabled" VALUE="-1"><PARAM NAME="EnableContextMenu" VALUE="-1"><PARAM NAME="EnablePositionControls" VALUE="-1"><PARAM NAME="EnableFullScreenControls" VALUE="0"><PARAM NAME="EnableTracker" VALUE="-1"><PARAM NAME="InvokeURLs" VALUE="-1"><PARAM NAME="Language" VALUE="-1"><PARAM NAME="Mute" VALUE="0"><PARAM NAME="PlayCount" VALUE="1"><PARAM NAME="PreviewMode" VALUE="0"><PARAM NAME="Rate" VALUE="1"><PARAM NAME="SAMILang" VALUE=""><PARAM NAME="SAMIStyle" VALUE=""><PARAM NAME="SAMIFileName" VALUE=""><PARAM NAME="SelectionStart" VALUE="-1"><PARAM NAME="SelectionEnd" VALUE="-1"><PARAM NAME="SendOpenStateChangeEvents" VALUE="-1"><PARAM NAME="SendWarningEvents" VALUE="-1"><PARAM NAME="SendErrorEvents" VALUE="-1"><PARAM NAME="SendKeyboardEvents" VALUE="0"><PARAM NAME="SendMouseClickEvents" VALUE="0"><PARAM NAME="SendMouseMoveEvents" VALUE="0"><PARAM NAME="SendPlayStateChangeEvents" VALUE="-1"><PARAM NAME="ShowCaptioning" VALUE="0"><PARAM NAME="ShowAudioControls" VALUE="-1"><PARAM NAME="ShowGotoBar" VALUE="0"><PARAM NAME="ShowPositionControls" VALUE="-1"><PARAM NAME="ShowTracker" VALUE="-1"><PARAM NAME="VideoBorderWidth" VALUE="0"><PARAM NAME="VideoBorderColor" VALUE="0"><PARAM NAME="VideoBorder3D" VALUE="0"><PARAM NAME="Volume" VALUE="-600"><PARAM NAME="WindowlessVideo" VALUE="0">OBJECT>

2
wcrwcr
Re: help needed to include this html in a right way
  • 2007/6/9 6:08

  • wcrwcr

  • Home away from home

  • Posts: 1114

  • Since: 2003/12/12


Hi

You could creat a html center-center block and paste that code in

3
nadordream
Re: help needed to include this html in a right way
  • 2007/6/9 6:31

  • nadordream

  • Just popping in

  • Posts: 11

  • Since: 2006/8/6 1


Hi wcrwcr thanx for the quick answer. but i am not that good in html how do i create a center-center block? can u show me an example html code ?

4
vaughan
Re: help needed to include this html in a right way
  • 2007/6/9 11:38

  • vaughan

  • Friend of XOOPS

  • Posts: 680

  • Since: 2005/11/26


goto admin and then click system module tthen click blocks and then add custom block.

(FAQ section might be a good idea to read) :)

also note.

because your XOOPS theme already contains a body tag, you should remove the < body> tag from your code above, instead add what is in the body tag, to the existing body tag in your theme.html

also you may need to change the path of the images to proper paths instead of relative paths, as once you add it to the block, it may not be rooted from the same place.

5
nadordream
Re: help needed to include this html in a right way
  • 2007/6/9 16:46

  • nadordream

  • Just popping in

  • Posts: 11

  • Since: 2006/8/6 1


Thanx all for the answers! i solved.

by the way i solved by editing some sizes in the tags.

Login

Who's Online

273 user(s) are online (163 user(s) are browsing Support Forums)


Members: 0


Guests: 273


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits