html

can we include both a file type and text in a form in sending email using jsp

I'm developing an email program using JSP. In that I need to send data as well as upload file. <form name="email" enctype="multipart/form-data" method="post" action="/servlet/sendmail"> <input type="file" name="namefile" size="40"> <input type="text" size="100" name="sub"> <input type="submit" name="submit" value="send"> </form> ...

Frames + Internet Explorer oddities

I'm running into some very odd beheaviour regarding frames and internet explorer. The situation is like this: I have my web application on www.webapp.com I have a client that wants to have a login box to my www.webapp.com on his website: www.vendor.com The vendor his website is setup by his webdesigner at www.vendor.com. It consists o...

oscommerce integration with html template?

hi everybody, i'm a fresher in oscommerce and i am trying to integrate it with a html template. i have also installed the 'Simple Template System' but now i'm not in position to integrate it. could anybody help me? ...

add 10 text boxes one by one on clicking add more button.

In my form i am having a button to Add More EmailId where i have to give ten textbox one by one can anybody please tell about appropriate javascript.. ...

jQuery and JavaScript in Firefox 3 and IE7+

Hi, I'm learning developing in javascript and jQuery. I'm puzzled on why the firefox and IE are soo different in handling javascript and jquery functions. Firefox seems to be doing exactly what I want it to do, when the IE is all over the place and quite often I can't find a reasonable explanation why certain event didn't fire off or ...

How do I remove an element from the DOM, given its id?

In this specific case, the element is a table row. ...

onfocus stop work after reload content in parent object

I load content to the using AJAX. in content you can find this line of code: <input onfocus='searchItems("sContainer", this)' onblur='searchItemsStop()'/> first time when I load the content onfocus and onblur events works. But when I reload the content onfocus and onblur stop working. in firebug I noticed that for every reload of co...

CSS drop down div

I have a div box and a link on my page. I have written simple javascript that hides the div box at the beginning, then after clicking the link, the box appears again. The problem is, when the div appears, it pushes down contents bellow it. I would like it to just appear "above" them. Like a drop down menu but this is just a single div t...

jQuery LazyLoad Alternative (minus the scrollbar code)

Hey, What I would like is to use the jQuery plugin: LazyLoad But, rather than trigger the event on Window Scroll - I would like to trigger it when the elements come into view. (I have no scroll bars on my site, so scroll bars are not an option). Help me before I have no hair left. EDIT: Ok, so I got it to work - SORT OF - it only se...

mayday: CSS fonts look horrible different in IE compared to Chrome/Firefox after update

Hello Guys, My site used to look the same in IE, Chrome, Firefox. Today, I looked at the online site (http://www.skytop.at/) and the fonts are a complete mess in IE8, but fine in Chrome and Firefox. I desperately need a quick fix, since the client will be very pissed ;-( Please look at the site in IE (e.g. IE8) versus Chrome/Firefox:...

programming an e-book library

what would be the best way to code an e-book library in php? how should the e-books be displayed? should the contents be generated from the database or from sources like txt or pdf? altho i'd prefer the ebooks to be displayed in html format, not pdf. are there any good online tutorials on this? i'd appreciate your thoughts. ...

jQuery .next() elements

Hi there again. This change from mootools drives me crazy. HTML <tr class="teamicon"> <td style="text-align: center;" width="100%" valign="middle"> //Blahblah </td> </tr> <tr class="teamval"> <td valign="middle" width="100%"> //Blahblah </td> </tr> What I want to achieve. When with class "teamicon" is ...

Using .otf fonts on web browsers

Hello ... I'm working on a website that requires font trials online, the fonts i got are all .otf ... is there anyway i can embed the fonts and get them working on all browsers ??? If not, what other alternatives i have ?? Thanks ...

Uploading a file

Possible Duplicate: How to implement file upload progress bar on web? Hello I have seen many webpages where the user is able to upload a file and he is given some sort of progress as visual feedback (horizontal bar, percentage etc). My html form is <form method="post" action="upload.php" enctype="multipart/form-data"> <p>Se...

How to set $_FILE without html browse button ?

I have a form that contains an html file browse button ( <input type=file /> ). User select a file by clicking browse button and submit the form. On form submission new php script (submitToServer.php) is called that use that file to upload it to the server. Now I want to upload that file without using browse button because file name and...

How can I have 4 divs inside a div that are all equal in size and are not joined together?

Thanks ...

Landscape Printing from IE8

I have read http://stackoverflow.com/questions/138422/, but my problem is more specific. And before I concede defeat and consider a different career, I thought I would post here. This is my situation: I am writing a timetabling display and printing program in HTML. The user clicks various options such as room, dates etc. An AJAX call...

how do i say "you need flash installed..." for embedded YouTube clips if the user doesn't have flash or html5

I'm embedding youtube clips on my site with the following code: <object width="259" height="215" style="margin:auto; width:262px; height:217px; position:relative;"> <param name="movie" value="http://www.youtube.com/v/&lt;?php echo $yt_id; ?>&hl=en&fs=1&rel=0&hl=en&fs=1&rel=0&showinfo=0&autoplay=1"></param> <param name="allowFul...

Can an option in SELECT tag carry multiple values?

Hi all, I got a select tag with some options in a HTML form: (the data will be collected and processed using PHP) Testing: <SELECT NAME="Testing"> <OPTION VALUE="1"> One <OPTION VALUE="2"> Two <OPTION VALUE="3"> Three </SELECT> Is it possible for an option to carry multiple values like when a user selects "One", then a f...

form.submit() taking more time when there is large amount data is there to submit

We have a web page which enables the users to compose email and send. The HTML composer we use is FCK Editor. When they compose and say send We validate the email and subject. To avoid the user not to further manipulate the form we hide the whole form and enable another DIV which says "Mail sending...Please wait" We submit the for...