If I have two DIV's on my webpage which are larger than a browser window, than I have a horizontal scrollbar in my browser.
What should I do to hide this browser scrollbar for the first DIV and not to hide for a second?
Like I have two divs: 200px and 300px width. I want to hide horizontal scrollbar if my browsersize 201-299 px. 250px ...
Here is a problem.
I have an HTML form with several fields in it.
One of the fields - 'Upload file'.
When I upload a file, everything works properly. But when I choose to submit the form without a file, it gives me the error message: "There was an error uploading the file, please try again". Looks to me that the script thinks that upload...
As the title says, is it possible to select elements in XPath that only begin with a certain string, but perhaps do not end with the same?
For example there are 3 anchor elements:
<a href="buy.php/onething"></a><a href="buy.php/twothing"></a><a href="sell.php/anotherthing"></a>
I only want to get anchor elements that begin with 'buy....
I often use www.freecsstemplates.org for quick HTML/CSS websites and often find myself spending time manually building in little JQuery effects to them, downloading the necessary libraries, resolving conflicts, etc.
Does anyone know of a similar collection of free HTML/CSS templates which have JQuery built in, i.e. all local jquery file...
This is my code:
$('#ss a:active').parent().addClass('ss-active');
I guess you can tell from my code what I want to do, but it's not working, how can I do this? and I also want when the user removes the mouse from the button to come back to normal state, what I mean by: "the user removes the mouse from the button" is that the user can...
I am trying to implement an onclick event for an anchor tag on a website from Excel VBA. The following code gives me error message.
Set iePage = ieApp.document
Set ieAnchor = iePage.getElementsByTagName("A").Item(5)
ieAnchor.onclick = true
The error message is a run time error that says 'Not Implemented'
Can someone please advise on g...
In my database in some fields the data is showing like as in following screenshots:
http://i31.tinypic.com/2637l9f.jpg
http://i27.tinypic.com/1ihh6d.jpg
http://i26.tinypic.com/2yklzb4.jpg
http://i31.tinypic.com/2vbshtf.jpg
I used mysql_real_escape_string while inserting my data into database and htmlspecialchars while displaying.
...
Ok, I know everyone thinks IFrames are bad an I know that. But I am "required" to use one for a rare case.
So the question I have is when you have an .aspx page that contains an IFrame and then in that IFrame another .aspx page, if you want that .aspx page inside that IFrame to be able to work with JS, should you:
1) Put all your JS i...
Hey,
I have this CSS-rule to get the "pushed-down" effect on pressed links:
a:active {
position: relative;
top: 1px;
}
Now this works as expected, however I want to write a rule that disable this on linked images as this one:
<a href="#"><img src="..." /></a>
Is it possible?
Thanks.
...
I have a page with several links. I want to make that when a user clicks link #1 he will be redirected to a contact form and select item #1 in the dropdown menu. Same goes for #2 and item #2 in the dropdown menu. Is this possible ?
...
I have been developing my webapp with a certain zoom level on firefox that I set initially (using ctrl+wheel). Now when tested on a different PC on firefox, the default 100% seems to be too big. Can I set default using css?
...
I have often wrapped block level elements with <a> tags in order to make the whole group clickable. For example, say I have a list of events:
<ul>
<li>
<a href="#" style="display: block;">
<div style="float: left; display: inline;">12/12/2010</div>
<div style="float: left; display: inline;">Some event...
Note: I asked a similar question 5 minutes ago, however this is not the same...
I have this CSS-rule to underline links without striking through any of the letter's "foots":
a:hover, a:focus, a:active {
color: #3b234a;
border-bottom: 1px #ccc solid;
}
Now this works as expected, however I want to write a rule that disable thi...
Hi everyone!
I want to add reviews and rating to each (clinic) record of the database. If people search a clinic, the webpage shows multiple (clinics) records on the webpage, and then user can rate and write review to any clinic or multiple clinics. Then each clinic will show there won rating stars.
Like in this link
http://search.y...
how to make a input type=button act like a hyperlink and redirect using a get request?
...
I know email addresses are limited to 254 characters, but is there a single resource that outlines suggested maxlengths for common fields like contact information e.g. phone, city, etc?
It seems every project I work people just shoot from the hip on their proposed limits. I'm hoping to find a canonical reference, targeted to a specific ...
I have the following code working fine in IE8 (and IE8 in IE7 compatibility mode) but not generating the right results in IE7
var areaId = "eventArea" + index;
var tempArea = $("<AREA id='" + areaId + "' shape='rect' coords='" + value.x + "," + value.y + "," + (parseInt(value.x) + parseInt(value.w)) + "," + (parseInt(value.y) + parseInt...
Here is my HTML:
<tr>
<td>
<div class="fileinputs">
<input type="submit" name="submit" class="submit" />
</div>
<div class="fileinputs">
<input type="file" class="file" name="uploadedfile" />
...
Hello
I'm no expert on web development, and need to find a way to let the browser call a PHP routine on the server with the current document ID as parameter, eg.
http://www.acme.com/index.php?id=1
I then need to call eg. /change.php with id=1 to do something about that document.
Unless I'm mistaken, there are three ways for the clie...
Is there a way to create your own HTML element? I want to make a specially designed check box.
I imagine such a thing would be done in JavaScript. Something akin to document.createHTMLElement but the ability to design your own element (and tag).
...