Parsing basic textual output from php.
var req = function () { $.ajax({ url: "out.php", cache: false, success: function(html){ $("#stuff").empty().append(html); }, complete: function(){ req(); }...
var req = function () { $.ajax({ url: "out.php", cache: false, success: function(html){ $("#stuff").empty().append(html); }, complete: function(){ req(); }...
What's the simplest correct way of aligning images without gaps horizontally within a div? If possible I would not like to wrap every image in a div and I would not like to use a list. I'm rather looking for the proper CSS to achieve this with minimal markup. The biggest problem are the gaps between the images which I can remove by set...
Hello all. I'm working on a web application for which I'm attempting to implement a full featured windowing system. Right now it's going very well, I'm only running into one minor issue. Sometimes when I go to drag a part of my application (most often the corner div of my window, which is supposed to trigger a resize operation) the web b...
Is it possible to create a text sprite and selectively display parts of the same HTML file and ignore the rest. The part to be displayed is selected by a menu generated generated using CSS with links within the same page. (The length of each section is unknown and expected to vary greatly). Communicating with the server is unfortunatel...
I'm trying to use css borders to visually group my sections, but the border that is drawn for my second section encompasses the first, so it looks horrible. How can I make the borders right. My code: My first div is float left, and its border shows up correctly, encompassing only the area it needs. It has mostly input elements down the...
hi i want to print a table of report on an a4 size paper , but only a part of table is getting printed , few columns are being left out ... can anybody please tell me what might be the problem, i tried to srink to fit but , it becomes too small to read ... ...
Hi, I'm currently making a project where I need to print out a receipt on a receipt printer. At the moment i'm using the CSS mechanism media=screen , media=print to indicate what to print. Problem is of course the header and footer which can't be removed, as it is client browser specific. So i'm wondering if anyone has another suggest...
I've been using the '-wap-input-format' CSS property to force to numeric input using "*N". 307This works on my SonyEricsson C702, but fails on Windows Mobile IE, Windows Mobile with Opera or SonyEricsson P1i. ...
In IE 7 (haven't tested against other versions of IE), when I resize the browswer, the scrollbars in one of the iframes on my page become active (as I want). However the controls which are visible on the page (textboxes, divs with borders) overlap the (horizontal & vertical) scrollbars. It's as if they have a higher z-index that that o...
Who thought that styling a list of links could be so troublesome! First issue I would like to use an arbitrary char as the bullet. I am sure now that this is impossible but maybe you know different? In any case I would like to control the distance between the bullet and the contents of the <li>. I would like to control the height of th...
How can I trigger some action with right click after disabling the browser context menu ? I tried this . . . $(document).ready(function(){ $(document).bind("contextmenu",function(e){ return false; $('.alert').fadeToggle(); }); }); .alert { visibility: hidden; } ...
I have a list of items that I want to be laid out horizontally. It's basically a row of pictures with captions. Something like picture1 picture2 picture3 caption1 caption2 caption3 So I figured that was a unordered list with List elements styled with "display: inline". But the captions have to be block elements otherwise they are...
Hello there, I'm really stuck here... I have a site layout with a central layout (it's about 922px width, centered on the page)... I have a little logo that is to the top left of this, but it sticks about 10 pixels to the left of the central design. If you can imagine, it sort of sticks out to the left of the design... Now, I was told ...
I am working on a very simple layout here: http://www.flanels.com/ - If you click work it draws down, I am using this jQuery: $('#left ul li.item').hover(function() { $(this).addClass('over'); }, function() { $(this).removeClass('over'); }); And this is the class: #left ul li.over{ background-color:#4CC7DC; } If yo...
I'm after a way to make the size of the flash file smaller in height. I can change the width but the height seems to be relative to the size of the window its in? http://www.bevelite.com.au/test I'm using page-flip.com ...
How do you add CSS rules (eg strong { color: red }) by use of Javascript? ...
I have a frames page with a header and a body just below it. The header frame is roughly 20px; about the height of a textbox which is exactly what I want. In this upper frame, I have a textbox with an autocomplete attached to it. What is happening is when I search for something in the textbox, the results from the autocomplete are droppi...
How can I get this layout for a simple form with CSS ------------------------------------------------------------------------------------------ |Date From | dropdown box | Date To | dropdown box| button| ------------------------------------------------------------------------------------------ grid or table -------------------------...
Hello, I have a DIV like the following: <td> <DIV> <script type="text/javascript"> // link to some js </script> </DIV> </td> The .js renders the latest article abstract inside the div. However it renders it in Calibri 10px. I want that any content inside the DIV should be rendered as Verdana 10px. I am usin...
Lets say I have some markup like this: <html> <head> <style type="text/css"> #container { margin: 0 auto; width: 900px; background: green; } </style> </head> <body> <div id="container"> </div> </body> </html> Imagine "container" is filled with hundreds of a's for testing purposes of padding...