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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T00:45:13+00:00 2026-05-20T00:45:13+00:00

i have a flash based site. i would like to position an ad on

  • 0

i have a flash based site.
i would like to position an ad on top of it with javascript (centered horizontally like the site).

<script type="text/javascript">
var pw_d=document;
pw_d.projectwonderful_adbox_id = "00000";
pw_d.projectwonderful_adbox_type = "0";
</script>

the flash site is all in 1 flash container. i plan to just leave a visual gap in the flash site for the ad to hover over.

i don’t know the html or javascript required to do this.
still searching, this seems like it might be somewhat common.

i assume i will be using div(s)

the reference site:

http://www.charbythevampirate.com/shell.html?page=comics&comic=24

  • 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-20T00:45:13+00:00Added an answer on May 20, 2026 at 12:45 am

    Here’s something quick I mocked up.

    http://jsfiddle.net/meNVU/

    Basically, you want to position your image absolutely in css, then set both the top and left properties to 50%. After that, set margin-left and margin-top to half the width * -1 and half the height * -1 respectively. Then, just set the z-index on the <object> embedding the flash to 0, and the z-index for the image to 1. That should (and did) get you on the right track.

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

Sidebar

Related Questions

I have a flash file which is basically an animated TV that flicks through
I have a website with a Flash banner. This has worked fine in all
i have a json file with unicode characters, and i'm having trouble to parse
I have been trying to store image form android sdcard to the sqlite database.
I have a problem with my Java program. It has a socket connection between
I have a Spring project that uses Maven and has several profiles to allow
I am trying to create a database with the name of a string stored
I'm not 100% sure I'm doing this right, but I think I've found an
I'm getting an exception when saving a List in nHibernate, but saving an individual
I'm trying to run an irc bot with cakephp. My problem is referencing the

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.