Hi All,
I am creating an element on my page like so:
<a href="">
<span class="benefits">
Free entry<br />
20% off in store<br />
First to know about latest courses
</span>
</a>
The client wants the whole area clickable, and the list of benefits to display with bullet points.
As far as i am aware lists cannot be placed inside anchor ...
Here's a fiddle.
I need to make the <fieldset> the width of its contents, rather than its parent. Is there a good way to do this?
...
I have the follow code that allows me to drag a div into 3 boxes.
I am trying to get the draggable div to fit in the box from onces you dropped on to it, Because at the moment it will drop onit it but it allows it to be dropped anywhere on the window how can i stop that from happening?
<div id="drop1" class="dropzone">Accepts the eleme...
Hello:
I wanna make certain fields in my page to show me like a list of possible finishing sentences just like Google does.
I think this is done via jQuery, but I'm not sure.
The textfield is named commodity.
Let's say I write General and in the list, array, or DB I have General Commodity I should show me General Commodity under the ...
A passionate discussion from today.
Developer 1: "AJAX is a set of tools,
use it where it really helps, not just
for the sake of it."
Developer 2: "Its almost 2011, we can
build rich desktop like applications
in the browser, we should use AJAX
everywhere and make a single page
application with everything in it an
A...
I have an element of an arbitrary type. I'd like to create another element, of either the same or a different type that has the same position and size as the first. The element may or may not be positioned.
For example, I might start with a <select> with a certain size, possibly dependent on its contents, i.e. width/height auto. I wa...
I just came across hoptoadapp.com and I was a bit shocked, that there is very little images on the site. Most of the banner, buttons are made purely of CSS styling.
For example the up-right banner "See plans and pricing" is basically fully based on CSS, with all shades, gradients, etc made by CSS, also its different style-sheet for eve...
i have this jquery problems i have had for days, im so new to this, so excuse my dumbness in this subject. thanks :))
html code:
<ul class="statuses">
<li id="set_23" class="message">
// this is meant to increase everytime you click the vote_up just like stackoverflow
<span class="vote_count">27</span>
<a href="#" class="vote_up...
For example:
PageA.html
<a href="pageB.html#bottom">Go to Page 2 Bottom</a>
PageB.html
lots of breaks so that the hyperlink is towards the bottom with lots of vertical scroll.
<br/><br/><br/>...<a name="bottom">bottom of page</a>
When I click the link of PageA, I want it to go to PageB, but end up with the bottom A scrolled into ...
Hi, I have a problem with Google maps API. I'm using V3 API and fancybox for show up map in lightbox-like div. When I click on the link for the first time, fancybox opens and map loads as well. Everything seems to be OK, but when I close the fancybox and try to reopen, the map is loaded wrong..It loads only at about half area than it has...
I am building a website for a customer who may not be very computer literate. This person knows how to use email. How can I build a website (purely html, javascript) where he can email his latest prices and the website automatically updates itself. I dont think he would be literate enough to FTP file some where. Is it possible?
How to b...
Hi, I am trying to display a number of inputs and their corresponding labels. They are both inline elements, and I have a working solution with adding a br tag at the end like so
<label for="hello"></label>
<input id="hello" type="text" />
<br>
<label for="stackoverflow"></label>
<input id="stackoverflow" />
Id like to solve this with...
I am using Volusion for my e-commerce website, and would like to add Facebook and Twitter buttons/icons to the footer of my website (sort of like the "cc-wiki" and "Peak Internet" logos in the footer of this page).
Here is the current HTML code for my footer. What code do I add to leave the Copyright and "Powered by Volusion" text left...
i am making a menu for my school assignment and it needs to work in both IE and firefox.
I am done the menu and it works perfectly in firefox, but i am having trouble getting it to display properly in IE
A part can be found over here: http://tutudragon3.info/ie-trying.php
When i click the home image in firefox, a dropdown sort of thing...
Hello!
I was reading a book about AJAX and the writer said that one should always add a space inside of empty div tags so as to not risk compatibility problems in "some browsers".
So this would be wrong <div></div> and this would be right <div> </div>.
Question: Is he an idiot or does he know something?
Thank you.
...
Is there a way to get right-to-left scrolling/content when using -webkit-column?
...
i have this voting jquery script, which works fine, but i want the option for the user to toggle the vote, just like stackoverflow, so basically
you can vote up by clicking up arrow
increase vote by 1
if they click again on the picture(arrow up)
minus 1 from the vote
my jquery script:
$(document).ready(function() {
$('.s...
We are developing a web application with GUI customized to use on iPhone. A page on the app has 3 subsequent SELECT dropdowns, where selection of an option from 1st dropdown derives the options for 2nd dropdown, and so forth. The subsequent dropdown options are populated by javascript based on onchange event on previous dropdown.
The pr...
All,
This question probably has a very simple answer - something I'm overlooking. But maybe someone can tell me where to look...
I have a PHP page ("index.php") with a very simple login form (e.g., username and password).
When the user clicks the "Submit" button, the form POSTs the values to another PHP page ("login.php"). That page i...
I've been building a form all day and doing most of my dev in webkit browsers because of the good developer tools. I went to test in IE and I'm having some really strange results with regards to having 3 columns of divs in a row. I can't seem to find a fix. Has anybody seen this issue before (see link below)?
http://65.61.167.68/form/
...