SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Guru
    Join Date
    Dec 2008
    Posts
    692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    how to change <ilayer with <div>

    i am using ilayer
    <ilayer id="d1" width="200" height="200" visibility="hide">
    <layer id="d2" width="300" height="200">
    <div id="descriptions" style="text-align:left;">

    <!--Change below to default content of your own-->


    <br/>

    </div>
    </layer>
    </ilayer>

    but it mnot supported
    instead i tired using DIV but i am not getting anything
    how do i change layer & ilayer with div in the specific lines
    jusy using
    <div id="d1" style="width:200px; visibility:hidden">
    instead of
    <ilayer id="d1" width="200" height="200" visibility="hide">
    doesnot work

  2. #2
    SitePoint Member
    Join Date
    May 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    hey, i got solution for your question. But i would like to ask whether u know css well r what. As in that, there are things related to hide and show concept. Try on that. If anything, you can revert back. <snip>
    Last edited by Dan Grossman; May 30, 2009 at 00:59. Reason: Self-promotion removed

  3. #3
    SitePoint Guru
    Join Date
    Dec 2008
    Posts
    692
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    whts the solution. ya i use CSS

  4. #4
    SitePoint Member
    Join Date
    May 2009
    Posts
    3
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by svibuk View Post
    whts the solution. ya i use CSS
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    <script type="text/javascript">
    function showElement(layer){
    var myLayer = document.getElementById(layer);
    if(myLayer.style.display=="none"){
    myLayer.style.display="block";
    myLayer.backgroundPosition="top";
    } else {
    myLayer.style.display="none";
    }
    }
    </script>
    </head>

    <body>
    <use href tag here class="button" onclick="javascript:showElement('v-menu')">
    <span>Click Here</span>
    </href ta>
    <ul id="v-menu" class="v-menu" style="display:none;">
    <li><use href tag here>Technology</href tag></li>
    <li><use href tag here>Design</href tag>></li>
    <li><use href tag here>Css Gallery</href tag>></li>
    <li><use href tag here>Entertainment</href tag>></li>
    <li><use href tag here>Programming</href tag>></li>
    </ul>
    </body>
    </html>


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
  •