Guys! My problem is optimizaiton of this code for IE 8 (with IE 8 first button is ok, but second doesn't work), Google Chrome (second button is ok, but first doesn't work). I've stack with it, help please. :)
FIRST BUTTON
<div id="spoiler">
<div>
<p style="text-align: center;"><input style="margin: 10px; padding: 0px; width: 150px; fon...
I want to be able to deliver music/mp3 using a flash player but I'd like to make it so that the mp3 files cannot be sniffed... i.e. you can't use safari, firebug..etc. to find out the mp3 location using the activity window. I don't have a streaming server. Any idea?
If I go with a streaming server, any suggestions on how to go about it...
Hi,
I have a tag with many child nodes. I want to keep the width of this drop-down list to a minimum size. However, there are times when the innerHTML of at least one option is very long, forcing the drop-down list box to expand its width.
What I'm planning to do is to truncate the long text and use ellipses to denote that some chara...
hey guys this is my code that i used to show 3 images in row
everything is fine in FF but not with IE
and my code :
echo "<div class=\"container mod\"><ul id=\"three-col\" class=\"press\">";
while($cat = $db->sql_fetchrow($catinfo)) {
$counter++;
echo '
<li>
<div class="post-content">
<a class="zoom1">
<img src...
A table
<table>
<tr>
<td>
<button>10000000000</button>
</td>
<td>
<button>10000000000</button>
</td>
</tr>
</table>
and a div
<div>
<span ><button>10000000000</button></span>
<span ><button>10000000000</button></span>
</div>
These 2 do the same thing; shows 2 buttons next each other, my Question is how can I keep these 2 but...
how can I make users check on textclick? My script is:
<?php
foreach($getcountry_name as $key => $value)
{ ?>
<tr>
<td width="25" valign="top">
<input name="country_name[]"
type="checkbo...
I want to use an external HTML file that I can import into my Flex App at run time.
I've heard of too many issues with the iFrame option, so I want to avoid that, if possible.
Does anyone have any other good suggestions for dealing with this issue?
...
there is a div,
<div id='show' style='display:none;'></div>
I edit some contents to through javascript like,
document.getElementById('show').innerHTML = el.innerHTML;
document.getElementById('show').title = el.innerHTML;
Also this div is shown at a mouse over.
How ever the user scrolls the page the div should appear in the the vi...
I have no margins applied to this particular div, no floats and more annoyingly it works on a different page. Below is the code for the css rule:
#prizedraw-fliemore{
position: relative;
top: 164px;
left: -720px;
z-index: 3000;
}
The div shows up when i use position:absolute but that is useless to me. I have tried disp...
On mouseover can this div be attached to the mouse pointer so that its contents are shown on mouseover?
<div id='show' style='display:none;'></div>
If so how is this done?
...
I have the following JavaScript function to display/hide a table row based on a listbox selection.
function clock_Type(id) {
var clockSource = document.getElementById("clockSource");
var clockType = document.getElementById("clockType");
if(id == "1") {
if(navigator.appName == "Microsoft Internet Explorer") {
...
The select fields have both the same size attribute, but the options having a class with a specific padding (all the same class). But an empty select field has now a different length if it has no option elements.
+-------------+ +-------------+
| foo | +---+ | |
| bar | | > | | |
| baz...
Disclosure: I know nothing about web programming
Background to problem:
I have an environmental testing chamber testing embedded computers at various temperatures. It is controlled by a windows application. I can control the chamber via ruby and the Win32API interface of the control application. The chamber is far from my office and I w...
Hi, I remember there's a javascript project that you can include on a page that applies CSS classes depending on the browsers HTML conformance. Much more fine grained than the usual "if IE" thing. The only problem is, I can't remember the name of it... can anyone help, please?
...
Is there easier way to make something to appear slowly on webpage? I tried to incrementally increase opacity of the CSS, but it (opacity) tag is different for each browser. Is there well know Javascript function that everyone uses? Or is there any css tag?
[edit] Thanks for Jquery suggestion. Is there other option? My page is very small...
I am currently working on a website, where my client asked me to place a Banner which expands on Mouse Over. Similar to this website ( http://www.londontown.com/majorcampaigns/ ).
When we hover on LondonTown.com Banner it just expands and show rest of the Ad.
I tried my level best but i couldn't figure it out, Please help me.
...
Suppose you have a webpage that is displaying data in columns. I'm currently separating them using   - just to put a nice little white gap in between them. But if you do it this way and paste it into Excel or OOSpreadsheet it will put them all in one column.
Is there a way to format the HTML in such a way that will allow a space to...
I'm currently making a web-based chat system but I've run into a problem. I have set up a function in javascript to check if the user presses enter in the textarea and send the message if this has happened. The problem is every time that function is used the textarea is left with a single carriage return in it as if the value of the text...
Hi,
Having a slight problem with
http://jquery.com/demo/thickbox/
In IE8, the overlay window doesn't scroll when you scroll down in the browser. So if you click something at the bottom of the browser window, the overlay window pops up but at the top of the screen so you have to scroll back up. This only happens in IE8, all other brow...
If you're using a component-based (aka Pull-based) web framework (e.g. Tapestry, Wicket, Struts et al), how do you determine that your markup passes W3C validation? Two approaches come to mind:
Crawl the running app
Pro:
All the markup required for validation exists on the page.
Cons:
Can be very complicated to hit every page and...