Issue with website functionality - CSS or jQuery coding flaw present

Take a look at the beta version of my upcoming website (link redacted). When you hover over one of the colored squares, a popup box similar to Panic's Coda should appear. However, there are two issues:

a) The text inside the popup is not visible. It is supposed to display ":)" according to this code snippet:

http://grab.by/syM http://grab.by/syM

$('td.middle', this).text(':)');

     td.middle refers to the middle cell's class
     this points to $('.info').each()

You may need to use an inspector tool like Firebug for Firefox or the built-in tools in Safari or Google Chrome.

b) The edges seem to be cut off:

http://grab.by/syE http://grab.by/syE

This issue might be related to:
http://grab.by/syW http://grab.by/syW

It seems that the sides have a computed width of 1px, instead of

.bubbleInfo .popup td.corner {
 position: inherit;
 height: 15px;
 width: 19px;
}

The specified width was 19px as defined in (link redacted)


You can download a ZIP archive containing all the files from here (link redacted).

Thank you very much. I understand it's quite a lot to troubleshoot.

Answer №1

The container div's width is causing the table popup to be cut off at the sides. To fix this issue, you can increase the width of the .info class to something larger than 32 (e.g., width:80px) to display the whole popup. Alternatively, adjusting the width (or min-width) of .popup to around 50px will also resolve the problem without altering the size of the colored boxes.

To address the missing smiley faces, try setting text-indent:0 in the .middle class. This adjustment helped me make the smileys visible in Chrome without affecting FireFox negatively.

Similar questions

If you have not found the answer to your question or you are interested in this topic, then look at other similar questions below or use the search

Calculate the sum of the column values and disable the option to insert new rows in the UI grid

I am currently working on a ui-grid that has a column C which displays percentage values. There is a button labeled "add rows" that allows users to add new rows to the grid. However, the catch is that users can only add new rows until the total percentage ...

The data received from the webservice is in proper JSON format, however, the jqGrid does not display the

Within my webservice, I have created a class called JqGridData to handle data population. This class was inspired by a previous thread authored by Oleg. The structure of JqGridData is as follows: public class JqGridData { /// <summary> / ...

Angular 2 encountering an error with the HTTP GET request

I am currently facing some challenges with subscribing to the response while using the http method get request. Below is my service implementation: import { Injectable } from '@angular/core'; import { Http, Response } from '@angular/http&ap ...

Is there a way to reset a value back to its original user agent default?

When utilizing the initial value, I have the ability to designate an element's CSS property to its initial value per the specification. However, there are instances where I may prefer to set a CSS property to its initial user agent value instead. Fo ...

Utilize Vue3 to categorize items and showcase the quantities from the product list

I successfully counted every repeated element in my array, now I just need to display only one of each product along with its quantity. Here is the current progress: https://i.sstatic.net/SBm64.png I have a function that I'm exporting from a file n ...

Guide on how to confirm the successful sending of an email or track errors using Codeigniter AJAX

Is there a way to return a value back to AJAX from the controller once the email has been sent? Here is some code: In the following code, I would like to store flash data in the session and have it set under specific conditions to be called back in AJAX. ...

Constantly refreshing on its own, the page never stays still

After adding a Facebook login button to my homepage, I noticed that in Firefox, the page refreshes multiple times when you are logged out of Facebook. Any thoughts on why this may be happening? You can check out the page at Thank you! ...

Using THREE.js to incorporate a stroke above extruded text

Looking to enhance text with a horizontal line above it: var geo = new THREE.TextGeometry("x", geometry_options); var mat = new THREE.MeshBasicMaterial({color: 0, side:THREE.DoubleSide}); geo.computeBoundingBox (); var vec = new THREE.Shape(); vec.moveTo( ...

Tips on resolving issues with form input that is not accepting input on a Mobile device

As a newbie in HTML and CSS, I attempted to design a form with various fields. While the fields work perfectly on larger screens, they do not allow input on smaller screens (mobile devices). I used the Firefox inspect tool to troubleshoot the issue, but c ...

The server-side API is unable to transfer cookies through the NextJS application router

I'm facing an issue in my nextjs app where I am attempting to retrieve data using the async await mechanism. My code looks like this: export const getHomeData = async (tokenCalled4PublicApis: string) => { try { // const all = getCookie( ...

Updating Angular UI-Router to version 1.0 causes issues with resolving data inside views

After upgrading my Angular UI-Router to version 1.0, I came across an interesting statement in the migration guide: We no longer process resolve blocks that are declared inside a views While it makes sense to move all resolve blocks to the parent state ...

Enhance CSS delivery for the items listed below

Reduce the delay caused by rendering JavaScript and CSS above-the-fold. There are 16 CSS resources currently blocking the rendering of your page. This delay could be affecting the loading time of your content. To improve this issue, consider deferring or ...

How to prevent the animation from triggering when changing the theme

Currently, I am developing a game that is similar to the concept of . In my game, I have implemented both dark and light themes along with animations that are triggered when the API sends a response (such as flipping a div and changing the background col ...

Exploring ways to retrieve global variables within a required() file in Node.js

Imagine having 2 files: main.js, and module.js: //main.js const myModule = require('./module'); let A = 'a'; myModule.log(); //module.js module.exports = { log() { console.log(A); } } After trying to call myModule.log, ...

Discovering identical objects by property and combining them with the help of JavaScript or UnderscoreJS

Below is an array that I have: var somevalue = [{ code: 1, name: 'a1' }, { code: 2, name: 'b1' }, { code: 1, name: 'a2' }, { code: 1, name: 'a3' }, { code: 2, name ...

Unable to retrieve a value after deactivating a Div element

I have created a web page using MVC Razor. On this page, I included a div element with the following structure: <div class="row" id="DivDisableForView"> <div class="col-md-4"> <label for="" class="control-label" ...

Display or conceal a div depending on whether the user is on a mobile or desktop browser

In order to optimize the display on different devices, I organized my content into two divisions. The left division contains quantity, price, and item name, while the right division includes product names. For mobile browsers, I would like to hide the pro ...

After refreshing the page, Google Chrome finally displays the CSS styles correctly

I'm currently working on a JavaScript script to showcase images on a webpage. These images are loaded using an AJAX request and a CSS style is directly applied using jQuery. The script functions correctly on Firefox, Opera, and IE, but Google Chrome i ...

How to set up 'ng serve' command in Angular to automatically open a private browsing window?

I am looking for a way to open my project in an Incognito Mode browser without storing any cache. Is there a specific Angular CLI flag that can be included in the ng serve -o command or in the Angular CLI configuration file to enable opening a browser in ...

In Node.js, the module.exports function does not return anything

After creating a custom function called module.exports, const mongoose = require("mongoose"); const Loan = require("../models/loan_model"); function unpaidList() { Loan.aggregate([ { $group: { _id: "$ePaidunpaid", data: { $pus ...