Jump to content

need help with a big part of site


darklexus2k9

Recommended Posts

hi my site had a video tut section were you clicked a link and it went to the videos page but it was tacking to much time to creat ever page so i went looking for a better way to do it and i found a option that uses java script

 

well it was working great but all the videos were is a drop down menu that used the code bellow

 

<SELECT name=href onchange="sel(this.value);">
<OPTION value="" selected>paper plane tut
<OPTION value=mms://mysiteyoucantsee.com/video/car.asx>toy car tut
</OPTION></SELECT> 

 

but as i seed that was a drop down box i wonted my members to see all videos so i tryed to change it to cheek box'e heres the code i used

 

<input name="href" type="radio" value="mms://mysiteyoucantsee.com/video/car.asx" onclick="sel(this.value);" />

 

and well that is not working i have created my sites template in dw if that has any thing to do with it but

 

here is the code used to display the video

 

<DIV id=mus align=center></DIV><script>
function sel(href){
if(href=='') mus.innerHTML="";
else mus.innerHTML="<EMBED type=application/x-mplayer2 src="+href+" width=452 height=388>";
}
sel('');
</script>

 

that looked a bit bad wen i was looking over it so i changed it to this

 

<script language="JavaScript" type="text/javascript">
function Sel(href)
{
if(href=="")
mus.innerHTML="";
else
mus.innerHTML="<EMBED type=application/x-mplayer2 src="+href+" width=452 height=388>";
}
sel('');
</script>

 

and well i really need this to work the video tuts are a big part of my site

bellow is the page code of the tuts page

 

PAGE CODE

<?
include "config.php"
include "cinfo.php"
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><?php echo "$title" ?></title>
<style type="text/css">
<!--
#apDiv1 {
position:absolute;
left:262px;
top:24px;
width:635px;
height:418px;
z-index:1;
}
#apDiv2 {
position:absolute;
left:262px;
top:442px;
width:597px;
height:93px;
z-index:2;
}
#apDiv3 {
position:absolute;
left:1px;
top:0px;
width:253px;
height:137px;
z-index:3;
}
#apDiv4 {
position:absolute;
left:3px;
top:150px;
width:249px;
height:387px;
z-index:4;
}
-->
</style>
<script src="SpryAssets/SpryAccordion.js" type="text/javascript"></script>
<link href="SpryAssets/SpryAccordion.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
#apDiv5 {
position:absolute;
left:275px;
top:468px;
width:576px;
height:55px;
z-index:5;
}
#apDiv6 {
position:absolute;
left:271px;
top:29px;
width:581px;
height:367px;
z-index:6;
}
#apDiv7 {
position:absolute;
left:870px;
top:24px;
width:122px;
height:418px;
z-index:7;
}
#apDiv8 {
position:absolute;
left:269px;
top:30px;
width:583px;
height:362px;
z-index:8;
}
body {
background-image: url();
background-repeat: no-repeat;
}
-->
</style>
</head>

