html

horizontally scrollable table column

Hello, I would need to build a html table that has a horizontally scrolable column. The scroll should be placed in the column's header. My question first question is: do you know any jquery plug-in that is able to do this? My second question: is this possible using a single table. I've heard that in order to do this you need to use mul...

Current object value in jquery

All, in the below code How to edit the current added value.i.e, in the edit function how to get the value in td .Also how can we check for duplicates. <script type="text/javascript"> function edit(obj) { // var ele= obj.parentNode ; alert(obj.innerHTML); var htm = '<textarea name="modal" id="modal" rows="10" ...

Multiple forms with shared fields

How to make multiple forms with shared fields without using javascript? <input type=text name=username /> <form action="/users"> ... some fields ... </form> <form action="/admins"> ... some another fields ... </form> ...

Error while validating HTML "document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag"

Hey! So I'm trying to code something on wordpress for the first time but the validator doesn't seem to like me. Look at the error I got while validating: Line 87, Column 33: document type does not allow element "li" here; missing one of "ul", "ol", "menu", "dir" start-tag I've searched everywhere, I'm not aware of any missing or mispla...

How to build multi language website (English and Arabic)?

I have a website, its content is in English. I want to access my website in two languages (or more) English and Arabic. In this case, how do I build my website with these two languages? Can anyone give an example for this or any reference? ...

Html index page and files in that directory

On my web site, there is an index page, but if I take out that index page, users will see the files in that directory, for instance my site is : XYZ.com and I have a directory called "My_Dir", so when a user typed in "XYZ.com/My_Dir" he will see the index.html if there is one, but if it's not there, he will see a list of all my files ins...

Form tag in view

I am planning to rebuilding the code of one asp.net project to another asp.net project. but i am stuck some where ... i drag and dropped the master page and the views (4 nos) into the master page. Now i need to recode what is there in the view using designer Shown below the code inside the first view. How i could recreate it using th...

Weird bug in header in IE7

Hi all, I have a weird bug in IE7. http://www.luukratief-design.nl/dump/simplefolio/ the navigation has to be centered. same goes for the background. Now every browser does it perfectly. even IE6! (didnt do pngfix yet). The only one who is having problems is IE7 who shifts the whole navbar element to the right. Anyone knows how this i...

Using HTML Canvas for UI elements?

Hi, I have a couple of UI elements such as buttons in my web application. I was going to use CSS3's transitions to animate the transition from one background-image to another. I figured out that it's not possible with the current transitions draft at least. So, I was wondering if it would make sense to use Canvas as the button. I'm sure...

Sending Email from Lotus Notes using Excel and having Attachment & HTML body

Right I'm trying to send an Email form an excel spreadsheet though lotus notes, it has an attachment and the body needs to be in HTML. I've got some code that from all I've read should allow me to do this however it doesn't. Without the HTML body the attachment will send, when I impliment a HTML body the Email still sends but the attach...

Multiple forms with shared fields

How to make multiple forms with shared fields? <input type=text name=username /> <form action="/users"> ... some fields ... </form> <form action="/admins"> ... some another fields ... </form> ...

Firefox and IE - Firefox handling of <span> inside tables (html and css)

Hello, I am having difficulties getting a span tag to work properly inside a table. It appears as if the entire span tag is being ignored that is defined anywhere in between table tags in firefox, but in IE this shows up correctly. Maybe I am missing something, but I have created a small example css and html file that displays different...

How to define a variable with random values in Smarty

I need to assign a variable which will be used to create the id label for some html elements. And it needs to be unique. I tried {assign var=unique_id value=`10|mt_rand:20`} and {math equation='rand(10,100)'} But I don't know how to use the result I don't have any other ideas ...

HTML: <textarea>-Tag: How to correctly escape HTML and JavaScript content displayed in there?

Hello, I have a HTML Tag <textarea>$FOO</textarea> and the $FOO Variable will be filled with arbitrary HTML and JavaScript Content, to be displayed and edited within the textarea. What kind of "escaping" do I neet to apply to $FOO? I first tought of escaping it HTML but this didnt work (as I will then get shown not the original HTML Co...

HTML/CSS - No 100% height on div in IE

Okay, so I've got a problem - and I'd love to have it fixed. I am using my favourite way of setting up a simple header/content/footer layout. The problem is that any elements I add to the 'content' div of my layout can not be expanded to 100% in Internet Explorer (as far as I know, IE only). I understand there is no height declared to t...

How to make HTML div follow its page position while scrolling?

So I have a page like this you look at. On top I have some special informative div (here it contains something like links to | logout | about | faq | search ). I want on page scrolling (down) that div follow page like it stands above it. I want it to work in IE 5,6,7,8,9 and FF 1.5 and above. How to solve such problem? If your answer c...

How to show ToolTips on Values of DropDown Box in Classic ASP?

Hi, Is it possible to show Tool Tip on DropDown Values befor selection one from DropDown, using Classic ASP? Please let me know if there is any solution. Thanks, Suman. ...

MovieClip property - what is the url it goes when I click on it.

I have bought a flash template in an online store. There are different buttons on it and some of them link to existing local html files from the pack - index-1.html, index-2.html etc. There are also some buttons that don't go anywhere right now but they are intended to be linked to some urls too. They react with animation on mouse rollov...

login form using ajax, to submit without refreshing

I am using this tutorial to create a login form http://www.ryancoughlin.com/2008/11/04/use-jquery-to-submit-form/ It authenticates against w/ our ldap server. What I am having a problem with is the line success: function(){ $('form#submit').hide(function(){$('div.success').fadeIn();}); It runs success even though we don't even kno...

Saving page as PDF or as HTML but with all entries

Hello every one :) I wont to create a pdf from a form on my page, but the Problem is, I need it excactly like the page with form, all entires. So I have for example 2 Input Fields, 7 Radio, 2 Checkboxes, and as result i need a PDF with the same sructure, but if someone check the checkbox, it must be saved in pdf. I have tryed to save...