html

I Can't normal open my page ?

I Can't normal open my page show me all but without css when i refreash work fine ? thx ...

Transparent png not showing bg image just bg color in html.

I have a logo that is a transparent png and i want to overlay it on my bg image but when i do it shows only the background color. Here is an example: I am using a modified copy of the WP theme Colourise The Css is here: http://files01.s0urc3.ismywebsite.com/colourise/style.css And the page here: http://s0urc3.ismywebsite.com/index.p...

html css: how to draw dotted box around <div>?

I saw in SO there is a lot of DIV which is surrounded by dotted lines, how to do it in CSS & HTML? Thanks. Bin ...

How best to implement Drag & Drop in MSIE? And what's the oldest MSIE which supports it?

I'm looking to implement drag & drop in MSIE (must be, a bonus for other browsers, but just "nice to have"). I'm looking at a sort of drawing package - let's say flowcharts for example. The user can drag flowchart elements from a palette and position them in the browser. When complete, I will need to know the type and position of each e...

How to get the rendered DIV's width and height?

I have a <div>, which is dynamically controlled by the JS, for example, some children are added dynamically. Is it possible to know the width & height of the rendered DIV after the insertion/deletion are done? ...

Adding a text footer to the bottom of every printed page when a web page is printed

Is there a technique for adding a text footer the bottom of each page when it is printed? For example "Copyright My Company 2010" - I know there is probably a way to do this with a background image using CSS, but I would really like to use text for this portion so the client can edit it. Any ideas? ...

.browser MenuFix won't works on 2010

I used <browsers> <browser refID="Safari1Plus"> <controlAdapters> <adapter controlType="System.Web.UI.WebControls.Menu" adapterType="" /> </controlAdapters> </browser> </browsers> This menufix for my menu to make it html table in browsers like safari. But with 2010 it makes no sense and even i...

How to change Images by using jquery by using .load()

Hello All, I have a list of images. When the page load each time I want to show the next image in the series, and when it reloads again I want to change next image, etc. Please suggest me a solution using jQuery. Thanks ...

image display on jsp page

i am using<img src="../img/image.gif" /> to display the image on jsp but it show a smalll icon. img folder are parallel to jsps folder Directory structure: WebContent jsps .jsp files foo img images.gif WEB-INF ...

How to format contenteditable div as you type?

I'm trying to write a function that allows a contenteditable div to do some auto formatting while the user is typing in the div. So far I only manage to make it work in IE. Anyone can help me? function formatOnKeyUp(){ if (window.getSelection) { // ??????? } else if (document.selection) { cursorPos=document.selec...

Using PHP Sessions

Hi All, So, I've been playin' around with sessions in PHP today, and after procrastinating over whether I should use sessions or not since I started PHP about 6 months ago (it looked scary), I've found it to be quite simple. But I am using time() as a session id, I'll explain why... I found a page on session reference in php.net websit...

Issues in hook_form_submit() in IE browser

i have a custom module with a form I have implemented form hooks like this hook_form() hook_form_submit($form, &$form_state) When i have a print statement in _submit it doesnt show on the screen , but which works fine in mozilla firefox . In IE _submit is only not getting called , am using drupal_render to render each form elements in...

Help with AJAX and HTML

Hi, I have HTML code similar to <div class="menu"> <div>Latest</div> <div>Oldest</div> </div> I loop through all items in JavaScript and bind a click event listener on them. Now in the event callback, I'd like to know what data to fetch via AJAX. How do I figure that out from one item? I know that I should put something in t...

how to set height of ListBox to auto.

I have Html listBox: <select id="targetField" multiple="multiple" name="D1" style="width:200px;"> <option>INDIA</option> <option>USA</option> <option>UK</option> <option>AUSTRALIA</option> <option>RUSSIA</option> <option>FRANCE</option> <o...

$.post returning (empty string)

Hi guys, I am trying to populate a table using jQuery $.post, but I keep getting (an empty string) when I log the data using firebugs console.log(), here is the code, jQuery: $.each(data, function(i, json){ //get the system names $.post('get_system_name.php', {product_id:json.product_id}, function(data...

To start Android Applications from website

Hi I am a c# programmer that loves android phones knowing that I am never going to learn Java. What I want to to is an ordinary website that starts the relevant applications from my android phone (Legend) with parameters like: This works: Mail - this opens the email klient with correct [email protected] href="tel:+4512345678" opens the p...

Making an image fit an IE window

I need to make an image change its size according to the window size, that is, if the window is re-sized the image needs to be re-sized to fit the window. This problem is easy enough with Chrome and Firefox, I just set 'width=100%', but IE isn't as kind... This problem was raised several times, but I couldn't find a coherent answer, it ...

If statement in Xcode to determine which HTML page is being loaded by a UIWebView

Hi guys, I have a UIWebView on my interface and I have added a UIToolbar with a next button and previous button. When I press the next button, I want the WebView to load a different HTML page. BUT I also want to run an if statement to determine which HTML page the WebView currently has in it. So For example. If the UIWebView has index...

Hover Div System

Say I have a div with a link in it. When I hover over it I want another div to fade in above it with some content and then fade away on mouse over. Example found here: http://bit.ly/c59sT4 ...

JAAS redirection after login.

I would like to have main login page and depending which user has logged-in, to redirect to specific page. At the moment when I perform such action error appears: Invalid direct reference to form login page. Is there a way to redirect straight after login? ...