Log in

View Full Version : Frustrating Problems with Pasting HTML in My Web Page



1234
01-22-2006, 03:57 AM
Hi everyone. I am having some frusterating problems with pasting HTML in my personal Web Page, which is inside a site that has free personal web pages for registered users.

Here is the problem, my web page is already HTML enabled by the site`s administrator--in fact, I have already managed to put music videos, MP3s, background color, font codes, etc., into this web page; however, unfortunately every SINGLE code I have tried from Dynamic Drive has failed to work on on my web page. Keep in mind that I have followed all the instructions, and when I tried these codes on another HTML enabled site, they did work.


Below I have included the URLs to the codes, so you can see which one I am talking about. Please help me, and tell me what could possibly be wrong, and what can I do to remedy it?

My page at, http://www.newpersia.com/members/profile.asp?member=Soroosh_arsenal


Multiple Music Video Code Info
http://www.dynamicdrive.com/forums/showthread.php?t=5843

Top-Down Curtain Script
http://www.dynamicdrive.com/dynamicindex3/document5.htm


Document CrossHair
http://www.dynamicdrive.com/dynamicindex13/crosshair.htm



I tried these codes, but why didn`t it work in my page?







Thank you

1234
01-22-2006, 05:19 AM
Again, these are the codes I have tried on my page, and NON-of-them work,

Multiple Music Video Code
http://www.dynamicdrive.com/forums/s...ead.php?t=5843

Top-Down Curtain Script Code
http://www.dynamicdrive.com/dynamicindex3/document5.htm


Document CrossHair Code
http://www.dynamicdrive.com/dynamici.../crosshair.htm




Thank you

Alivia74
01-23-2006, 07:53 AM
Again, these are the codes I have tried on my page, and NON-of-them work,

Multiple Music Video Code
[url]http://www.

Would you say video or codes is better?





Denmark Cottages
(http://www.local-cottages.info/denmark-cottages.html) - Philadelphia flowers
(http://www.flowers-all-over-the-world.com/pennsylvania-philadelphia-flowers.html)

Twey
01-23-2006, 12:24 PM
I'm guessing there's a script your host puts on its pages that is interfering with the script(s).
Here's a llama, there's a llama, and another little llama; fuzzy llama, funny llama, llama llama duck.

1234
01-23-2006, 08:54 PM
Hi Twey, I read the tutorial, I appreciate it, but there are still problems.

I have the following tag,



Top-Down Curtain Script

Put in the head tag,
<style>
<!--
.intro{
position:absolute;
left:0;
top:0;
layer-background-color:yellow;
background-color:yellow;
border:0.1px solid yellow;
z-index:10;
}
-->
</style>



Put in the body tag,
<div id="i1" class="intro"></div><div id="i2" class="intro"></div>
<script language="JavaScript1.2">

/*
Top-Down Curtain Script- By Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions, and TOS,
visit http://www.dynamicdrive.com
*/

var ns4=document.layers?1:0
var ie4=document.all?1:0
var ns6=document.getElementById&&!document.all?1:0
var speed=20
var temp=new Array()
var temp2=new Array()
if (ns4){
for (i=1;i<=2;i++){
temp[i]=eval("document.i"+i+".clip")
temp2[i]=eval("document.i"+i)
temp[i].width=window.innerWidth
temp[i].height=window.innerHeight/2
temp2[i].top=(i-1)*temp[i].height
}
}
else if (ie4||ns6){
var clipbottom=ns6?parseInt(window.innerHeight)/2:document.body.offsetHeight/2
cliptop=0
for (i=1;i<=2;i++){
temp[i]=ns6?document.getElementById("i"+i).style:eval("document.all.i"+i+".style")
temp[i].width=ns6?window.innerWidth-15:document.body.clientWidth
temp[i].height=ns6?window.innerHeight/2:document.body.offsetHeight/2
temp[i].top=(i-1)*parseInt(temp[i].height)
}
}

function openit(){
window.scrollTo(0,0)
if (ns4){
temp[1].bottom-=speed
temp[2].top+=speed
if (temp[1].bottom<=0)
clearInterval(stopit)
}
else if (ie4||ns6){
clipbottom-=speed
temp[1].clip="rect(0 auto "+clipbottom+" 0)"
cliptop+=speed
temp[2].clip="rect("+cliptop+" auto auto auto)"
if (clipbottom<=-5){
clearInterval(stopit)
if (ns6){
temp[1].display="none"
temp[2].display="none"
}
}
}
}
function gogo(){
stopit=setInterval("openit()",100)
}
gogo()

</script>




Now, I try to insert this in the below tag that avoids interference,



The solution Tag

<body onload="dothis();dothat()">



Please tell me which part of the Top-Down Curtain Script code is inserted in the above/The solution tag?






Thank you

PS: Please also know that I do not see any tags put there by the adminstrator; they are invisible to me in my page which appears blank, until I insert my own codes, because I am not sure if interference refers to the codes I try to insert in my page interfering with any tags inserted by the site`s admistrator beforehands.




Thanks