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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T11:10:45+00:00 2026-06-12T11:10:45+00:00

I have an unordered list: <ul> <li><a id=fancy_popup href=popup.html class=fancybox> Popup HTML Link</a></li> <li><a

  • 0

I have an unordered list:

<ul>
    <li><a id="fancy_popup" href="popup.html" class="fancybox">
        Popup HTML Link</a></li>
    <li><a href="other.html">Other HTML Link</a></li>
    <li><a href="other.html">Other HTML Link</a></li>
</ul>

And I have a jQuery script:

<script type="text/javascript">
$(document).ready(function() {
    $("#fancy_popup").fancybox({
        transitionIn    : 'elastic',
        transitionOut   : 'elastic',
        easingIn        : 'easeInSine',
        easingOut       : 'easeOutSine',
        speedIn         : 400,
        speedOut        : 200,
        titlePosition   : 'inside', 
        titleFormat     : 'document.write("Fancy Box Title");',
        cyclic          : true
    });
});
</script>

This jQuery Fancy Box script works elsewhere, with a div that has the id="fancy_popup" so I thought why not add it to the anchor directly in this case… I’m trying to figure out how to apply Fancy Box so that when someone clicks the Popup HTML link above, a Fancy Box window pops up, according to the script.

I’ve tried variations with placing the id on the li, on the ul and manipulating the script for these selectors to no avail. Any help is appreciated.

  • 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-12T11:10:46+00:00Added an answer on June 12, 2026 at 11:10 am

    First off, let me thank the answer above, as they really helped me understand better how this darn FancyBox works. I knew it had to work, somehow, so what I did in this case was to go back to the basics and use a simple gallery approach.

    I read other posts here, also, namely:

    can't get fancybox helper buttons to show

    and

    fancybox – d.onCleanup is not a function

    and realized also that I hadn’t include the CSS file in the right place. Stupid mistake, actually. In this case, I was creating a few different files, and I had the CSS included in the wrong file in the chain of files, and my brain told me it was taken care of but it wasn’t.

    Thanks again!

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

Sidebar

Related Questions

I have an unordered list... <ul class=hide> <li class=home> <div class=link> <a href=/>Home</a> </div>
I have a unordered list: <ul id=sortable> <li id=1 class=ui-state-default>First <a href='#' title='delete' class=itemDelete>x</a></li>
If I have an unordered list, e.g. <ul> <li><a href=index.html>Home</a></li> <li><a href=index.html>About</a></li> <li><a href=index.html>Service</a></li>
I have an unordered list as follows: <ul id=menu> <li><a href=#>Event Overview</a> <ul class=sub-menu>
I have an unordered list of links. <ul> <li><a href=#>Link is really really really
I have an unordered list: <div class=toplist> <ul> <li>Item</li> <li>Item</li> <li>Item</li> <li>Item</li> <li>Item</li> <li>Item</li>
I have an unordered list, and am using jquery to find the last ul
I have an unordered list such as: <ul id=cities> <li><a href=/london/>London<a></li> <li><a href=/new-york/>New York<a></li>
I have unordered list which has bulleted text within. I need to indent the
I have an unordered list with five list items, each with a link inside

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.