html

Flex - How do I get the absolute X and Y coordinate including HTML offset?

Hey everyone, I am calling a JS function through the ExternalInterface using Flex which requires the absolute X and Y coordinates to create a pop-up menu. The Flex application is displayed on the center of an HTML page, therefore there is an HTML X and Y offset to consider. I have tried using the LocalToGlobal and ContentToGlobal funct...

Transparent image under embed video in firefox

I can't put semi transparent image on embed video: <object width="100" height="100" codebase="http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701" classid="clsid:6bf52a52-394a-11d3-b153-00c04f79faa6"> <param value="transparent" name="wmode"> <embed width="100" height="100" wmode="transparent" type="a...

Recommended library for scraping html data.

I need to process quite a bit of [fairly] arbitrary html data. The data thankfully can be broken into about twelve different templates. My current plan is to build a filter for each of the templates that allows me to extract the required data sans irrelevant content. Problem is I'm not sure what the ideal tool for the job is. I was h...

Copy contents of one textbox to another

All, If suppose an entry is made First textbox can we retain the same entered text in second text box.IF so how is this done. <html> <label>First</label><input type="text" name="n1" id="n1"> <label>Second</label><input type="text" name="n1" id="n1"/> </html> Thanks. ...

Where can i find a free xform editor?

I am new to xform, and i have a project and i have no idea on where to write my code. So any help? (I am working on windows XP SP2). ...

Disabled textbox/textarea still active

I have a multi-line textBox disabled through vb.net : myTxtA.enabled= false The html it outputs : <textarea name="myTxtA" rows="10" id="myTxtA" disabled="disabled" style="width:99%;"> ... </textarea> That's the source code I get through the browser but the textArea is still editable in the browser. There is no javascript modifying ...

How to keep header footer size and resize only the main body part?

----------------------------- Header (100%) ----------------------------- Center margin auto | | Desc | |unknown | | | size | 200px | | | | | Image fit | | | | | | A | | | | | | | | ----------------------------- Footer 100% hei...

How to show dropdown expanded automatically so that it displays all the options when page loaded

I have the need to show the DropDown (HTML select element) expanded initially when it is loaded so that all the options in the DropDown are shown. I searched quite a bit, but suprisingly, I did not find an answer to such a simple problem. I am using ASP.NET MVC with jquery. ...

Show data from a hash-table into a select box

Hello, A have a hash-table with countries in it like this: @countries = {'United States' => 'US', 'France' => 'FR'} and I use the following code to display it in a select box: <%= select_tag 'countries', options_for_select(@countries.to_a) %> Now when it saves data in my table I got in my row US, UK...and so on, now ...

How to set the <td> width of h:selectOneRadio

http://www.jsftoolbox.com/documentation/help/12-TagReference/html/h_selectOneRadio.html How to set the width of h:selectOneRadio using the styleClass attribute, I would like to enforce a similar width for all elements within the above radio button group. ...

CSS Header and Footer are breaking on Zoom-in

Hi, I have just finished redesigning this site (www.imustsolutions.co.za) and I have a problem with the header and the footer when the user zooms in (Cntrl + in FF). Here is the problem: The background color of the footer/header does not paint to fill the rest of the screen (horizontally) when the user zooms in. What am I doing wrong?...

Impose an empty frame as a replacement for an image

How can I force an empty frame of specified size in html if an image is not found ? for example, suppose I have an image i know to be 100x100, but the image is not found at the specified url. yet, I would still like to have an empty frame 100x100. I tried setting <img src="whatever" width="100" height="100" />, as well as via css, but ...

My Account link in most e-commerce sites . reason to have one before log in ?

I am developing a new e-commerce website in java. My index page has links such as Login etc. I had gone through other e-commerce sites such as ebay where they have option of My Account. My question is before signing in to the account ,why do they need this link My Account. what is the significance of this. can any web designer let me kno...

Prepending html makes Google Chrome jumpy

Hello, Currently I have a site where a bar (with various links) is prepended to the body (actually appended to the source, but it is rendered on top of the page, so prepended to the result) using javascript. This Javascript is dynamically loaded trough an init script (which loads jquery, etc). Once jquery has been loaded the script is r...

the best way to make a gallery page

hi, Just wondering if someone could tell me the best way to make a gallery page, cos at the moment I'm using images inside the html and as the page and images are getting more the page takes for ever to load, so I'd really appreciate it if you could tell the practice regarding different galleries on one page. thanks ...

Is it possible to print a html page with something stuck to the bottom of the page?

Subject explains... ...

IE7 Bug: CSS background hidden, shows on hover

I'm having a weird problem in IE7, the CSS background image (bullet) on some <li>'s are hidden and visible on others. When I hover over them though, they become visible. I tried adding position:relative on li but it didn't help. How do fix this? Screenshot: Thanks! ...

jQuery show/hide different sets of form elements on same hyperlink

I have a form which can have up to 6 children added to it. Therefore there will be 6 sets of the following HTML: <table class="portletTable child" cellpadding="0" cellspacing="0" border="0" summary="Please enter some more details regarding your dependants"> <tr> <th> <label fo...

How to make js code invisible?

I have a php page, where at the bottom of the page I have some javascript code. I use php inside the javascript code, like this: alert ("<?php echo $variable; ?>"); If I put this in a separate file, this wont work for some reason. Is there anyway to make it work from a separate file without too much difficulty? Or is there another w...

JSON as HTML data in Flex - Hyperlink Rollovers

I am using JSON to parse HTML data with customized html tags in Flex. Flex's support for HTML is pretty minimal, so I am wondering if it's possible to do a simple font color change rollover effect on these links. Currently I have found that Flex only supports a few HTML tags, but also supports CSS through Flex's whack CSS methods. C...