<body>
<div id="apDiv1"><img name="" src="img/tv.PNG" width="634" height="414" alt="" />
</div>
<div id="apDiv2"><img name="" src="img/info.PNG" width="598" height="91" alt="" /></div>
<div id="apDiv3"></div>
<div id="apDiv4">
  <div id="Accordion1" class="Accordion" tabindex="0">
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Label 1</div>
<div class="AccordionPanelContent">
<SELECT name=href onchange="sel(this.value);"> <OPTION value="" selected>Переключатиль каналов
<OPTION value=http://music.rtvi.ru/bin/asx.pl?br=medium>RTVI Муз ТВ
<OPTION value=mms://38.99.140.151/rtd/brt/ch10.asf>РЕН-ТВ
<OPTION value=mms://video.rfn.ru/rtr-planeta>РТР Планета
<OPTION value=http://www.rambler-audio.ru/asx/video/special/eurosportnews/eurosport.asx>EuroSportRu
<OPTION value=mms://tv.gldn.net/A1>A-ONE
<OPTION value=http://www.webtelek.com/media/mirtv300.asx>МИР ТВ
<OPTION value=mms://194.135.105.209/tv1>WIM1
<OPTION value=mms://194.135.105.209/tv2>WIM2
<OPTION value=mms://194.135.105.209/tv3>WIM3
<OPTION value=mms://194.135.105.209/tv4>WIM4
<OPTION value=mms://video.rfn.ru/vesti_24>Вести
<OPTION value=http://www.kulturatv.kiev.ua/Kultura-EU.asx>Культура ТВ
<OPTION value=http://live.1internet.tv/live-efir?wmbitrate=500000>ОРТ ТВ
<OPTION value=mms://195.244.137.207:81>ПБК Музыкальный
<OPTION value=mms://213.232.226.11/MIRTV_300>Мир ТВ
<OPTION value=mms://www.sgatv.muh.ru/sgutv>СГУ ТВ
<OPTION value=mms://194.58.79.189/PublishingPoint%20wTv>W-TV
<OPTION value=mms://38.100.138.222/max-online>МАКС ТВ
<OPTION value=mms://video.corbina.tv/live>"Живое ТВ"
<OPTION value=mms://mms.amtv.ru/BizOne>Бизнес ТВ
<OPTION value=mms://stream.grafton.lv/live_tv5>TV5 Латвия
<OPTION value=http://on-tv.ru/asx/tv_id642.asx>Первый документальный
<OPTION value=mms://media.stv.lv/stvsport>STV Sport
<OPTION value=mms://media.stv.lv/stvclip2>STV Music
<OPTION value=http://webteleradio.com/tv/one.wpl>Первый музыкальный
<OPTION value=http://video.rutube.ru/online/698129.flv>Шансон ТВ
<OPTION value=http://www.disco80.ru/discotv.php>Дискотека 80-х
<OPTION value=http://media.wnet.ua/lists/24.asx>24-й канал
<OPTION value=http://www.tvr.by/liveair/btv.asx>Беларусь ТВ
<OPTION value=http://www.1tv.ru/owa/win/ort6_itv.asx_file_z?p_ch=1tvsport&p_bt=100>Спорт на Первом
<OPTION value=http://cluster.quantumart.ru/broadcast/default.aspx?media=rutv>RU ТV
<OPTION value=http://www.mtk-twins.ru/intensiv/at0/BAR.wmv>Интенсивное обучение
<OPTION value=http://www.1tv.ru/owa/win/ort6_itv.asx_file_z?p_ch=1tvbest&p_bt=500>Лучшее на Первом
<OPTION value=http://www.1tv.ru/owa/win/ort6_itv.asx_file_z?p_ch=fz&p_bt=500>Фабрика звёзд
<OPTION value=mms://212.1.238.70/ts_tv1>Твой Строй ТВ
<OPTION value=http://video.rutube.ru/online/618784.flv>Союз
<OPTION value=http://tv.sr.ru/testtv.asx>Центр
<OPTION value=http://www.tvr.by/liveair/btv.asx>СРТВ
<OPTION value=mms://63.218.83.51/MaksTv>МаксТВ
<OPTION value=mms://194.58.79.189/PublishingPoint wTv>ВТВ
<OPTION value=http://video.rutube.ru/online/157933.flv>ТДК
<OPTION value=mms://81.13.20.10/sr_video>Специальное Радио
<OPTION value=mms://media.caucasus.net/station7>Детский мир
<OPTION value=mms://media.caucasus.net/station5>Наше новое кино
<OPTION value=http://on-tv.ru/asx/tv_id10.asx>Муз ТВ
</OPTION></SELECT>
<img src="image.jpg" width="40" height="20" title="ClickMe to Load the Stream" alt="Funny Image" onclick="sel(this.value);" />

</div>
    </div>
    <div class="AccordionPanel">
      <div class="AccordionPanelTab">Label 2</div>
      <div class="AccordionPanelContent">Content 2</div>
    </div>
  </div>
</div>
<div id="apDiv7">
  <a href="http://www.prizelive.com/r/darklexus2k9"><img src="http://www.prizelive.com/banners/banner1_120x600.gif" width="120" height="600" border="0" /></a>
</div>
<div id="apDiv8">
<DIV id=mus align=center></DIV>
<script language="JavaScript" type="text/javascript">
function Sel(href)
{
if(href=='')
mus.innerHTML="";
else
mus.innerHTML="<EMBED type=application/x-mplayer2 src="+href+" width=452 height=388>";
}
sel('');
</script>
</div>
<script type="text/javascript">
<!--
var Accordion1 = new Spry.Widget.Accordion("Accordion1");
//-->
</script>
</body>
</html>

 

plz help i need to get this page back up fast for my members

 

thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/175451-need-help-with-a-big-part-of-site/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.