Results 1 to 5 of 5

Thread: Frustrating Problems with Pasting HTML in My Web Page

  1. #1
    Join Date
    Jan 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Frustrating Problems with Pasting HTML in My Web Page

    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/pro...oroosh_arsenal


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

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


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



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







    Thank you
    Last edited by 1234; 01-23-2006 at 05:50 AM.

  2. #2
    Join Date
    Jan 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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

  3. #3
    Join Date
    Jan 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Better

    Quote Originally Posted by 1234
    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
    - Philadelphia flowers

  4. #4
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    I'm guessing there's a script your host puts on its pages that is interfering with the script(s).
    Note: Questions regarding multiple script usage are not usually replied to due to their time consuming nature. See this thread for more information, and this tutorial for one possible solution.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  5. #5
    Join Date
    Jan 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help

    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
    Last edited by 1234; 01-23-2006 at 09:50 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •