Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6005919
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T01:27:57+00:00 2026-05-23T01:27:57+00:00

After 3 days of working on one ‘Dragable Windows Interface’ i discovered that the

  • 0

After 3 days of working on one ‘Dragable Windows Interface’ i discovered that the core isn’t allowing me to make more than one window on a page.

I decided to switch to Prototype-UI interface but it seems like it interrupts with my current Jquery code, any ideas how to fix this?

This is the error that Web Console shows me when i attach Prototype-UI JS files:

[16:39:42.443] $("BODY") is null @ http://XXX.XXX/smart_panel/res/main.js:4

so basically this is the code that makes the problem: (Jquery bg image stretcher).

$(document).ready(function(){
//  Initialize Backgound Stretcher
$('BODY').bgStretcher({
images: ['images/spb3.jpg'], imageWidth: 1360, imageHeight: 765
});
});

After i’ve tried to delete this i got another error on the next JQuery plugin ($(‘#dock2’) is null).

And its really frustrating to try over and over again when you are not a JavaScript pro (I think the practice is the best learning process tho).

So after deleting those three lines:

<script type="text/javascript" src="res/prototype.js"></script>
<script type="text/javascript" src="res/effects.js"></script>
<script type="text/javascript" src="res/window.js"></script> 

Which is the files of Prototype-UI everything is normal again and i get no errors, so is there any way that this interface was designed to work as a standalone without any other JS/JQ scripts? I don’t think so and that’s why i need your help.

Here is the link to Prototype-UI: http://docs.prototype-ui.com/trunk

If there is no way to fix it, can someone please suggest a GOOD Dragable windows plugin that will allow me to create multiply resizeable-dragable windows on a page? :\

Best Regards,
Rico S.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T01:27:58+00:00Added an answer on May 23, 2026 at 1:27 am

    If you’re trying to use jQuery and Prototype in the same page, you’re going to have to deal with the fact that only one of them will win out in the fight for “$”. It sounds like you’re importing Prototype after jQuery, which means that your code that expects “$” to be the jQuery master function is actually the Prototype “getElementById” shortcut.

    I don’t remember whether Prototype has a conflict prevention hook, but jQuery definitely does. What you can do is after importing the jQuery library, add a small <script> block like this:

    <script> jQuery.noConflict(); </script>
    

    After that point, the libraries can co-exist, but all your code that wants to do jQuery stuff will have to use the function name “jQuery” and not “$”.

    You may want to look into the jQuery UI widget collection. There’s a “dialog” widget in there that is (or can be) draggable and resizeable. Whether multiple such dialogs can be present on the page concurrently, I don’t know, mostly because that’s a bad user interface pattern (in my opinion) and I’d never do it.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

after 2 days of trying to find out why my service isn't working I
I returned to one of my ipad projects after few days and strangest thing
Edit: Somehow I knew, after two days messing with this, that I'd figure it
Im working with core data in the iphone, it seems that is going fine
I've run into a problem with an iPhone core data application that I'm working
From Last few days I am reading and working on Jasmine.After reading it I
After days of searching the web (Including MSDN) for a way to get Hardware
I am a powershell novice. After days of searching.... I have put together a
I need to implement Android application which will be expired after few days or
We need to schedule some tasks in Plone 4 (notify users after n days

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.