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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 18, 20262026-05-18T09:06:49+00:00 2026-05-18T09:06:49+00:00

I am using facebox (you may know of it) and my script looks like

  • 0

I am using facebox (you may know of it) and my script looks like

$.extend($.facebox, {
    settings: {
      opacity      : 0,
      overlay      : true,
      loadingImage : 'http://example.com/images/loading.gif',
      closeImage   : 'http://example.com/images/closelabel.gif',
      imageTypes   : [ 'png', 'jpg', 'jpeg', 'gif' ],
      faceboxHtml  : '\
    <div id="facebox" style="display:none;"> \
      <div class="popup"> \
        <table> \
          <tbody> \
            <tr> \
              <td class="tl"/><td class="b"/><td class="tr"/> \
            </tr> \
            <tr> \
              <td class="b"/> \
              <td class="body"> \
                <div class="content"> \
                </div> \
                <div id="footer"> \
                <p class="left" id="changable"> \
                Footer \
                </p> \
                <p class="right"> \
                  <a href="#" class="close"> \
                    <img src="http://example.com/images/closelabel.gif" title="close" class="close_image" /> \
                  </a> \
                </p> \
                </div> \
              </td> \
              <td class="b"/> \
            </tr> \
            <tr> \
              <td class="bl"/><td class="b"/><td class="br"/> \
            </tr> \
          </tbody> \
        </table> \
      </div> \
    </div>'
    },

and in the file, that is using text
(remote html) I want to change the footer depending on the file. Multiple remote.html files will be open (share.php, warning.php) and I want to change the footer depending on those. Is there something I can do in this javascript, or is there something I can do within each of share.php and warning.php to grab the and set it’s content to something new?

I tried:

$(function() {
        $("#changable").html('Hello');

    });  
$(function() {
        $("#changable").innerHTML = 'Hello';

    }); 
$(function() {
        $("#changable").text('Hello');

    }); 
$(function() {
        $(".left").html('Hello');

    }); 

(I have jquery installed) but nothing.

I’m new to javascript, and I know this is probably easy, but I can’t get it working for the life of me.

Thanks in advance.

  • 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-18T09:06:50+00:00Added an answer on May 18, 2026 at 9:06 am

    Jquery solution Try this…

    $(function() {
    //a tag id is anchor_id
    //p tag id is para_id        
    $("#para_id").html($('#anchor_id').attr('title'));
    
    });  
    

    Use the code

    $("#para_id").html($('#anchor_id').attr('title'));

    By trigerring an event. My sample code is here…

    $("#button_id").click(function(){
    $("#para_id").html($('#anchor_id').attr('title'));
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Im using facebox for delete data (conformation) from MySQL. i like to know how
I am using facebox ( http://famspam.com/facebox ) to hold some content loaded via an
I am using facebox which uses jQuery 1.2.1 on my website here http://www.pointclickshoot.com/beta2 The
I'm using FaceBox I'd like for it to open 1 time only on page
I am using the facebox plugin in jQuery. I would like to maintain a
http://img163.imageshack.us/img163/6248/93306989.jpg the images above show what i want, i'm using Facebox to do the
So, I'm using Facebox 1.3 (latest) I call facebox with a link like this:
Ok, so I am using the facebox plugin. One of the examples given is
i want to enable facebox jquery using javascript. here in normal html <a href=stairs.jpg
using this http://bl.ocks.org/950642 we can see how to add images to nodes, the question

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.