Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 7 of 7
  1. #1
    New to the CF scene
    Join Date
    Jun 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    hi I need help with this full screen window opener script.

    hi I need help with this full screen window opener script.

    I dont want to use a <input type="button" onClick
    Question; can I change it for a graphic of my own

    how do I do this.

    THANX!!


    <script>
    <!--
    /*Full screen window opener script: Written by JavaScript Kit (www.javascriptkit.com) More free scripts here*/
    function fullwin(){
    window.open("http://www.javascriptkit.com","","fullscreen,scrollbars")
    }
    //-->
    </script>
    <form>
    <input type="button" onClick="fullwin()" value="Open window">
    </form>

  • #2
    The fat guy next door VIPStephan's Avatar
    Join Date
    Jan 2006
    Location
    Halle (Saale), Germany
    Posts
    8,608
    Thanks
    6
    Thanked 997 Times in 970 Posts
    You can use any element, for example: <div onclick="…">content</div>

  • #3
    New to the CF scene
    Join Date
    Jun 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanx, but where do I position this

    sorry im new to all this

    Thanx

  • #4
    Regular Coder
    Join Date
    Sep 2007
    Location
    AZ, USA
    Posts
    685
    Thanks
    6
    Thanked 46 Times in 46 Posts
    Erm, you can position it wherever you want/need it to be. Just add onclick="fullwin()".

  • #5
    New to the CF scene
    Join Date
    Jun 2008
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanx!!!

  • #6
    New Coder
    Join Date
    Apr 2007
    Posts
    60
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I have 300+ pages and want to add this button. I can add this scipt to my pages via batch replacer but I don't want enter each page adress to code one by one. Is there a way to do this?

  • #7
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,849
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    I have 300+ pages and want to add this button.
    It'd be nice to post a new thread, by explaining your requirement precisely.
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)


  •  

    Posting Permissions

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