html

How Do You Set Value of Input Element Programmatically Through CSharp?

Hello I am trying to automate my IE to log into a website but the problem is that the input elements do not have an HTML ID attribute! For example: <input type="text" name="user" size="15" value=""> How do you program C# to insert text in this text box? Thanks ...

How can I output a large HTML table in a Perl CGI program without freezing the browser?

I have this Perl CGI program and I allow the user to select the number of data to view on this HTML table. I go through a foreach ... foreach ... and print each row. There is an issue with the Perl CGI script when it prints over 3,000 rows of data and my Firefox window becomes unresponsive. I am also linking dataTable jquery. What app...

Table to divs problem

How to translate code below to use three div and look the same ? <table width="1050px"> <tr> <td rowspan="2" width="80%"></td> <td width="20%"><p>some text</p></td> </tr> <tr> <td><p>some text</p></td> </tr> <table> ...

How to submit a form on a child HTML window, then call a Javascript function on the parent window, then close the child window

All, This should be a pretty simple question, but I haven't found quite the answer I'm looking for yet. I have a parent HTML window. When a user clicks a button on that window, it opens a child window (e.g., "childA.asp") That child window includes a form. Here's what I'd like to happen when the user submits that form: The data in t...

Float a DIV centered over another DIV

I'm trying to float a div over another one but in the center (width). EDIT: I want the container div to be over the top div and centered. Current CSS: body { background-color: #FFF; margin: auto; } #top { background-color: #F2F2F2; border-bottom: 1px solid #CCC; height: 150px; position: relative; } #containe...

Putting a drop down menu on iWeb created site using exterrnal HTML code

Hello! I am a college student trying to create a website for my professor. Since I have no background in computer science, I opted for iWeb, and I have run into some problems. While iWeb is sufficient for most of our purposes, we would like to integrate a drop down navigation bar that requires an external code. I found a program (Sot...

How can I call a Perl script inside HTML page?

I have a single HTML file, how I use a Perl script(date/hour) in the HTML code? My goal: show a date/hour in HTML Obs.: alone both script are ok. Example: HTML File: <html> <body> code or foo.pl script </body> </html> Perl script(foo.pl): #!/usr/local/bin/perl use CGI qw/:push -nph/; $| = 1; print multipart_init(-boundary=>'----here...

Recommendations for translating an app in arabic

For an upcoming project, one of the requirements is to translate the web application in a few languages, one of which is in Arabic. I know plenty about dealing with multiple languages, and know plenty about unicode. What I'm wondering is if there's some basic tips and recommendations I can follow anticipating an Arabic translation for m...

Get the link for an image that is two folders above the present folder.

Hello I am using an MVC architecture for my web application. Now the problem is I have my views in one place and have my images folder in another place. Now I am unable to get my images printed in the right places since, I cannot get my paths right. Even though I give the absolute paths, the images are not getting printed. images locati...

element inside of html

This my page here, the header and left nav collapse. the problem when the header is collapsed the left one wont work at all. If the left is collapsed. The header always will. Any suggestions. <!DOCTYPE HTML> <html> <head> <title>Myrexis CTMS &raquo; Login</title> <script type="text/javascript" src...

How to get the HTML text to just stay in one place

I am making a site in HTML, and I am putting a heading on top of an object. When I shrink the window enough, the object and the text interfere Is there any way I can have the text just stay in one spot without it wrapping to the browser window if there is no space left in the browser? I have tried using fixed as a position property in ...

C# Simple Text to HTML Conversion

I have a very simple asp:textbox with the multiline attribute enabled. I then accept just text, with no markup, from the textbox. Is there a common method by which line breaks and returns can be converted to <p> and <br/> tags? I'm not looking for anything earth shattering, but at the same time I don't just want to do something like...

Is it possible to call a webservice via a link?

Hi, I have a webservice I need to call via a link. The webservice returns a pdf document and takes a document Id as a input parameter. Under normal circumstances I could have the link call some code in the code behind which in turn calls the webservice. However the difficult part about it is I can't add code to the code behind. The rea...

Fancybox is not a function

Hello I am using the jQuery plugin fancybox to display bing maps when somebody enters an address into a textbox and hits the submit button beside it. And a fancybox is loaded and a map for that address is displayed. This is working well with my application, but the problem is, it is only working well on one page and on the other one, whe...

jQuery: generating html

Is there a better way to do the following? var html; var i; for (i=0; i < 4; i++) { html += '<div class="row">'; html += '<span class="label">Dining Style:</span>'; html += '<span class="control">'; var j; for (j=0; j < 3; j++){ html += '<div class="attribBox">'; html += '<ul>'; h...

Techniques for Modular CSS

I want to start using modular CSS, but I'm having trouble figuring out the best way to implement it. I was thinking I could just use a bridging technique, where I have one in my HTML and then @import statements for each module. While I like the simplicity of that method, I'm concerned about the negative effects it has on performance, si...

Javascript function to reload a page every X seconds?

Hi guys, a couple of questions- ive never really used JS listeners other than onclick and on key events, so i wondered if someone could help me with what i need to reload the page every X seconds? Secondly, the page contains bare minimum, literally just one input box. Do i still need to include the html head and body? ...

How to create custom URI handler to retreive image resources in DLL file?

Hi! I have several image filés embedded as resources in a DLL file! I want to create my own custom protocol handler to be able to write HTML code to access these resources. For example, on a computer where this DLL is located i want to be able to (in IE) run HTML code like this: < IMG SRC="customuri://res/image01.jpg"/ > This should ...

Conditional HTML to target ie8 quirks mode

I have a page that's not displaying correctly in ie8 quirks mode. If I want to create some CSS to target just that mode, but not ie8 normally, what would be the conditional HTML? For example, if I wanted to just hit ie8: <!--[if IE 8]>    awesome hacky stuff goes here <![endif]--> So what is the IE 8 part for ie8 quirks? ...

jquery like lib in java

I am looking for a simple lightweight java library that parses HTML. I have looked a lot and there are many options out there. But I cannot find something simple. I really would like to have something like pyquery in python except in java. My requirements are: fast, easy to use and lightweight. What do I need it for? Not sure if this m...