Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jun 2010
    Posts
    8

    Default Using 3rd Party Javascript

    I am currently skinning up a custom cpanel theme for a company I work with from time to time, kudolabs.net. They would like their Jixed Bar that is on their main web page to be on the skin for cpanel, and I am attempting to put it there now. I have put the code into the html of the skin, both the call to the proper javascript files and css files, and the proper code for the bar itself. It is not working, the bar shows up as it is supposed to, but it is not aligned correctly and the bar does not float with the page. It acts exactly like the javascript is not working at all.... Unfortunately I can't just provide access to the cpanel for people to check, but you can see the source code of the main page, kudolabs.net.

    I'd be willing to give someone a couple months of hosting or something for some help. Let me know guys! @_@


    Thanks!

  2. #2
    Integration Developer cPanelDavidN's Avatar
    Join Date
    Dec 2009
    Location
    Houston, TX
    Posts
    525

    Default

    Hi importune,

    Hmm, it might be hard to pin-point without actually being able to render the page.

    My first guess is that the JS for the Bar is failing fatally: resources are missing, referenced elements are missing, a prototype is broke, etc. Depending on what kind of error, it may not solicite an error thru your debug console. Have you tried it in all browsers (with debug utils)?

    It's also possible that their JS and cPanel's are in conflict. It's not as common nowadays, but use to, it was not unusual to see scripts break between JS frameworks. I'm not sure what the Bar uses, but cPanel uses both custom code and YUI throughout the product.

    When I find myself perplexed in similar cPanel UI situations, I just go as simple as possible. Make a blank page or copy a simple one and start whittling away until I cut something out that makes my new code render.

    Best Regards,
    -DavidN
    David Neimeyer
    Integration Developer

    sdk.cpanel.net
    APIs: XML-API API1 & API2
    Check Out: Developer Downloads Integration Blog
    Need Support? Support Ticket Developer Forum Feature Request

Similar Threads & Tags
Similar threads

  1. Third party javascript for theme?
    By importune in forum Themes and Branding
    Replies: 0
    Last Post: 07-26-2010, 09:47 PM
  2. Recommend a 3rd party Webmail
    By hbhb in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 12-08-2006, 08:28 PM
  3. Login Via Cpanel for 3rd party
    By scottelliott in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 10-07-2005, 06:39 PM
  4. 3rd Party updates - WYSIWYG 2.2.2
    By fresco in forum cPanel Developers
    Replies: 1
    Last Post: 01-20-2005, 02:44 AM
  5. 44 scripts via autoinstall, what 3rd party provides these?
    By AbeFroman in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 06-05-2004, 05:48 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube