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

  • Home
  • SEARCH
  • 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 8406563
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T23:08:37+00:00 2026-06-09T23:08:37+00:00

I think code will explain better than words. Basically the goal is that only

  • 0

I think code will explain better than words. Basically the goal is that only Customizable section should be edited in future (means, 400, 500 etc should be added without interfering with code in Static section).

Right now I’m trying to pass screenId. You could say that I Can just replace function() with function(id) but that’s not the only variable I will be passing in future therefore it would be great if I could inherit those variables like I could inherit this.id between prototypes without need to pass them as function’s argument.

Code you can find here: http://jsfiddle.net/J4pK6/

Thanks in advance for your time and support.

Mike

  • 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-06-09T23:08:38+00:00Added an answer on June 9, 2026 at 11:08 pm

    This will be fixed by using screens[screenId].content.call(this);
    Reworked code

    Reference:this and call
    Thanks to Felix Kling

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

Sidebar

Related Questions

I think following code should generate an error: #include <iostream> #include <string> static void
The code below shows me (I think) that the for each loop is about
I think that looking at others' code is a good way to learn. I'm
I have set up a little snippet that will take an autoresponder code for
its hard for me to explain this one, but i hope some code will
pseudo code to explain my self better. I'm learning Java at this point in
I can't think of a way to explain what I'm after more than I've
Hey! i will try to explain my question better here and my situation :)
I think this code For Each file in filecoll Ext = UCase(Right(File.Path, 3)) If
I think my code might be written incorrectly and this is causing my problem.

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.