html

Showing gif using jquery in IE

Right now I'm getting this strange behavior from IE where it's not showing my animated gif. I'm trying to show a loading gif during an AJAX request. function changeToRecorded(){ $('#entries').fadeOut(200,function(){ $('#main').html('<img id="loadingGif" class="centered" src="./pictures/ajax-loader.gif"; />'); $.get("getData.p...

top align in html table?

how can i get the images and the content to the right to top align? i tried valign="top" as you can see. <table border="0" cellspacing="0" cellpadding="0"> <tbody> <tr valign="top"> <td valign="top"><img alt="" style="border: 0px solid;" src="/Portals/0/affiliates/NFL.png" /></td> <td valign="top">&nb...

website screen resolution auto resize

I have a website, its uses the 960 grid system, everything is fine. Except the header, the header is too tall! Is it possible to reduce the entire website size when the user's screen is less than or equal to 1024x768 ? (same way you can press CTRL+ and CTRL- in IE?) ...

Facebook Like Button for Blogger doesn't work properly

I added a "like" button on my blogger page and when I press it, it appears on my facebook page, but just as text "so and so likes so and so" but without the link back. Why is that and does anyone know how to fix it? Thank you! ...

IE7 Hover Problem (or Bug)

Hi, I am currently developing a website and I am very bad at cross browsing issues. Now, I encountered a bug which I am not able to fix. I have created a new HTML file for testing purposes, it does not have images but the bug is still there. If you open this website with IE7 http://94.75.253.96/test.htm You will see a text "Popüler D...

Rounded Corners using 3 images

Can I club together three images to form a one with CSS? Basically, I need to create rounded corner button and I've three images left, middle and right. I've used in all the pages and it won't be possible for me to replace it with two or three other HTML controls. So is there any way by which I can combine these images to form one and...

stylesheet "profiler"

Does anyone know of software or a webservice that can read your stylesheet and html/php, and profile your CSS? By that I mean indicating which clauses or rules are never used, and so on. After doing several serious redesigns on a fairly complex website, I'm sure there are some old skeletons hiding away, making my code clunkier and less ...

Adding “required” text to an HTML form via CSS

I have a <form> that looks like this: <form> <input type="text" name="name" id="name" /><span class="required"></span> </form> What I want to do is show some text, such as * or Required in the <span> element, instead of "hard coding" the text for every such place I need the text so the form looks something like this: [input box] Re...

Hyperlink on the baseline of a DIV

Hello, I have the following markup: <div class="ui-accordion ui-widget" style="margin: 10px 0px 12px 0px;"> <h3 class="ui-helper-reset ui-corner-top ui-accordion-header ui-state-default" style="height: 24px; font-weight: bold; padding: 5px 0px 0px 12px">Title</h3> <div class="ui-accordion-content-active ui-widget-conte...

jQuery li hover complete code

<ul id='ulid'> <li>Task1</li> <li>Task2</li> <li>Task3</li> <li>Task4</li> <li>Task5</li> <li>Task6</li> <li>Task7</li> </ul> <div id="show_details"></div> I would like what's the JavaScript that I can use to copy the details of the li into the div on mouseover hide it on mouseout. ...

disable all page elements with modal feature using jquery

I wish to disable all page elements upon an action. Like the modal feature that is in the JQuery UI. Like on an ajax action.. I wish to show a notification and at the same time to enable the modal feature. And after the request, need to re-enable the page elements back. Is there any option available in core jquery for that or any plugi...

Display different images on different locations of one major image with mouseover

I have one major image that I have mapped so as to have many different hotspots that link to other images. What I want to do is to have thumbnails of those images popup when the user goes over the hotspots with the mouse. How can I do that? Help is greately appreciated. Keep in mind I am new to HTML and barely know javascript...is there ...

Good methods for/alternatives to HTML-formatted emails?

I have a client who is requesting an HTML-formatted email to promote an event. Her reasoning is fair enough: She wants a striking layout, attractive graphics, and she doesn't want her recipients to have to click on anything in order to see all of the information. I've never sent an HTML-formatted email because it is sort of demonized, a...

Caching problem with asynchronous javascript loading with onload event

Hi guys, I am currently trying to load some js files asynchronously, so that they are not able to block the rest of the website. I mainly followed the descriptions found here: Asynchronous Javascript In terms of the non blocking loading of the javascript file this works great, but i got now the problem that the javascript file is cac...

how to style differently two pieces of text in a same input type=text

I would like to know how to style differently two portions of the text in a same input type=text, much the same as Google does. When you enter a couple of characters in the Google search box, they are rendered in normal black font, but they are followed by a suggested completion rendered in gray font. So, we have two portions with differ...

how to switch/choose between html forms

Hello, I have a little problem, and an need your profesisonal... So i have two forms in two div. DIV ID=A and DIV ID=B When a user visit my site, a would like to offer the visitor to choose between the forms. he user see a drop down box, or two radio button, and if select option A then form A load, if B...then B.. But i don't know ho...

Table Border Setting

how to set table border or table's outside border with some color and size but the cells of the table have border size=0 ---------------------- | ------- ------ | | | 1 | | 2 | | | ------- ------ | | 3 | ---------------------- container 1 & 2 : which are the cells...

How do I hide broken images in javascript?

I have my image inside an if statement: if (item.image) historyHtml += '<a href=' + item.image + ' class="image" target="_blank"><img src="' + item.image +'" width="111px"/></a>'; Thank you! :) ...

Show the title of <a> link in a div not in a tool tip

How i can show the title of this <a href="www.google.com" title="google" onclick="search.php" target="_blank">google</a> on mouse on, I want show it in a div and not in the basic tooltip how? I think its easy to show but i dont know how to hide the original browser tooltip Is there a way to do this in JavaScript, or in jQuer...

HTML anchors & links on fixed element

Heya, I have some target elements (<div name="target">) in my document and links to them are inside a fixed positioned element. (<a href="#target">). Somehow the anchors and links don't work by default. Clicking the link inside the fixed positioned element doesn't do anything (the page doesn't scroll to where it should). Target elemen...