Results 1 to 5 of 5

Thread: can someone help me !!

  1. #1
    Join Date
    Sep 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default can someone help me !!

    hi everybody !!

    can someone help me get this java scroll . this is dome http://www.nhacso.net/Music/

    when you scroll down page . the images will follow page .

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Sep 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Help please

    i had a problem . when i used screen 1024 it worked good . But when i used another screen the image will be overlap on the skin . Please help me fix it .
    <script type='text/javascript' src='http://www.tinhxanhband.net/4rum/jscripts/ads/floater_xlib.js'></script>
    <script type='text/javascript'>
    var slideTime = 700;
    var floatAtBottom = false;
    function pepsi_floating_init()
    {
    xMoveTo('floating_banner_right', 887 - (1024-screen.width), 0);

    winOnResize(); // set initial position
    xAddEventListener(window, 'resize', winOnResize, false);
    xAddEventListener(window, 'scroll', winOnScroll, false);
    }
    function winOnResize() {
    checkScreenWidth();
    winOnScroll(); // initial slide
    }
    function winOnScroll() {
    var y = xScrollTop();
    if (floatAtBottom) {
    y += xClientHeight() - xHeight('floating_banner_left');
    }

    xSlideTo('floating_banner_left', (screen.width - (800-778) - 770)/2-110 , y, slideTime);
    xSlideTo('floating_banner_right', (screen.width - (800-778) + 770)/2, y, slideTime);
    }

    function checkScreenWidth()
    {
    if( screen.width <= 800 )
    {
    document.getElementById('floating_banner_left').style.display = 'none';
    document.getElementById('floating_banner_right').style.display = 'none';
    }
    }

    </script>
    <style type="text/css">

    #dhtmltooltip{
    position: absolute;
    width: 80px;
    border: 1px solid #0065AD;
    padding: 2px;
    background-color: #fff;
    color: #0065AD;
    visibility: hidden;
    z-index: 100;
    font-size: 200&#37;;
    }

    </style>
    <div id="dhtmltooltip"></div>
    <script type="text/javascript">
    /***********************************************
    * Cool DHTML tooltip script- &#169; Dynamic Drive DHTML code library (www.dynamicdrive.com)
    * This notice MUST stay intact for legal use
    * Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code
    ***********************************************/
    var offsetxpoint=0 //Customize x offset of tooltip
    var offsetypoint=0 //Customize y offset of tooltip
    var ie=document.all
    var ns6=document.getElementById && !document.all
    var enabletip=false
    if (ie||ns6)
    var tipobj=document.all? document.all["dhtmltooltip"] : document.getElementById? document.getElementById("dhtmltooltip") : ""

    function ietruebody(){
    return (document.compatMode && document.compatMode!="BackCompat")? document.documentElement : document.body
    }
    function ddrivetip(thetext, thecolor, thewidth){
    if (ns6||ie){
    if (typeof thewidth!="undefined") tipobj.style.width=thewidth+"px"
    if (typeof thecolor!="undefined" && thecolor!="") tipobj.style.backgroundColor=thecolor
    tipobj.innerHTML=thetext
    enabletip=true
    return false
    }
    }
    function positiontip(e){
    if (enabletip){
    var curX=(ns6)?e.pageX : event.clientX+ietruebody().scrollLeft;
    var curY=(ns6)?e.pageY : event.clientY+ietruebody().scrollTop;
    //Find out how close the mouse is to the corner of the window
    var rightedge=ie&&!window.opera? ietruebody().clientWidth-event.clientX-offsetxpoint : window.innerWidth-e.clientX-offsetxpoint-10
    var bottomedge=ie&&!window.opera? ietruebody().clientHeight-event.clientY-offsetypoint : window.innerHeight-e.clientY-offsetypoint-10
    var leftedge=(offsetxpoint<0)? offsetxpoint*(-1) : -1000
    //if the horizontal distance isn't enough to accomodate the width of the context menu
    if (rightedge<tipobj.offsetWidth)
    //move the horizontal position of the menu to the left by it's width
    tipobj.style.left=ie? ietruebody().scrollLeft+event.clientX-tipobj.offsetWidth+"px" : window.pageXOffset+e.clientX-tipobj.offsetWidth+"px"
    else if (curX<leftedge)
    tipobj.style.left="5px"
    else
    //position the horizontal position of the menu where the mouse is positioned
    tipobj.style.left=curX+offsetxpoint+"px"
    //same concept with the vertical position
    if (bottomedge<tipobj.offsetHeight)
    tipobj.style.top=ie? ietruebody().scrollTop+event.clientY-tipobj.offsetHeight-offsetypoint+"px" : window.pageYOffset+e.clientY-tipobj.offsetHeight-offsetypoint+"px"
    else
    tipobj.style.top=curY+offsetypoint+"px"
    tipobj.style.visibility="visible"
    }
    }

    function hideddrivetip(){
    if (ns6||ie){
    enabletip=false
    tipobj.style.visibility="hidden"
    tipobj.style.left="-1000px"
    tipobj.style.backgroundColor=''
    tipobj.style.width=''
    }
    }
    document.onmousemove=positiontip
    var pepsi_floating_location_test = self.location + ' ';
    var float_right,float_left;
    //-- Khai b&#225;o c&#225;c mẫu quảng c&#225;o
    //
    var float_quangcao = new Array('/Images/khachhang/quang-cao.jpg','/Music/contact.asp');
    //var float_kh = new Array('/Images/khachhang/rafflesedu115485.swf','http://ad.hcm.fpt.vn/qc/r/rafflesedu/');
    //var float_siu = new Array('/Images/khachhang/niemtin_float.jpg','/Music/Album/2007/07/05F632AD/');
    var float_kh = new Array('/Images/khachhang/nivea.nhacso.115x485.swf','');
    var float_qv1 = new Array('http://www.tinhxanhband.net/music/cover/[1188846286]LoiSinLoiMuonMang.jpg','http://www.tinhxanhband.net/4rum/index.php?autocom=music&CODE=album&aw=play&id=952');
    var float_kh1 = new Array('/logo.gif','http://www.tinhxanhband.net');
    var float_thanhtu = new Array('/Images/khachhang/cadaome.jpg','http://www.nhacso.net/Music/Album/2007/08/05F63919/');
    //var float_kh1 = new Array('/Images/khachhang/nhacso.gif','http://www.phongthan.com.vn');
    var float_tutt = new Array('/Images/khachhang/thanhthao_off.jpg','http://forum.gate.vn/showthread.php?t=31178');
    var float_qv1 = new Array('http://www.tinhxanhband.net/music/cover/[1188846286]LoiSinLoiMuonMang.jpg','http://www.tinhxanhband.net/4rum/index.php?autocom=music&CODE=album&aw=play&id=952');


    //var float_out = new Array('/Images/khachhang/dongca_fload.jpg','http://albumvang.nhacso.net/dongcavicongly/press-release-2.php');
    var float_out = new Array('/Images/khachhang/duymang_fload.jpg','/Music/News/2007/06/05F62F60/');
    var float_dioxin = new Array('/Images/khachhang/phuonguyen_Fload.jpg','http://forum.gate.vn/showthread.php?t=10401');

    //-- Ch&#232;n quảng c&#225;o v&#224;o c&#225;c trang con
    //
    //-- Trang chủ
    //
    if( self.location == 'http://www.nhacso.net/Music/')
    {
    float_left = float_kh1;
    float_right = float_tutt;
    }
    //-- Trang ca sĩ
    //
    else if( pepsi_floating_location_test.indexOf('Artist') != -1)
    {
    float_left = float_kh1;
    float_right = float_qv1;
    }
    //-- Trang nghe nhạc - album
    //
    else if( pepsi_floating_location_test.indexOf('Album') != -1)
    {
    float_left = float_kh1;
    float_right = float_qv1;
    }
    //-- Trang b&#224;i h&#225;t
    //
    else if( pepsi_floating_location_test.indexOf('Song') != -1)
    {
    float_left = float_kh1;
    float_right = float_qv1;
    }
    //-- Trang chuyện hậu trường - tin tức
    //
    else if( pepsi_floating_location_test.indexOf('News') != -1)
    {
    float_left = float_kh1;
    float_right = float_qv1;
    }
    //-- C&#225;c trang kh&#225;c - Ưu ti&#234;n c&#242;n lại
    else
    {
    float_left = float_kh1;
    float_right = float_qv1;
    }


    if(float_left != '') {
    document.write('<div id="floating_banner_left" style="position:absolute; overflow:hidden; top: 0px; left: 0px; width: 115px; height: auto; border: 1px solid #000;">');
    document.write(' <div id="floating_banner_left_content">');
    {
    document.write(' <a href="'+float_left[1]+'" target="_blank"><img src="'+float_left[0]+'" border="0"></a>');
    }

    document.write(' </div>');
    document.write('</div>');
    }


    if(float_right != '') {
    document.write('<div id="floating_banner_right" style="position:absolute; overflow:hidden; top: 0px; right: 0px; width: 115px; height: auto; border: 1px solid #000;">');
    document.write(' <div id="floating_banner_right_content">');

    {
    document.write(' <a href="'+float_right[1]+'" target="_blank"><img src="'+float_right[0]+'" border="0"></a>');
    }

    document.write(' </div>');
    document.write('</div>');
    }
    </script>



    </script>
    <script type="text/javascript" language="javascript">
    pepsi_floating_init();
    </script>

    </head>
    <div id="ipbwrapper">
    <div id="ipbwrapper111">

  4. #4
    Join Date
    Sep 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default please

    can someone help me please !!!!!


  5. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Please post a link to the page on your site that contains the problematic script so we can check it out.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

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
  •