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 8335637
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T03:43:53+00:00 2026-06-09T03:43:53+00:00

im using http://www.dhtmlgoodies.com/index.html?whichScript=quiz-maker but i want to be able to display a picture for

  • 0

im using http://www.dhtmlgoodies.com/index.html?whichScript=quiz-maker but i want to be able to display a picture for each question.

ive already tried adding the likes of this to each section but it doesn’t seem to work.

        (new Image()).src = "http:/track.me/image.gif"; 

and

        var img = new Image(1,1); // width, height values are optional params 
        img.src = 'http://www.testtrackinglink.com';

Here is the question var below.

        var questions = [
                {
                    label : 'Name Arsenals Football Ground?',
                    options : ['Emirates Stadium', 'Old Trafford', 'Stamford Bridge'],
                    answer : ['Emirates Stadium'],
                    forceAnswer : true,


                },
                {
                    label : 'Who was the champion of this years soccer world cup in South Africa ?',
                    options : ['Brazil', 'Netherlands', 'Spain'],
                    answer : ['Spain'],
                    forceAnswer : true  
                },
                {
                    label : 'Name two former Arsenal players ?',
                    options : ['Thierry Henry', 'Tony Adams', 'Michael Owen', 'Ole Gunnar Solskjaer'],
                    answer : [0,1], // refers to the second and third option
                    forceAnswer : true
                }
                ,
                {
                    label : 'United States has how many states',
                    options : ['49','50','51'],
                    answer : ['50'],
                    forceAnswer : true
                },
                {
                    label : 'A crocodile is a member of which family ?',
                    options : ['amphibian','reptile', 'vermin'],
                    answer : ['reptile'],
                    forceAnswer : true
                },
                {
                    label: 'In which year did Atlanta(US) arrange the summer olympics ?',
                    options : ['1992','1996','2000'],
                    answer :['1996'],
                    forceAnswer : true
                }

            ]
  • 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-09T03:43:55+00:00Added an answer on June 9, 2026 at 3:43 am

    Creating a new image does not mean it get’s appended to the DOM as well. You have to add it manually.

    var img = new Image();
    img.src = 'http://www.example.com/images/img.jpg';
    
    document.body.appendChild(img);
    

    Also, make sure the element you want to append the image to exists before running the javascript.

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

Sidebar

Related Questions

I'm using this ( http://www.j-download.com/demo/demo-j-dcontact.html ) form on my website. It works great but
I've been using http://www.regexplanet.com/advanced/java/index.html to test a regular expression I've written. The regular expression
In my application i want to get the weather report I'm using http://www.google.com/ig/api?weather= for
I am using jqGrid ( http://www.trirand.com/blog/ ) to display some read-only data. The resizeable
I am using http://www.chaosinmotion.com/flowcover.m and would like to know how I may display a
I am looking into using http://www.asual.com/jquery/address/ , but I am wondering how it effects
I've never done html e-mail before, I've just set up php mail using http://www.postmarkapp.com
I'm using http://www.chicowebdesign.com/blog/2010/10/21/updated-jquery-multiple-background-plug-in/ As they state to, but in IE the multiple backgrounds do
Currently I've been using http://www.geoiptool.com/ but I can't get the local time. I don't
Where can I find full docs for using http://www.facebook.com/sharer.php ? I want to know

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.