Tagged Questions
HTML (HyperText Markup Language) is the principal markup language used for structuring web pages and formatting content. The most recent revision to the HTML specification is HTML5.
0
votes
0answers
10 views
How can I toggle those two divs while clicking on an inside div?
I have:
HTML CODE:
<div id="katy"> <a href="javascript:void(0);" id="a"> Button 1 </a> </div>
<div id="perry"> <a href="javascript:void(0);" style="display:none;" ...
0
votes
0answers
6 views
Can't use below navigation in Json based carousel slideshow
This code is using a external JSON file to fill its carousel slider, but i can't find where is the error that i cant use the navigation in the bottom of the carousel.
If somebody knows the problem, ...
0
votes
0answers
8 views
How to combine image map area class with alt attribute to make new class
I have an image map with each of 21 states in the US as a separate area. Example:
<area class="region" shape="poly" coords="66,8,138,27,126,80,103,73" alt="WA">
<area class="region2" ...
0
votes
0answers
17 views
Scaling images to 16:9 aspect ratio
I have a background image which is getting scaled, but the problem is it is getting stretched and looking uglier when looked at smaller resolutions.
.bcg {
background-position: center center;
...
0
votes
0answers
5 views
Get actual height of content embedded in object tag
Using an object tag, to load content from a different website. Works great, but want to resize the object tag to fit it's content. Can't seem to get this right. scrollHeight and height() returns same ...
0
votes
0answers
30 views
Why doesn't this JavaScript function calculate correctly when the site is first loaded, but works fine afterwards?
I am working on a site that generates notation for a random musical rhythm based on some user-selected parameters. It does this by using an ajax call, which returns a random set of <img> ...
-1
votes
0answers
4 views
Bind graphics2d to grails img tag
I want to bind graphic from grails code, to a grails img tag. I tried several ways to do this, but none of them works:
Html:
....
<g:img bean="${Img.g}" > didn't work
<g:img ...
0
votes
0answers
8 views
Developing android/ipad application in Cognos
As part of a project for a large organization, we are looking to develop a tablet based application. The application needs to be visual, interactive and user friendly. The organization already uses ...
0
votes
0answers
16 views
CSS fix for percentage rounding areas
So I have a grid split into three even columns which, when setting them each to 33.33% leaves a small gap at the end of the column due to rounding errors (mostly in Safari).
I've attempted fix this ...
0
votes
1answer
13 views
Execute Java Code based on list of checkboxes in HTML
I have written two methods that will perform different functions based on the parameter passed to it. In this case, it is an array of checkbox values (Strings). On my .JSP I have said list of ...
0
votes
0answers
3 views
GWT Flextable setHeight function will change cellSpacing
I have a GWT Flextable, it only has few rows and columns, but I want to set this flextable's height 100% and add border for it and let the border occupy the whole page's height without changing the ...
0
votes
0answers
4 views
Multiple image cycle scripts on one page?
I have the following code:
<IMG SRC="http://2.bp.blogspot.com/-8ChQ3SBxYOY/U9bSBt4bcMI/AAAAAAAARDE/zLDJ1kP903A/s1600/1.png" name="VCRImage" BORDER=0>
<IMG ...
0
votes
2answers
14 views
Possible to nest within &:before using SASS?
Trying to use sass to position a sprite: CodePen Link. I want to have each card show, but I can only get the visa one to show using the &:before method. Can I not nest .visa/.mastercard/.amex in ...
0
votes
2answers
21 views
Filter a part of String
I have an array and its data shows on a table. Live Code
Filter by date or by name are working well.
I write some more code to show "No Data Found" if users enter a name, which is not on the ...
0
votes
0answers
33 views
Div wrap makes links wrapped in <ul> unclickable
I can't figure this thing out for the life of me! I know the html is a little messy but it works for what I wanted to do. The problem here is that I can't click the links once they're wrapped in the ...
0
votes
0answers
28 views
Jquery .data() method not working when getting html attributes
For some reason, the jquery .data() method is only working when the data is set using jquery. Attempting to retrieve data attributes set in the html results in a return value of null or undefined. ...
1
vote
3answers
26 views
how to get <td> value from the closest different <tr>
I am trying to get the third text from the nearest <tr> that contains only a specified text in one of the <td> (in this case, "cat"), when clicked certain click events.
Below is my ...
0
votes
0answers
3 views
Cycle2.js moves the location of my prev/next buttons
I'm looking to create a really simple slider in my site, I'm using cycle2 elsewhere so it seemed to make sense to add it here too.
The idea is just two divs, which can be cycled through. The divs ...
0
votes
1answer
14 views
HTML Comment Behavior
So, I noticed while messing around in a Magento WYSIWYG editor (of all things) that <!> renders as <!----> in the resultant HTML. It also seems that enclosing any string in <! > ...
-3
votes
1answer
25 views
Intensive Code Course. Ruby on rails or Front End Engineering
I'm actually deciding if I'm going to do a course of Front End Engineering or Ruby on Rails. I'm not very good a matching colors or stuff like that and I have low experience with Adobe programs like ...
0
votes
1answer
49 views
Javascript loop refuses to do a function
My javascript changes the innerHTML, but refuses to add the delay to it. My goal is to make a menu that moves the list items right after each other, but this only works for the first two list items. I ...
0
votes
1answer
20 views
Removing quotation marks from beginning and end of a string containing HTML
I am trying to replace some place holder tags in an HTML document with HTML formatted text using a windows batch file. The batch works fine except that it includes quotation marks at the beginning of ...
0
votes
0answers
20 views
Send Email through Javascript/HTML using user client
I know this question has been somewhat answered already in that using client-side scripting does not send emails, but please bear with me. I would like to have a 'send email' form on my website. The ...
0
votes
1answer
14 views
Bootstrap Center Form & Logo like Responsive Search Engine
What would be the best way to have a logo and form in the center of the page while being responsive?
Currently, I have something like
<div class="container">
<img src="logo.jpg" class="logo ...
-2
votes
4answers
48 views
onClick add input field
I want to add a transparent input text field in the centre of DIV #mainC each time the button is clicked.
JsFiddle
I tried doing this with jquery but did not succeed.
-2
votes
0answers
9 views
Is it possible to create tabbed div in html pages
Like the title says just wondering is it possible and how would one go about doing this? Like how we get tabbed panes in java etc
Mind my low level question new to the forums
-1
votes
1answer
11 views
I want to display xml data on an html page, can anyone help me?
I want to display xml data on an html page, can anyone help me ?
0
votes
4answers
17 views
Position divs as follow without float
I have a web page which looks like this :
I would like to know if it is possible to have different margin-top value for the 2 outer divs. At the moment, whether I set margin : x% or margin : ...
0
votes
0answers
14 views
Java: Reading from a URL produces gibberish
So I've been trying to read the html code from kickass.to(it works fine on other sites) but all I get is some weird gibberish.
My code:
BufferedReader in = new BufferedReader(
new ...
0
votes
1answer
11 views
Animation on each element
$(".skills span").hover( function(){
$(".skillsIknow").stop().animate({ opacity: '1' },300);
},function(){
$(".skillsIknow").stop().animate({ opacity: '0' },300);
});
I have this simple animation : ...
0
votes
3answers
33 views
RegEx first name validation
I have a question:
I want to do a validation for the first and the last name with RegEx.
I want to do it with only Hebrew and English without numbers.
Someone can help me to do that code?
0
votes
0answers
16 views
Cannot click anything on page using mobile browser
Very confused right now, we are just rolling this site out and after fixing an issue where the site wouldn't scroll on mobile (it was due to height 100% on the html element) I am now trying to ...
0
votes
1answer
17 views
Django Form Submission Failing
I'm working on a little app that allows you to save specific location information about places you've been. The issue I'm having is that clicking the submit button on the 'save new location' page ...
0
votes
1answer
9 views
Having Issue deleting and adding data to html table using dataTable
I have a html table in my page field with data from a database.
My Action column is a delete button when i try to press the delete button on that specific row that row should be deleted on the ...
1
vote
1answer
16 views
Horizontal Schedule Bar for Website
I am working on a personal website and so far, everything has been going pretty well. I got the pages set up with the basic layout and everything like that. Now I am trying to make it look more ...
1
vote
1answer
8 views
Meteor.js template echo not working
I'm following a Meteor tutorial, following it step by step and I have run into two issues:
1) when I call the {{> message}} between {{#each messages}} and {{/each}}, my "check if it works" doesn't ...
0
votes
1answer
20 views
Script works fine in any WebKit based browser but doesn't in Firefox
I have a script in (using wordpress) header.php which looks like this:
window.addEventListener("DOMContentLoaded", function(event) {
fixedMenu.init("header-container", 0);
...
0
votes
1answer
30 views
Horizontaly scrollable without scrollbar
I'm trying to mimic the behavior of overflow-y:hidden to overflow-x, but it doesn't behave the same. overflow-x:hidden doesn't allow to scroll (by dragging).
See: http://jsfiddle.net/Gxm2z/
...
1
vote
0answers
14 views
Decode Html code to unicode java [duplicate]
I am trying to find a quick way to decode html numbers (not just special characters) and convert them to unicode in Java. For example, I would like to be able to convert "В ;н ...
1
vote
6answers
44 views
jQuery Remove element where child is not
So I am trying to hide all table rows where the anchor in that tr does not have an id of x.
I have got this, but it doesn't work, is it selected wrong or not possible this way?
...
0
votes
1answer
35 views
Why can't i add any paragraph at the center of the page in HTML?
I just started developing a personal homepage for my own. Everything went well until I wanted to write text outside the menu border and header (that means somehow center of the page). If I add any ...
0
votes
1answer
39 views
Css selector - different level
I have a big problem with coding on css
HTML
<div id='wrapper'>
<div id='first'></div>
...
</div>
...
<div id='second'></div>
CSS
<style>
...
0
votes
1answer
21 views
Canvas rendered under div instead of over the div
On my website, I want do render a <canvas> on top of a <div> with some other <div>'s in it. This is all working okay, however, drawing in the canvas is not possible, because it's ...
0
votes
0answers
13 views
Merging multiple canvas in a single DIV together - JQuery
I have a method that creates different layers of canvas within single divs based on data. Sometimes a div will contain more than one canvas within it. These canvas contain an image which is usually a ...
0
votes
0answers
14 views
Switch x and y axis of li table
I am wondering would I be able to switch my X and Y axis in this table. I am using this website to create the initial graph. However the graph only allows you to manipulate the data in the Y direction ...
0
votes
0answers
7 views
Is it possible to get the calculated transform:scale value from nested divs?
When DIVs are nested with a css3 scale factor the scale values multiply. What is the best way get the current value from nested DIVs? As far as I understand it's not possible to get the value with a ...
1
vote
1answer
21 views
String with HTML tags isn't being recognized inside foreach
I have a string as a property in a JSON object. This string contains tags in order to set up some styles to it. The problem I'm facing is the fact that regardless of the well-written HTML tags it ...
0
votes
1answer
60 views
I am baffled why this javascript is not changing the color of my h2 elements
I am trying to color all strong and h2 tags based upon an earlier selection (male or female). I have done this to previous li and a tags, so I am confused as to why this isn't working. I must need to ...
1
vote
1answer
23 views
How to use jQuery to get data inside div's
I have the following:
jQuery('.activity-feed .comments div > li').each(function() {
// Refer to each piece of data here
});
The problem I am having, is that for each of these div's, I want to ...
0
votes
0answers
9 views
HTML input, Postgresql output using Javascript
I am trying to make a script within my HTML code. This script should connect to my database, store two variables ID and PID from a form in my HTML code. Once having these vales I will use them in a ...