html

Replacing a submit button with a image button using jquery

Hi guys, how could I go about replacing a form submit button with a image submit button using jquery? The reason I need to use jquery is because I am using a plugin to generate the contact form and jquery seems like the most effective way of replacing it without going into the plugin's code. Thanx in advance! ...

how to make a select bigger on the clientside

Hallo, I'm working on a website which is pretty simple and old. We just use standard ASP there is no JavaScript framework or something and I can't really program JavaScript. I have a cell in a table and in there I want to have between 1 and 7 select's. If there are seven I don't have enough space and because our company uses Internet E...

How zend framework avoid html <id> duplication?

Hi, How zend framework avoid html duplication? Example of html id duplication: <div id="edit-form">first div</div> <div id="edit-form">second div</div> Case1: page that user can add same forms/subform/etc.. by himself controller action example: function indexMyAction(){ $form1=new MyForm(); $form2=new MyForm(); $form3=new MyFo...

Obscure JavaScript code in index.php/index.html files

Hi, maybe someone here can help or explain what happened. Just noticed today that on one of my client sites all index.php / index.html got replaced and some obscure javascript code was added. The code is below: <script type="text/javascript"> var nhZE2uSD="Ow8xN18Ow8xN31"; var usW1446O0="Ow8xN3cOw8xN73Ow8xN63Ow8xN72"; var usW1446O1="Ow...

Programmatically manipulate webpage from C# or Java

I would like to be able to interact with html webpages from C# or Java. Basically I would like to load the page and display it (just as it would be displayed in a browser) and be able to highlight and select text by index, tag, word etc (which would be passed back into my program) and manipulate. I am not interested in manipulating HTM...

A problem with div positioning

Hello! A have something like that: It's OK but i want to add some Title block at the top of Content. So it can be look like that: I don't know what Title height will be, because there will be some dynamic content. How to solve this problem? ...

div align=center

How i can do a alignement of table div inside div to align=center ...

mailto link not working in chrome extension popup

This issue drove me nuts for 2 days. I made a simple chrome extension which calls a server-side program that returns HTML that I then stuff into a div in the popup. It was all fine, except for the simple anchor link containing a "mailto:[email protected]" href. An email message composition window would not pop up. Workaround: Add target="...

CSS problem with Chrome

I am having a problem with margins / line-height in one of our websites. You can take a look here: http://c5.abatec.es/sobre-esferalia I am using a Jquery script to create a Drop Cap effect in the first letter of each sections, that adds a class to them. There are two types of dropcaps, as you can see. Google Chrome is not rendering th...

How to display a blinking / flashing link in html

I am in need a link that will flash every 500 milleseconds, for a duration of 5 seconds... I remember long ago having a link like this, but deleted it because one could only click it when it was visible. Is there a workaround for that? ...

applying unicode-bidi style to <input> doesn't work in IE8

It seems that applying the unicode-bidi with the direction property in an input tag doesn't work in IE8. Here is a sample: (the unicode-bidi works fine for a div element but doesn't work for the value set in the input tag - note that it is working in firefox). <html> <body> <div style="direction:ltr;unicode-bidi:bidi-overr...

Unicode character as bullet for list-item in CSS

Hi, I need to use, for example, star-symbol(★) as a bullet. I have read the CSS3 module: Lists, that describes, how to use custom text as bullet, but it's not working for me. I think, the browsers simple does't support ::marker pseudo-element How to do it, without using images ? ...

HTML: Browser opens 2 tabs when someone clicks a link on my web site?

I have the following HTML code: <div onclick="window.open('http://example.com')" > <p>1234 Main St, New York, NY</p> <p>Price: $200,000/p> <p>4 Beds / 3 Baths</p> <p>2000 sqft</p> <a href="http://example.com"&gt;More Info</a> </div> If the person hovers over the part of the DIV that is not the hyperlink, it only opens one window. If ...

$_POST not being read

i have a form which inserts book information into the database. however it is not reading the $_POST attribute. book.php: <form action="books_manage.php" id="addbook_form" method="post"> <div id="ab_wrapper"> <div id="ab_leftcolumn"> <div id="bookinfo"> <fieldset> ...

Sticky Footer doesn't work well on Safari and Chrome

What can be happening in this case ? It's a very nice .NET website, but when I check the website in Safari or chrome, sometimes the footer doesnt work well, and I have to scroll the page (move the scroll bar) so it fits in it's rigth place. It's a very weird thing. This is the sticky footer plugin I'm using , the best I've used so far,...

HTML Javascript, checkbox toggles label and dropdown list visibility

I'm halfway to getting this correct, but i am currently stuck. Firstly i would like the label and dropdown to be hidden be default. This i have achieved using css: unis { visibility:hidden; } The bit i am slightly stuck on is how to group the items, i have used: <div class='row'> <div id = "unis"> ...

The imagemap today

Remember imagemaps from Web 0.9b? I'm curious about the state of this tag now in 2010. Given some of the surprising and successful resurgences of white elephant technologies (Google Maps' use of Javascript, which was novel when it first appeared, and MySpace ushering in an animated GIF renaissance), is anyone using imagemaps today in n...

How do I add HTML to a ListItem in ASP/VB.net?

If I use this code on my aspx page: <asp:BulletedList ID="listClientContacts" runat="server"> <asp:ListItem><b>My Name</b></asp:ListItem> </asp:BulletedList> The text renders as literal <b>My Name</b> instead of making the text bold. The same thing happens if I try to add a list item from the VB side of things: Dim li As ListIt...

Dynamic Gauge Gadget for Windows 7

I am developing a dynamic gauge gadget for windows 7. I have an ASP.NET gauge user control. I am currently forwarding the gadgets default.html page to an ASP.NET page using the <meta> tag. Using this tag prevents the ASP.NET page from opening in a new window. I have tried using javascript's "location" to perform the redirect, however it ...

HTML Javascript toggle visibility of 'select' ie dropdown?

I've created a dropdown and label and surrounded them within a div, however, when i get the div in the following function, it doesnt hide/unhide the label and dropdown?? function ToggleDiv(DivID) { if (document.getElementById(DivID).style.display == "none") { document.getElementById(DivID).style.display = "block"; } ...