Jump to content

kes.rajesh

New Members
  • Posts

    3
  • Joined

  • Last visited

Posts posted by kes.rajesh

  1. I am trying to get the width of anchor tag. this anchor is in the li element

     

    just like

     

    <ul>

    <li><a href="#"></a></li>

    <li><a href="#"></a></li>

    <li><a href="#"></a></li>

    </ul>

     

    and i am using li mouseover event so how i get the width of particular anchor when hovering on li element.

     

    In simple words i am trying to get the width of anchor on which i hover. but i using li mouseover event.

     

    please anyone help me. it urgent.

  2. I am trying to show two different web page in one page using iframe but it shows only the first iframe page.

     

    <body>

    <a href="#" onmouseover="show()" onmouseout="hide()">move</a>

    <iframe src="Untitled-2.html" width="300px" height="300px" id="ifam2"/>

    <iframe src="gallery.html" width="300px" height="300px" id="ifam1"/>

     

     

    </body>

     

     

    any help will be appreciated..

  3. I am trying to create a Image slideshow(gallary) in javascript which works fine in all other browsers like opera, firefox, google chrome but it not works in any version of IE

     

     

    //This code is saved in .js file

     

    var slideimages=new Array()

    function slideshowimages(){

    for (i=0;i<slideshowimages.arguments.length;i++){

    slideimages=new Image()

    slideimages.src=slideshowimages.arguments

    }

    }

    //configure the speed of the slideshow, in miliseconds

    var slideshowspeed=4000

     

    var whichimage=0

    function slideit(){

    if (!document.images)

    return

    document.images.slide.src=slideimages[whichimage].src

    if (whichimage<slideimages.length-1)

    whichimage++

    else

    whichimage=0

    setTimeout("slideit()",slideshowspeed)

    }

     

     

    // This code is saved in .html file

     

    <img src="images/qdimages/eth.jpg" name="slide" border=0 width="242px" height="190px">

    <script>

    slideshowimages("images/qdimages/eth1.jpg","images/qdimages/eth2.jpg","images/qdimages/jonica1.jpg","images/qdimages/jonica3.jpg","images/qdimages/jonica4.jpg","images/qdimages/jonica5.jpg")

    slideit();

    </script>

     

    Please anyone help where i am doing wrong.

×
×
  • Create New...