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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T20:14:46+00:00 2026-06-06T20:14:46+00:00

Go ahead and let me know if this is not possible: I need to

  • 0

Go ahead and let me know if this is not possible:

I need to have the google books button display in a pop-up (documentation here: https://developers.google.com/books/docs/preview-wizard). So, what I want is a pop-up that holds the google button for users so that they can click it and get google’s embedded viewer pop-up.

I use a couple CSS classes to achieve my pop-up:

.item-notes {cursor:pointer;}
.item-notes .notes-details {position:absolute; display:none;}     

Currently, I implement these classes like so:

<div class="link"><a href="#"><img src="images/icon_read.jpg" alt="" /></a> <a href="#">Sample</a></div>
<div class="link item-notes">
<div class="notes-details"><h3>Notes</h3><p>Lorem Ipsum</p></div><a href="#"><img src="images/icon_notes.jpg" alt="" /></a> <a href="#">Notes</a></div>

My issue is that I want the “Sample” section to also be a pop-up that that contains a link to a google books preview (and some other things, but for the sake of the question…

So, I try this for the “Sample” section:

<div class="link item-notes">
<div class="notes-details">
<script type="text/javascript" src="http://books.google.com/books/previewlib.js"></script>
<script type="text/javascript"> GBS_insertPreviewButtonPopup(['ISBN:9780596527068']);</script></div>
<a href="#"><img src="images/icon_read.jpg" alt="" /></a> <a href="#">Sample</a></div>

But instead of this script being housed within the pop-up, it links to another page that holds the Google Preview button.

  • 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-06T20:14:47+00:00Added an answer on June 6, 2026 at 8:14 pm

    The sad fact is that this is impossible. I even posed this question to a whole web-development team, and they confirmed. You can’t how the javascript button inside of a css pop-up. One of the two always breaks.

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

Sidebar

Related Questions

Easy question...I know a lot of the values ahead of time, and need to
I know that this question might have been asked like 100 times, but, believe
Let's say I have a private topic branch called develop with 2 commits ahead
Let's say I have this: $a11 = date(F j, Y, g:i a, $a['date']); $newTime
Let's say I have some variables declared - but I don't know exactly which,
Let's say that I am 7 commits ahead of the origin/master repo. I would
Is it possible to peek ahead while iterating an array in PHP 5.2? For
This is perhaps a result of bad design, but here it goes. I wasn't
this is my first question on stack overflow, so be gentle. Let me first
I don't know if the title explains it very well, so here's what I'm

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.