html

How can I make my web page load faster?

Assuming an empty browser cache - How can I make a web page load faster by only applying HTML/CSS/JavaScript code changes? Meaning, don't recommend moving servers, using a CDN, etc. Just code changes to make it load faster. ...

jQuery image src change after load

Hi, I'm using jQuery to replace an iframe sort of environment on a page by loading the pages content into a div instead of a url into an iframe...I don't have anything against iframes or anything but it just seems to be cleaner and more versatile (returning fragments of html etc) than having whole pages for that... Anyway, using a simp...

Images show and then disappear in Safari

So this is really weird. If you go to http://floridahome.palmbeachpost.com/ in Safari and do a search for listings, you'll see our image not found come up on results where the images really should come up. If you don't see what I'm talking about the on the first page, click through a couple pages. If you do the same search in Firefox...

How to make a flash file a link (clickable to go to a URL)

I am new to Flash. I am using Adobe Flash CS3 to create simple animations (images moving between keyframes). It produces a SWF file that I put on a website. I want the SWF file to be a link to a URL. How do you do that? Thank you in advanced! ...

How to create a text-only favicon?

Is there a free and easy text-only favicon generator? There are numerous online favicon generators asking for a image+text to create a favicon. I am interested in putting only text into my favicon, probably with a choice of different fonts. Anybody knows of a a good online text-only favicon generator? Also, any desktop solution that doe...

What does "javascript:void(0)" mean?

<a href="javascript:void(0)" id="loginlink">login</a> I've seen such hrefs many times, but I don't know what exactly that means. ...

Using and formating an RSS feed.

Ok, here is my RSS feed link http://jacobnlsn.com/wordpress/?feed=rss. And I am looking to format it so it fits in the upper right hand spot of my header. My website is here http://jacobnlsn.com/. Its the black box in the upper right hand corner. How would I go about doing something like that? Thanks for your time! ...

restrict focus on particular div

I have a popup div which has lot of controls. If i press on tab continiously the focus must not leave from the div to parent form.How to do this? Thanks ...

z-index not working in IE

Hi friends, I have a button, while clicking the button i just produce a div containing some checkbox. If the user select the required checkbox, it will produce a iframe according to the value of the checkbox and the div will disappear. Its placed immediately below the button. Up to this its working fine. If the user again click the butt...

Is there any scripts/sites to find the z-index of Divs

Hi Everyone, Good Day, I used position:absolute for many div's in my website. I have used nearly 35 - 40 divs with absolute property. Now i have a issue with z-index say some divs get hides, I realize this is because of z-index problem. I never declared z-index in my css. I need to track the z-index of each divs. Is there any program...

Stopping the contents of a div section moving

Hi I have a div section, which is full of <a href=""> tags, on a event on the page I shrink the div section BUT if the user tabs into the div section, it moves so that the highlighted <a href></a> has focus, is there any way to lock a div section that it's contents don't move ? So for example the code (psuedo not real) I have the follo...

Naming a page index.html changes it?

I restarted my laptop and it was fine. Thankyou for the replies The problem is, I have two pages and they have exactly the same code, the only difference are the file names, which is index and index2, but for some reason index header div is smaller than the index2 header div, even though there is no difference between them. ...

input type="text" not resizing

on the following page, there is a section at the bottom (next the the "Directions" button) that has an input where you can put an address and use google maps for driving directions. one thing that i cant figure out is no matter what i enter for the size property on the textbox, it always shows up as the same size. as you can see, i h...

Comments being reported and deactivated automatically...

Hi there. We have here a strange issue. We have a comments form where users can submit their comment about news articles and after that submission every comment is accepted and listed in the same page. In every comment listed we have a link that allow to report that comment. When anyone click in that link it does the following: Step ...

How to set CSS for <td> background-color in a sitemap

Hi, I have the same problem as http://stackoverflow.com/questions/1041833/possible-to-fill-a-table-cell-with-a-bg-color. The problem is that i'm using a sitemap and not sure how to set the css for the td tags. (This works fine in firefox and IE8, but not IE7) I'm using the following CSS: .subMenu { z-index: 100; min-width: 11...

Extract all the links between specified html tags from an html file with sed

Hi everybody. Well I must find a way to extract all the links between <div id="links"> and </table> tags. And if there is more than one link, it should add '\n' character between the urls: "$URL1\n$URL2". <div id="links"> <table> <td><a href="URL">url</a></td> <td><a href="URL">url</a></td> </table> <table> .. </table> </div> The ones...

Adding checkboxes to an unordered list using jQuery

What would be the jQuery code to add a checkbox to every <li> element in an unordered list and handle their callbacks obtaining the li text or checkbox properties like name/value? I started with something like this: $(document).ready(function() { $("#SuperTextbox1_Results").children('li').each(function() { $(this).prepend('<in...

How to Implement Ajax to display some content in php?

I want to create a page which displays some contents when left navigation menu is clicked. For Eg. When MY FAVOURITE VIDEOS is clicked then the list of the users favourite videos should be displayed on the right side using AJAX. Help me ...

Change Parent Window onclick Value From Child Window Via JavaScript

Setup: I'm opening a new window via js that is a classic asp page with one form (yes, classic asp, I know). That form posts to a processing page where I Response.Write() some inline js to manipulate form elements on the parent page like so. .Write ("<script language=""javascript"">" & vbcrlf) .Write ("var stopButton = opener.docum...

Allow users inserting with images along the text. How to implement and security-related issues.

Hi there. We have a website that we want to allow users insert images in all inserted text. We where thinking to use fckeditor native functionalities to implement this. Do you recommend? What kind of security related concerns do we have to do? I notice that stack overflow use image servers to display images. Do you think is because s...