html

Using javascript on an HTML table?

Hi, few questions, just wondering if anyone can help? I have a table with 1 long row (1000 pixels) and one single column, how do i go about creating a method whereby when the mouse cursor is on the leftmost side of the cell, a variable, lets say X is set to 0, the further right the mouse cursor moves in the cell, the value of X increase...

HTML designer that works with CSS/Divs and not Table design?

Is there some sort of HTML designer (WYSIWYG) available that allows me to draw the page and results with a page using DIVs / CSS and not TABLE design? ...

How do I get the "Install Missing Plugin" yellow bar to appear in firefox when flash is not installed?

My rails website uses the open_flash_graph plugin to generate flash graphs for my clients. If a customer doesn't have flash installed, it doesn't display any messages, it simply doesn't show any graphs. I've noticed that if I go to other websites that need flash, I get a yellow bar at the top of my firefox window that offers to "Instal...

Magento google products site html help

I am trying to paste a google tag into homepage head tag but i cannot find it on index.php Where does it go?? ...

How to place a div center of the window after scrolling

I am having a div, which should be centre of the window, even after scrolling. How to achieve it http://www.flickr.com/photos/41695354@N08/4496376638/ ...

<button type="submit"> compatibility?

I'd like to have a submit button that submits a different value than is displayed on the button. With <input type="submit"> you can't seem to do this. With <button type="submit"> however, these can be two different values. The question is, will it work in all browsers? Trying this test code here: <form method="get" action=""> <inpu...

Change save to file name but from the client

This question asks about file name the servers sends and the fix was quite simply a content-disposition header in the http response. What I interested in is does anyone know of any way to do this from the client side if the file name is already known? Is there any special javascript to do this for example? A site I have to use but not ...

What is the syntax that creates a hyperlink to the xy position of a div?

What I'm trying to do is to create a link on the same page to a java applet link for which I don't have the parameters. Take a look at any of the chessboards at Chesscalisthenics.com ...

Call JSP file with Javascript

I have an HTML file and I want to use javascript to call a JSP file. It doesn't have to be javascript, I'm just looking for the easiest way to call the JSP file from the HTML file. How can I do this? Thanks. ...

Generating thumbnails using jquery or javascript

All, Can any 1 of you show a small piece of code for generating a thumbnail of any website using javascript or jquery, I had posted earlier but couldnt find any right match for my requirements. <div id="generate_thumbnail" onclick ="generate();"> //Show thumbnail within this div </div> <Script> function generate() { ...

how to exclude a .js file for a particular page

my js files are included through header. i dont want to have some .js files included in certain pages, while that particular page is loading. is it is possible.??? help me please..... ...

Prefilling gmail compose screen with HTML text

Hi guys I found out that in order to open a GMAIL compose screen you'd have to be logged in and open the following link: https://mail.google.com/a/domain/?view=cm&amp;fs=1&amp;tf=1&amp;source=mailto&amp;to=WHOEVER%40COMPANY.COM&amp;su=SUBJECTHERE&amp;cc=WHOEVER%40COMPANY.COM&amp;bcc=WHOEVER%40COMPANY.COM&amp;body=PREPOPULATEDBODY Repla...

Preview using an iframe

How to preview a website using a iframe. i.e, the size of the iframe should be should be as of the suggested videos o youtube. Thanks.. ...

Access Denied in JQuery.1.4 hosted by Google or my own domain!?

Hi, I'm currently working on a website for a client and I'm getting a strange error in Internet Explorers of all ages. The site loads with no problems except for a permission denied error inside my JQuery. Stranger still, the error occurs even hosted on my own domain OR if its hosted by Google. At the moment its hosted by me. The dev ...

ampersand in email address (href)

Hi Im working with email address which has an ampersand in it, the user wants a 'contact us' link to open up a new message wit their address populated, I normally use href, but the ampersand is causing this not to work, any idea's? here's what i have at the moment: <a href="mailto:L&[email protected]? subject=MessageTitle&amp;" st...

Regex for multi-line HTML comments (preg_match_all)

I have an html document with multiple commented-out PHP arrays, e.g.: <!-- Array ( [key] => 0 ) --> Using PHP, I need to somehow parse the HTML for only these comments (there are other comments that will need to be ignored) and extract the contents. I've been trying to use preg_match_all but my regex skills aren't up to much. Could an...

Read HTML file into email

Ive written a script to send html emails and all works well. I have the email stored in a separate HTML file which is then read in usin a while loop and fgets(). However, i want to be able to pass variables into the html. For example, in a html file i may have something like.. <body> Dear Name <br/> Thank you for your recent pur...

Display popup window for a CD.

Got a CD with a bunch of tutorials etc. done in HTML. What I want is to have a browser window open with no toolbars, fixed width/height etc. because the content is designed to fit nicely into such a window. You can do this with window.open and put a bunch of parameters in, but this triggers popup blockers and activex warnings. Also it l...

HTML table cells not properly aligned

I have the following HTML table: <table style="width: 100%;"> <tr> <td class="title_bar_left_border"></td> <td class="title_bar_middle"></td> <td class="title_bar_right_border"></td> </tr> </table> With the following css rules: .title_bar_left_border { BACKGROUND-IMAGE: url(tray_left.gif); WIDTH: 3px; HEIGHT:...

Attach an HREF and a class to an img link generated by the PhotoSlider script?

Hi folks, I'm using the very nice PhotoSlider script from http://opiefoto.com/articles/photoslider to create a slide show of images for one of my clients. This script replaces a previous hand-coded Javascript solution that allowed for the large image to be clicked resulting in a lightbox modal popup showing the full-size version of the...