I want all .jpg links to have a certain background image. so a link on a page like 'http://mysite/myimage.jpg' would automatically be prefixed with a small icon. Actually all links to images, ie .gif .png as well with the same icon. If the link is to a website, ie .htm/.php/.html/.asp it should have a different image. I want it to be thr...
I am doing some web data classification task and was thinking if I could get the co-ordinates of html elements as they would appear on a web-browser without taking into consideration any css or javascript being referred in the web page.
My language of programming is c++ and the need results for a couple million of pages, so it has ...
Hi I am displaying a colour as a hex value in php . Is it possible to vary the shade of colour by subtracting a number from the hex value ? What I want to do it display vivid web safe colour but if selected I want to dull or lighten the colour. I know I can just use two shades of colour but I could hundred of potential colours .
to be ...
I want to be able to send messages to users of network that my computer routes to.
Modifying requested pages, by adding messages like
Warning: this access point is going down soon"
or
Network quota exhausted
or
You are overusing the network connection and may be banned
or
Security notice: this is unencrypted netwo...
Hi,
I'm trying to make a page for use with wordpress and it's almost working,
The page I want to use is an HTML page with designated space for it within certain DIVs.
I'm encountering the problem of wordpress using the wrong links to kind of everything. I will probably have to change every link to http://www.mydomain.com/sub/folder/imag...
My understanding is that mime types are set by the web server. Why do we add the type="text/javascript or type="text/css" attribute? Isn't this a useless and ignored attribute?
...
Hello. I have 30 divs with the same class on the same page. When i'm pressing the title (.pull) the content is sliding up (.toggle_container). When the content is hidden and i'm pressing the title again, the content is sliding down. Also, i want to store the div state inside a cookie.
I modified my original code to store the div state in...
Hi,
does anyone know how i can get the id of any element when the mouse is over ?
I want to show a div (box) over the elements (tags) the mouse is over.
I cannot modify the tags to include a mousover event. I want a global callback or something like that to have the id of the tag which is under the mouse pointer.
Thanks !
...
Hi all
I like to know if I can copy the shipping address to billing address. When a user clicks same as shipping address checkbox. The shipping address value will be copied to billing input field. I got most of the parts done but I am not sure how to copy select menu (states) value to billing address. I really appreciate any helps.
M...
Hi,
As I am using Ruby on Rails to build an application, which only runs locally, I am lost in the woods (a nuby without a compass). I have a simple MVC application and my view is missing one thing I could really use. I want to select a local file just to retrieve it's filename. I know it's relatively easy to use the form tag helpers fo...
How can list tags that are given a display:block and are floated left, be centered inside an unordered list.
The HTML:
<div id="navigation">
<ul>
<li>Home</li>
<li>About Us</li>
<li>Contact</li>
<li>News</li>
<li>Events</li>
...
Hello,
I am having a big issue with coda-slider and ie7. The horizontal scrollbar is unwanted and I cannot figure out how to remove it. Since coda-slider works as one long scrolling div, I could see why this is happening, however, in all other broswers, including ie8, there is no horizonal scroll.
Looking through the web there are alot...
I have a HTML list with this style:
font-weight: bold;
padding: 0px;
margin: 0px;
list-style-type: none;
display: block;
width:700px;
font-size: 14px;
white-space: pre-wrap;
and the cells have this style:
display: inline;
and I have spacer cells between each cell with this style:
padding-right: 20px;
display: inline;
My problem ...
How to simply show a set of hidden divs on mouseover.
so if
#div1
#div2
#div3
all need to be shown on mouseover, how to I do this?
...
Does anyone know of a good jQuery content switcher? I want to switch a log in and register form.
...
I have an HTML table which has equally divided rows and columns.
I would like each cell to be of a fixed size, say 40px width and 30px height.
When I change the size of the browser window, the cells size changes also. How can I prevent it ? I would expect to see the scroll bars if browser's window become too small. Is that right to set t...
How to html report to any printable file.Is there any solution.
...
Hello. I need to recalculate body's main div height, than wait while all content (images) loads and only than show it to site visitor.
To achieve this i used jQuery and CSS
//CSS looks like
body {display: none;}
/* div block height calculator */
function recalculateHeight(id, add){
var height = $(id).height();
if (height < 650) hei...
Hello, I have two divs:
<div id="modalBox" style="position: absolute;
border: 1px solid #bababa;
width: 400px; height:
180px; background-color: #e3e6ca;
text-align: center;
-moz-border-radius: 6px; -webkit-border-radius: 6px;
display: none;">
<div style="background-color: #98002f;
backg...
I am getting inner HTML of element by next way:
$(this).context.innerHTML
Then I am getting parent inner HTML:
$(this).parent().context.innerHTML
But this code returns same values.
Any ideas what is wrong?
...