html

My <object> ignores its parent's height

I have a flash object in my page that i want to make as large as possible. The page is pretty much bare, except for one thing: a bar at the top. Html: <head> <script type="text/javascript" src="swfobject.js"></script> <script type="text/javascript"> // setting flashvars, params, attributes //... // adding swf swfobject.embedSWF("myfla...

Implementing a graphical select list using icons via jQuery or other

I am implementing an HTML form. For one of the fields (weather) the user must choose one of a set of options (sunny, cloudy, rainy, etc.) So basically I'm looking for a nice replacement for <select> or <radio> that provides a series of images (that I will provide) for the user to select from. I'll create dulled/greyed versions of each...

Highlighting a piece of string in a TextArea

Hi everybody, I'm trying to highlight a piece of text in a "Textarea". I have a long string in that TextArea: Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo conseq...

How to remove a 1-second appearance of scrollbars from a div

Hi, site is www.onlinefilmbox.com When it loads, you can see that for a second, horizontal and vertical bars appear on the carousel in the center. They appear for a second and then gone. But I wonder - can I remove this short appearance? I tried "overflow: hidden" and "overflow-x: hidden" + "overflow-y: hidden" and both don't change...

Is there a decent html editor that works in-browser?

I am using Wordpress and I want site editors to be able to write html by hand (no wysiwyg). However, everyone knows that editing html in a textarea with no colorization or other code editor features is difficult. Does anyone know of a solution -- maybe a textarea replacement, browser extension, or the like? There are plenty of wysiwyg...

Detecting Effective Invisible HTML elements

Is there a way to detect if a rendered DOM element has the same color as its background, effectively being invisible invisible elements (that is: elements invisible not because of display style property, but based on color only), possibly through a framework/tool that works at least on one browser? Ideally, it would be able to detect ver...

jQuery validation plugin validating html control only

Hi guys, I'm developing a form with client side validation using jQuery validation plugin. This almost works perfect but i'm getting a problem: The form is composed by 5 inputs. One input requires the content of other input(that must be valid) to proceed the validation, i show one example: $('#submitionData').validate( { ...

Pass a variable from ASP.NET to HTML via Iframe?

I don't know if this is even possible, but here goes: I have an ASP.NET page that contains an IFrame that calls an HTML page. Is it possible to pass a variable from the ASP.NET page to the HTML within the IFrame? More specifically, I'd like for the ASP.NET page to fill in one of the fields on the form within the HTML page. ...

CSS parameters?

I always see this: <link ... href="style.css?v=1" What is that ?v=1? How does this work? Can someone explain what this does and why I should it? ...

Hover in IE not working when hovering over full div

I am using jquery addClass code to show/hide elements when rolling over a div. in all browsers it works but in IE it only works when i rollover some text, not the full div. so in this example, if I rollover the showingtext section of the main div, the hiddentext div will show. but if I mouse into the space in between the two floating di...

How to get H1 content the same height in Firefox and in IE8?

I have the following simple page: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt; <html xmlns="http://www.w3.org/1999/xhtml"&gt; <head> <title></title> <style type="text/css"> .img {background:green; width:32px; height:32px;} h1.imgH...

Some confusion with GET/POST requests

a) Based on what information does web application decide whether a particular request is a GET request? Simply by checking whether requested url contains any query string parameters? b) When page http://some_domain/A.aspx is first requested (either by clicking a link element<a..> or by manually entering URL into address bar), I assum...

How can I add html to this page??

I need to add html to this page without echoing it. I only want to display it if there is a session id. <?php session_start(); //home.php if($_SESSION['id']) { echo "Welcome ,".$_SESSION['username'] ; echo "<br /><br /><a href='/login/logout.php'>Logout</a>" ; echo "<br /><br /><a href='edit.php'>Edit Profile</a>" ; echo "<br /><br /><...

accordion fix (jquery)

HTML <h2 class="sec-title">one</h2> <div class="sec-content">content 1</div> <h2 class="sec-title">two</h2> <div class="sec-content">content 2</div> jQuery: $('.sec-content').hide(); $('.sec-title:first').addClass('active').next().show(); $('.sec-title').click(function(){ if( $(this).next().is(':hidden') ) { $('.sec-title').remo...

Strangest problem with IE6 not submitting a form

I need expert advice here... I have run into the strangest problem in my career... I have a form with alot of "SELECT" tags. Each tag contains a large amount of "OPTION" tags. The form wont submit at all, but when I remove parts of the form content (for example, some SELECT tags), then the form will submit properly. However, there is...

Sending html commands over httpclient android

I'm attempting to turn a web interface into an Android one by parsing the web page for relevant data and then allowing the user to send back data to the server. Using simple HttpClient code I have managed to get the web page and then parse the necessary information. I'm unfamiliar with sending data back, so, I'm hoping someone can shed s...

How to move html elements using Javascript?

Is it possible to attach html tag to others using Javascript? <li> to other <li> ? For instance, I'm creating dropdown menu. I have div separate from the <ul> tag <ul> <li>menu1</li> <li>menu2</li> </ul> <div id="submenu1"> <li>sub1</li> <li>sub2</li> </div> When I click, say, a link, then I want sub menu to show up u...

Is it possible to have a popup div that 'breaks out' of an overflow:scroll or overflow:auto container?

I have a scrollable area that contains popup menus. Conceptually, something like this: <div style="overflow:auto; width:100px; height:100px"> ... content here that's big enough to trigger scrollbars... <div> <a href="javascript:$('#popup').show()">Click here</a> <div style="position:relative"> <div id="popup" ...

How can I force explorer to reload Flex page( swf embedded in HTML)?

Hi guys, I developed a flex website, the web explorer always caches swf file which embedded in HTML. Sometimes I make changes to the flex file, clients computer still view the previous version which stored in cache. How can I force client's web explorer to reload/refresh the swf file? Thanks ...

Workaround for too long querystring in IE6, IE7?

I have a form which submits fine in FF, Opera, Safari, Chrome, and also IE8... But it wont submit in IE6, or IE7... I have noticed it is 99% sure that the problem is a too long querystring. I have many many options... Now, changing the method to POST is out of the question here, so don't bother asking about this please... I wonder, is...