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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T01:02:32+00:00 2026-05-26T01:02:32+00:00

I am using JQuery Overlay from FlowPlayer. I have this that opens my overlay:

  • 0

I am using JQuery Overlay from FlowPlayer.

I have this that opens my overlay:

<a rel="#overlay1" class="miniOpenBtn">Open</a>
$("a[rel]").overlay({mask: '#EFEFEF'});

I am bored of the standard close button and would like to add my own button, that’s positioned anywhere inside my overlay:

<a id="closeOverlay" class="miniCloseBtn">x</a>

How can I get this link to close the overlay?

I looked at the documentation and they only give an example of replacing the original close button in the corner of the overlay, using class “close”. I want to get rid of that original close button altogether and place additional ones inside the overlay.

I have looked at some old answers here on StackOverflow but having only started to learn JQuery last week, it’s a little confusing to say the least.

Any help gratefully received.

  • 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-26T01:02:32+00:00Added an answer on May 26, 2026 at 1:02 am

    I tried this and got it working, after a long hard search in their forums. By applying (close:”a.closeOverlayBtn”), it allows me to use a different button for closing the overlay.

    The JQuery

    $("a[rel]").overlay({
    mask: '#EFEFEF',
    close: "a.closeOverlayBtn"
    });
    

    The Overlay Close Button

    <a class="closeOverlayBtn" onclick="flashElement(<%=rsPhotoData.Fields("photoID")%>)">
    x
    </a>
    

    Which as you can see allows me to call JS functions using my close button, the original one didn’t easily allow this.

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

Sidebar

Related Questions

I'm using the overlay jquery from here: http://flowplayer.org/tools/overlay/index.html Within my overlay I have a
The Scenario Using jQuery, I have a page that has a popup overlay containing
For a site I'm using Flowplayer and the Overlay tool from jQuery Tools ,
I'm using the Overlay plugin from jQuery Tools: http://flowplayer.org/tools/overlay/index.html to display a full size
How do I refresh the page(from overlay) using jQuery with Fade In effect? I
I'm using an nice overlay example from link but want jquery to respond to
Using jQuery, is there a way to select all tag that reference a specific
Using jQuery, how would you find elements which have a particular style (eg: float:
using jquery v1.3.2 and jQuery UI 1.7.1 I have 1 tab control with 3
I'm using the Boxy jQuery plugin to open dialog windows and populating it through

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.