Results 1 to 2 of 2

Thread: Channel Mode Window Opener

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

    Default Channel Mode Window Opener

    Hi
    Could someone please assist me with this. I need to use the channel Model window opener code but not initiated from a button as the script on here shows but instead from a text link.
    Is this possible?

    I am pretty new to html so i would really appreciate some example code to do this.
    Thanks in advance
    http://www.dynamicdrive.com/dynamicindex8/window2.htm
    Davyd

  2. #2
    Join Date
    Feb 2008
    Location
    Cebu City Philippines
    Posts
    1,160
    Thanks
    17
    Thanked 277 Times in 275 Posts

    Default

    Simply replace the button with the text you want

    Something like this would work for you
    Code:
    <script>
    <!--
    
    /*
    Channel Mode Window Opener Script- 
    © Dynamic Drive (www.dynamicdrive.com)
    For full source code, installation instructions,
    100's more DHTML scripts, and Terms Of
    Use, visit dynamicdrive.com
    */
    
    function channel(){
    window.open("http://www.google.com","","channelmode,scrollbars")
    }
    //-->
    </script>
    <a href="#" onClick="channel();return false;">Link Me</a>
    See if it helps
    Learn how to code at 02geek

    The more you learn, the more you'll realize there's much more to learn
    Ray.ph!

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
  •