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
    Nov 2007
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Right-click Menu

    I came accross this script http://www.javascriptkit.com/script/...lickmenu.shtml and I would like to know if anyone knows how to intergrate this into a PHP Nuke site. I am fairly new at this I am not sure of where to even start. Can someone please assist me with this?

  • #2
    New Coder
    Join Date
    May 2007
    Location
    Manchester, UK
    Posts
    72
    Thanks
    0
    Thanked 2 Times in 2 Posts
    It's IE only. That's horrible.

    It interferes with the browser in ways that will confuse users - do you hate your users? That's horrible too.

    Just copy and paste it into the theme files, I haven't used PHPNuke for years and I'm not inclined to find out how to help you annoy people.
    Every PHP programmer of any skill level should set error_reporting(E_ALL); at the top of their scripts or in their php.ini

  • #3
    New to the CF scene
    Join Date
    Nov 2007
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts
    LOL what a reply! Thats horrible!

    What? Did someone pee in your Wheaties this morning? Thats horrible!

    I have seen it work on other sites and I kinda like it! Thats not horrible!

    Hey mods, move this to one of those where you pay a programer to do it for you because I'm to lazy to learn how to do this on my own. Now thats priceless!

  • #4
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,549
    Thanks
    8
    Thanked 1,095 Times in 1,086 Posts
    You'll have to explore the template pages and find the "header" page.
    Maybe they call it "header.php"? That's where the <head> section
    will be.

    Then, the main <body> section, etc.

    You're basically going to insert the Javascripting into the template pages.

    Always make a safe backup copy before you overwrite anything.

    And, there actually are programmers (like myself) that would be willing
    to help you out for a fee ... so, that's always another option.
    This type of customizing takes time and effort, and it requires that you
    give somebody your FTP account information. Not everyone is willing
    to do that.

  • Users who have thanked mlseim for this post:

    BUD WHEEL (11-25-2007)

  • #5
    Master Coder felgall's Avatar
    Join Date
    Sep 2005
    Location
    Sydney, Australia
    Posts
    6,642
    Thanks
    0
    Thanked 649 Times in 639 Posts
    It will only work on Internet Exploder. Real web browsers use their own right click menu that provides access to the options that the browser owner want to be there rather than allowing the web page to have a say. Some browsers will display your custom menu with the proper one partly overlaid in front of it making your site look like garbage.
    Stephen
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.

  • Users who have thanked felgall for this post:

    BUD WHEEL (11-25-2007)

  • #6
    Master Coder
    Join Date
    Jun 2003
    Location
    Cottage Grove, Minnesota
    Posts
    9,549
    Thanks
    8
    Thanked 1,095 Times in 1,086 Posts
    felgall,
    I agree, but thought the question should be answered anyhow.

  • #7
    New to the CF scene
    Join Date
    Nov 2007
    Posts
    3
    Thanks
    2
    Thanked 0 Times in 0 Posts
    Ok Thanks for your replies. Is there any other alternative where I could have a right click menu that would work with a variety of different browsers? I dont mind paying a fee. I have seen this work on other sites, but I do use Internet Explorer myself.


  •  

    Posting Permissions

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